<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 --- - systemd autogenerates duplicate mounts for GPT partitions found in fstab"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=69835">69835</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>systemd autogenerates duplicate mounts for GPT partitions found in fstab
          </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>freedesk.apriori@spamgourmet.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>Systemd 207 automatically generates a mount unit for my GPT swap partition.
This unit subsequently fails, because the swap partition is already mounted by
fstab.

Mount units based on GPT partition types should not be generated if a partition
is already found in fstab.


Sep 26 08:24:39 glenalbyn systemd[1]: Activating swap /dev/sda3...
Sep 26 08:24:39 glenalbyn systemd[1]: Activating swap
/dev/disk/by-uuid/326e9723-c2fd-4096-b15a-2ce90498da9a...
Sep 26 08:24:39 glenalbyn systemd[1]: Found device ST1000DM003-1CH162.
Sep 26 08:24:39 glenalbyn kernel: Adding 8388604k swap on /dev/sda3. 
Priority:-1 extents:1 across:8388604k FS
Sep 26 08:24:39 glenalbyn systemd[1]: Activated swap /dev/sda3.
---
Sep 26 08:24:39 glenalbyn swapon[268]: swapon:
/dev/disk/by-uuid/326e9723-c2fd-4096-b15a-2ce90498da9a: swapon failed: Device
or resource busy
Sep 26 08:24:39 glenalbyn systemd[1]:
dev-disk-by\x2duuid-326e9723\x2dc2fd\x2d4096\x2db15a\x2d2ce90498da9a.swap swap
process exited, code=exited status=255
Sep 26 08:24:39 glenalbyn systemd[1]: Failed to activate swap
/dev/disk/by-uuid/326e9723-c2fd-4096-b15a-2ce90498da9a.
Sep 26 08:24:39 glenalbyn systemd[1]: Dependency failed for Swap.
Sep 26 08:24:39 glenalbyn systemd[1]: Unit
dev-disk-by\x2duuid-326e9723\x2dc2fd\x2d4096\x2db15a\x2d2ce90498da9a.swap
entered failed state.</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>