Bug 695801

Summary: Startup pauses for a moment during 'Starting Load Randam Seed'
Product: [Fedora] Fedora Reporter: Robin Lee <robinlee.sysu>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: agajan, johannbg, lpoetter, metherid, mschmidt, notting, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-27 22:40:27 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
Screenshot when startup pauses on 'Starting Load Randam Seed'
none
dmesg output
none
my /etc/fstab none

Description Robin Lee 2011-04-12 18:07:09 UTC
Created attachment 491535 [details]
Screenshot when startup pauses on 'Starting Load Randam Seed'

Description of problem:
Startup pauses for a moment, about two minutes, when showing 'Starting Load Randam Seed'.

A screenshot attached.

Host is Aspire One A110, with Intel Atom N270.

Version-Release number of selected component (if applicable):
systemd-24-1.fc15.i686
kernel-2.6.38.2-9.fc15.i686
dracut-009-5.fc15.noarch

Comment 1 Lennart Poettering 2011-04-12 18:34:06 UTC
Uh we start most stuff in parallel, the last line printed does not mean that it is the source of the problem, but maybe just something that was started at the same time as the problematic service.

Please boot with "systemd.log_level=debug" and "systemd.log_target=kmsg" on the kernel command line. Then, let the failing service timeout, login and attach the contents of "dmesg" here. Thanks!

Comment 2 Robin Lee 2011-04-12 18:54:20 UTC
Created attachment 491547 [details]
dmesg output

Comment 3 Lennart Poettering 2011-04-27 00:52:05 UTC
"Job dev-mapper-vg_cheesea110\x2dLogVol01.device/start timed out."

This is because we are waiting for a swap device by the name of "dev-mapper-vg_cheesea110\x2dLogVol01.swap" to show up, but it doesn't, and eventually we timeout after 3min.

Most likely you have a wrong /etc/fstab line for this swap? Can you check?

Comment 4 Robin Lee 2011-04-27 06:15:35 UTC
Created attachment 495114 [details]
my /etc/fstab

I never edit /etc/fstab since generated by anaconda when I installed Fedora 13.

The swap partition is not mounted after booting with such pause. And if I run 'sudo swapon -a' after system booted, it is mounted as usual.

If I comment out the swap partition line of /etc/fstab, then system boots smoothly.

Comment 5 Michal Schmidt 2011-04-27 08:11:28 UTC
from dmesg:
  [    1.770043] dracut: dracut-008-7.fc15

"dracut -f" will likely fix it for you.

Comment 6 Lennart Poettering 2011-04-27 15:06:13 UTC
Please try dracut -f, reboot and report back!

Comment 7 Robin Lee 2011-04-27 19:45:08 UTC
Yes. 'dracut -f' works.

Comment 8 Lennart Poettering 2011-04-27 22:40:27 UTC
OK, closing this then. It's not a systemd bug, and for normal F14 upgrades this should work fine.

Comment 9 Robin Lee 2011-04-28 02:00:48 UTC
Thanks!

Comment 10 Robin Lee 2011-06-25 14:17:38 UTC
*** Bug 691144 has been marked as a duplicate of this bug. ***