<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - swap partition not automouning anymore on boot"
href="https://bugs.freedesktop.org/show_bug.cgi?id=69291#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - swap partition not automouning anymore on boot"
href="https://bugs.freedesktop.org/show_bug.cgi?id=69291">bug 69291</a>
from <span class="vcard"><a class="email" href="mailto:harald@redhat.com" title="Harald Hoyer <harald@redhat.com>"> <span class="fn">Harald Hoyer</span></a>
</span></b>
<pre>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</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>