Bug 1064641 - fedora boot hangs if boot take certain amount of time
Summary: fedora boot hangs if boot take certain amount of time
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 20
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: 2014-02-13 02:38 UTC by lionghostshop
Modified: 2015-06-29 15:10 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-29 15:10:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot (1.12 MB, image/jpeg)
2014-02-13 02:38 UTC, lionghostshop
no flags Details
logfile (785.15 KB, application/x-compressed-tar)
2014-02-17 04:06 UTC, lionghostshop
no flags Details
Please use this logfile, which is more complete (365.72 KB, application/x-bzip)
2014-02-17 04:09 UTC, lionghostshop
no flags Details
log in plain text format (5.00 MB, text/plain)
2014-02-17 06:36 UTC, Zbigniew Jędrzejewski-Szmek
no flags Details
journalctl -o short-monotonic BOOT_ID=... (267.63 KB, text/plain)
2014-02-17 09:18 UTC, lionghostshop
no flags Details

Description lionghostshop 2014-02-13 02:38:58 UTC
Created attachment 862610 [details]
screenshot

Description of problem:


Version-Release number of selected component (if applicable):
systemd-208-9.fc20.x86_64

How reproducible:


Steps to Reproduce:
1. Boot the machine
2. Do not click anything in grub menu until timeout and it enters the default kernel
3. it stop a "f" screen as shown in the attachment.



Additional info:
If I click the menu in grub, fedora doesn't hang. 
If I edit the grub's timeout to be shorter, fedora doesn't hang.
It seems to related to time.

Comment 1 lionghostshop 2014-02-13 02:54:42 UTC
When I disable systemd-readahead related services, the problem is gone.

Comment 2 lionghostshop 2014-02-13 03:19:26 UTC
If I only enable systemd-readahead-replay, I can't enter the system in any way.

Comment 3 lionghostshop 2014-02-17 02:59:20 UTC
I found fedora always stop at the screen when booting. I cannot login today. Any comments.

Comment 4 Zbigniew Jędrzejewski-Szmek 2014-02-17 03:12:30 UTC
Can you paste the logs from a failed boot: journalctl --since <date> --until <date> would work, or just pipe them into a file and cut out the interesting part with an editor.

You could try debugging following the instructions at http://www.freedesktop.org/wiki/Software/systemd/Debugging/#earlydebugshell. If you can get to the shell at TTY9, then you can inspect the status. The output from 'systemctl list-jobs' would be interesting.

Comment 5 lionghostshop 2014-02-17 04:05:43 UTC
I found that if I enable debug-shell.service and switch to terminal 9, the login screen would show up. However, if I do not switch to terminal 9, the boot just stops as previous. 
I've put the log file in the attachment.

Comment 6 lionghostshop 2014-02-17 04:06:57 UTC
Created attachment 863940 [details]
logfile

Comment 7 lionghostshop 2014-02-17 04:09:44 UTC
Created attachment 863941 [details]
Please use this logfile, which is more complete

Comment 8 lionghostshop 2014-02-17 06:28:42 UTC
Any comments? Or additional information do you need?

Comment 9 Zbigniew Jędrzejewski-Szmek 2014-02-17 06:36:16 UTC
Created attachment 863966 [details]
log in plain text format

Comment 10 Zbigniew Jędrzejewski-Szmek 2014-02-17 06:53:03 UTC
It seems that you're hitting the race condition in bug 1043212. Can you test with systemd-208-13 when it in updates-testing (tomorrow)? Hopefully this update might help here too.

If it *doesn't*, let's do the log gathering a bit differently: can you look at any message from a failed boot with 'journalctl -o verbose', make note of the BOOT_ID=... line, and then attach the output from 'journalctl -o short-monotonic BOOT_ID=...'. And please do it after logging in, so that unrelated stuff is not in the logs. And please do not compress logs when attaching them - it's easier to view them when they're plain/text.

Comment 11 lionghostshop 2014-02-17 09:18:20 UTC
I updated to the latest one from koji. The problem still persists.
I attach the output of journalctl -o short-monotonic _BOOT_ID=...

Comment 12 lionghostshop 2014-02-17 09:18:55 UTC
Created attachment 863991 [details]
journalctl -o short-monotonic BOOT_ID=...

Comment 13 Zbigniew Jędrzejewski-Szmek 2014-02-17 17:16:38 UTC
[   10.949881] localhost.localdomain audispd[411]: queue is full - dropping event
[   10.957670] localhost.localdomain audispd[411]: queue is full - dropping event
This looks like selinux issue. I see that you have an unupdated rtkitd, and also selinux. Can you do 'yum update' to get the latest versions of everything?

Comment 14 lionghostshop 2014-02-17 21:13:09 UTC
I just run update yesterday. So it should be the latest version. However, my machine is affected by previous yum bug that prevents execution of pre/post execution of rpm scripts. Any way to fix this?

Comment 15 Zbigniew Jędrzejewski-Szmek 2014-02-18 00:53:54 UTC
You mean https://fedoraproject.org/wiki/Common_F20_bugs#RPM_scriptlets_fail_during_updates?

Comment 16 lionghostshop 2014-02-19 02:49:04 UTC
I've reinstalled selinux and rtkit. 
The problem still exists.

Comment 17 lionghostshop 2014-02-19 02:54:48 UTC
I found that I can always enter the login screen if I switch to debug terminal (f9). If I do not switch during the boot, the screen just stop at "f" icon screen.

Comment 18 lionghostshop 2014-02-19 03:16:19 UTC
Any comments?

Comment 19 lionghostshop 2014-02-20 01:47:41 UTC
Note that when the system stops at "f" screen, I can use ctrl+alt+del to reboot.

Comment 20 lionghostshop 2014-02-20 02:05:56 UTC
I found a way to solve the problem. I remove plymouth and dependencies using yum.
Now I can enter the system. Previously, I tried reinstall plymouth using yum. But it didn't work.

Comment 21 lionghostshop 2014-02-20 02:22:03 UTC
since it may be related to plymouth, I file another report https://bugzilla.redhat.com/show_bug.cgi?id=1067247

Comment 22 Lennart Poettering 2014-06-20 01:00:32 UTC
do things work if you boot with selinux=0 or with audit=0 on the kernel cmdline?

Comment 23 lionghostshop 2014-06-20 02:04:15 UTC
I don't know now. I just remove plymouth and it works.

Comment 24 Fedora End Of Life 2015-05-29 10:54:14 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 25 Fedora End Of Life 2015-06-29 15:10:23 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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