Bug 1866367 - Bootup taking 2 hours
Summary: Bootup taking 2 hours
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 33
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-05 12:41 UTC by Bret Joseph
Modified: 2020-08-31 00:41 UTC (History)
29 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-31 00:41:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Boot Log (81.33 KB, text/plain)
2020-08-05 12:41 UTC, Bret Joseph
no flags Details
dmesg log (88.51 KB, text/plain)
2020-08-05 22:22 UTC, Bret Joseph
no flags Details

Description Bret Joseph 2020-08-05 12:41:55 UTC
Created attachment 1710506 [details]
Boot Log

The kernel vmlinuz-5.8.0-1.fc33.x86_64 takes 2 Hours to boot up either to reach multiuser or graphical target


If I upgrade to rawhide from 32 
        or

If I use fresh netinstall iso install minimal or workstation
Boot to multiuser or graphical desktop
   This fresh install kernel will reboot fine only if I dont install stuff
   Install a couple of applications chromium, gtk4 and other simple gnome-stuff

Other wise I have to wait 2 hours exactly then it shows login screen

Comment 1 Bret Joseph 2020-08-05 22:22:02 UTC
Created attachment 1710581 [details]
dmesg log

Comment 2 Bret Joseph 2020-08-10 13:00:27 UTC
Seems to have been fixed after systemd update but now that kernel will not login

Comment 3 Hans de Goede 2020-08-11 08:36:41 UTC
I believe that your initial assessment that this is a systemd issue was correct, I'm seeing this too and for me downgrading systemd to the latest 245.7-1 build from F32 fixes things.

Are you saying that if you boot an older kernel things work fine ?

I tried booting a 5.7.12 kernel but that had the same issue for me. I've filed bug 1867930 against systemd for this. As I mentioned there I added "systemd.debug-shell=1" to my kernel commandline to get a debug-shell and vt9, I also had to boot into textmode (at 3 to the kernel commandline) to debug things. Then on the debug-shell if you run  "top" you will see systemd and logind and dbus-broker taking up a lot of CPU, at least if you are really hitting the same issue.

Note for me top would hang. I had to CTRL+C it and then edit /etc/nsswitch.conf and remove "systemd" from the group and passwd lines to make top not hang.

Comment 4 Ben Cotton 2020-08-11 15:19:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 5 Zbigniew Jędrzejewski-Szmek 2020-08-22 15:55:08 UTC
Hmm, both dmesg and boot.log are not very useful. Can you attach something like 'journalctl -o short-unix --no-hostname -b' ?

Comment 6 Bret Joseph 2020-08-30 13:28:00 UTC
Its fixed now. The login issue I might have caused when I booted with selinux=0

Comment 7 Chris Murphy 2020-08-31 00:41:25 UTC
Sounds like we're not sure what the problem was, but it's also not a problem anymore? If I've got that wrong, or it comes back, please reopen.


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