[systemd-bugs] [Bug 69291] swap partition not automouning anymore on boot

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 13 03:43:38 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=69291

--- Comment #4 from Harald Hoyer <harald at redhat.com> ---
WORKSFORME

~$ fgrep swap /etc/fstab
UUID=0a5847a8-358d-454f-ab98-8592de5ca4ba     swap                    swap  
defaults            0 0

~$ cat /proc/swaps 
Filename                Type        Size    Used    Priority
/dev/sda4                               partition    6029308    0    -1


$ fgrep -r swap.target /lib/systemd/system/
/lib/systemd/system/sysinit.target:Wants=local-fs.target swap.target
/lib/systemd/system/sysinit.target:After=local-fs.target swap.target
emergency.service emergency.target

~$ echo /run/systemd/generator/*.swap 
/run/systemd/generator/dev-disk-by\x2duuid-0a5847a8\x2d358d\x2d454f\x2dab98\x2d8592de5ca4ba.swap

~$ cat /run/systemd/generator/*.swap 
# Automatically generated by systemd-fstab-generator

[Unit]
SourcePath=/etc/fstab

[Swap]
What=/dev/disk/by-uuid/0a5847a8-358d-454f-ab98-8592de5ca4ba

~$ find /run/systemd/generator.late/ -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


$ systemctl show
'dev-disk-by\x2duuid-0a5847a8\x2d358d\x2d454f\x2dab98\x2d8592de5ca4ba.swap'
Id=dev-disk-by\x2duuid-0a5847a8\x2d358d\x2d454f\x2dab98\x2d8592de5ca4ba.swap
Names=dev-disk-by\x2duuid-0a5847a8\x2d358d\x2d454f\x2dab98\x2d8592de5ca4ba.swap
Following=dev-sda4.swap
Wants=system.slice
BindsTo=dev-disk-by\x2duuid-0a5847a8\x2d358d\x2d454f\x2dab98\x2d8592de5ca4ba.device
RequiredBy=swap.target
WantedBy=dev-disk-by\x2duuid-0a5847a8\x2d358d\x2d454f\x2dab98\x2d8592de5ca4ba.device
Conflicts=umount.target
Before=umount.target swap.target

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130913/87b25f06/attachment.html>


More information about the systemd-bugs mailing list