<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - fstab-generator fails to create mount unit"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73710">73710</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>fstab-generator fails to create mount unit
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mario.natiello@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I have two fstab entries with the same mountpoint. The filesystems are NOT
automounted at boot. Instead, a script decides which file system should be
mounted depending on the
computer's environement (which network it is attached to). The file systems
have identical
content. Which file system is mounted makes no difference for the end user, but
it does
make a difference for the system.
However, systemd-fstab-generator attempts to create a mount unit file for each 
entry in fstab, *even when they are not to be automounted* and since the mount
units
are labeled after the mountpoint, it fails to create a unit for the second
entry. 
Excerpt from journal file:
[CODE]
systemd-fstab-generator[292]: Failed to create mount unit file
/run/systemd/generator/home-mario-bilder.mount, as it already exists. Duplicate
entry in /etc/fstab?
[/CODE]
In fact, it is not a "duplicate entry in fstab" but rather a different entry
with the same 
mountpoint.
I regard this as a loss of functionality.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>