Bug 746274

Summary: swap not being enabled, timing out
Product: [Fedora] Fedora Reporter: Zing <zing>
Component: systemdAssignee: systemd-maint
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: harald, johannbg, kay, lpoetter, metherid, mschmidt, notting, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-21 17:32:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
dmesg
none
fstab none

Description Zing 2011-10-14 15:27:10 UTC
Created attachment 528226 [details]
dmesg

Description of problem:
My swap is on an lv and it doesn't get enabled after boot.  The boot also hangs for about 80 seconds:

[   10.976154] lvm[522]: 2 logical volume(s) in volume group "mainvg" monitored
[   96.441128] systemd[1]: Job dev-mapper-mainvg\x2dswaplv.device/start timed out.
[   96.483065] systemd[1]: Job dev-mapper-mainvg\x2dswaplv.swap/start failed with result 'dependency'.
[   96.566254] systemd[1]: Job dev-mapper-mainvg\x2dswaplv.device/start failed with result 'timeout'.

After boot, I can manually start the swap:

[root@RAWHIDE tmp]# swapon -s
Filename				Type		Size	Used	Priority
[root@RAWHIDE tmp]# swapon -a
[root@RAWHIDE tmp]# swapon -s
Filename				Type		Size	Used	Priority
/dev/mapper/mainvg-swaplv               partition	262140	0	-1

Version-Release number of selected component (if applicable):
# uname -r
3.1.0-0.rc9.git0.0.fc17.x86_64
# rpm -q systemd
systemd-36-3.fc16.x86_64

How reproducible:
Always

Steps to Reproduce:
Make swap space on an lv, add to fstab, and reboot.
  
Actual results:
swap not enabled after boot and times out.

Expected results:
swap enabled

Additional info:
This install was originally rawhide around F15 that I just updated to the latest rawhide.

Comment 1 Zing 2011-10-14 15:28:06 UTC
Created attachment 528227 [details]
fstab

Comment 2 Fedora Admin XMLRPC Client 2011-10-20 16:25:40 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Zing 2011-10-21 17:32:56 UTC
Updating to latest rawhide makes this go away. closing.