I have a pure UEFI system (kernel with EFI stub support), I do not use a ramdisk and have a GTP partition scheme. My kernel is loaded as follows bzImage-4.8.12.efi ro root=/dev/sda5 rootfstype=ext4 resume=/dev/sda4 init=/usr/lib/systemd/systemd quiet (N.b.: I must use the names of the device files for the partitions, because I do not have a ramdisk.) My /etc/fstab is LABEL=BOOT /boot vfat noatime,ro 1 2 LABEL=ROOT / ext4 noatime,acl,user_xattr 0 1 LABEL=SWAP none swap sw 0 0 LABEL=HOME /home ext4 noatime,acl,user_xattr 0 2 During startup two unit files for the same swap partition are created: (a) /run/systemd/generator/dev-disk-by\x2dlabel-SWAP.swap (b) /run/systemd/generator.late/swap.target.wants/dev-sda4.swap (a) is created by systemd-fstab-generator, (b) is created by systemd-gpt-auto-generator Full file layout (find /run/systemd/ -name '*swap*') /run/systemd/generator.late/swap.target.wants /run/systemd/generator.late/swap.target.wants/dev-sda4.swap /run/systemd/generator.late/dev-sda4.swap /run/systemd/generator/swap.target.requires /run/systemd/generator/swap.target.requires/dev-disk-by\x2dlabel-SWAP.swap /run/systemd/generator/dev-disk-by\x2dlabel-SWAP.swap Of course, one of the unit files fails during start-up because the swap partition has already been mounted by the other unit file and this triggers annoying warning during start-up.
Sorry, I did a copy-and-paste error. Of course, the paths of the two unit files are: (a) /run/systemd/generator/dev-disk-by\x2dlabel-SWAP.swap (b) /run/systemd/generator.late/dev-sda4.swap
If you still experience this issue, please report it upstream.