Bug 746274 - swap not being enabled, timing out
Summary: swap not being enabled, timing out
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-14 15:27 UTC by Zing
Modified: 2011-10-21 17:32 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-21 17:32:56 UTC
Type: ---


Attachments (Terms of Use)
dmesg (29.68 KB, text/plain)
2011-10-14 15:27 UTC, Zing
no flags Details
fstab (750 bytes, text/plain)
2011-10-14 15:28 UTC, Zing
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.