(I can't find the option to tag this report with "systemd-boot". Is this
a question of Launchpad permissions or am I too stupid to find the right
thing to click?)


I saw that "/lib/systemd/system-generators/" has systemd-fstab-generator and 
systemd-gpt-auto-generator so I disabled swap in my fstab:


# grep swap /etc/fstab 
#UUID=73d341f1-eedc-43fc-9e53-ba4194dae3fb none        swap sw                0 
   0


And swap's now activated once:


# journalctl | grep swap | grep -v unit_create_cgroups
Dec 06 04:21:00 yoga.lenovo systemd[1]: Activating swap Swap Partition...
Dec 06 04:21:00 yoga.lenovo kernel: Adding 8298492k swap on /dev/sda3.  
Priority:-1 extents:1 across:8298492k SSFS
Dec 06 04:21:00 yoga.lenovo systemd[1]: Activated swap Swap Partition.


# swapon -s
Filename                                Type            Size    Used    Priority
/dev/sda3                               partition       8298492 0       -1


# find /run -name "*73d341f1*"
/run/udev/links/\x2fdisk\x2fby-uuid\x2f73d341f1-eedc-43fc-9e53-ba4194dae3fb


# find /run -name "*sda3*"
/run/systemd/generator.late/swap.target.wants/dev-sda3.swap
/run/systemd/generator.late/dev-sda3.swap

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1399595

Title:
  systemd is activating swap twice

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1399595/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to