[Bug 1049981] New: Gnome shell lags on black login screen if haveged package is not installed
http://bugzilla.opensuse.org/show_bug.cgi?id=1049981 Bug ID: 1049981 Summary: Gnome shell lags on black login screen if haveged package is not installed Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: maciek.krawiec@zoho.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Affects 42.2, 42.3 It took me long time to figure out what was the cause of my system slow startup times. Basically I run my own spin of opensuse built with kiwi with minimal gnome environment (no patterns). If package `haveged` is not installed, there is an issue with really long login times after display-manager (lag on black screen, sometimes even earlier) and google chrome takes abnormal time on it's first run. Additionally there are timeout error messages in .xsession-errors gnome-session-binary[2444]: WARNING: Application 'gnome-keyring-secrets.desktop' failed to register before timeout gnome-session-binary[2444]: WARNING: Application 'gnome-keyring-ssh.desktop' failed to register before timeout gnome-session-binary[2444]: WARNING: Application 'gnome-keyring-pkcs11.desktop' failed to register before timeout It looks like lack of `haveged` package is causing `gnome-keyring` and in turn the whole GNOME desktop to malfunction. What's strange is that if I remove haveged the system login times are ok until next time mkinitrd is triggered. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1049981
http://bugzilla.opensuse.org/show_bug.cgi?id=1049981#c1
Bjørn Lie
Basically I run my own spin of opensuse built with kiwi with minimal gnome environment (no patterns).
There is your problem - you are not using the distro as provided. bjolie@haldis:~> zypper search --recommends haveged Loading repository data... Reading installed packages... S | Name | Summary | Type --+---------------------------------+----------------------+-------- | patterns-base-enhanced_base_opt | Enhanced Base System | package bjolie@haldis:~> zypper search --installed haveged Loading repository data... Reading installed packages... No matching items found. bjolie@haldis:~> zypper info haveged Loading repository data... Reading installed packages... Information for package haveged: -------------------------------- Repository : Tumbleweed Oss Name : haveged Version : 1.9.1-13.5 Arch : x86_64 Vendor : openSUSE Installed Size : 58.9 KiB Installed : No Status : not installed Source package : haveged-1.9.1-13.5.src Summary : Feed entropy into random pool Description : The haveged daemon feeds the linux entropy pool with random numbers generated from hidden processor state. For more informations see http://www.issihosts.com/haveged/ bjolie@haldis:~> --------------------- haveged is only a recommended package because it's not needed for many (most?) systems (More or less any hardware cpu released the last 5 years or so). As you can see, package is not installed on my box. However for VM's and head-less systems without a hardware entropy generator it's a rather nice thing to have, hence it's a recommended package by the base system. I was tempted to close this bug as invalid, but since this is a bug for Leap you filed, I'll leave it open for the SLE maintainers (but frankly, this is not a GNOME thing, but a base system one). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1049981
http://bugzilla.opensuse.org/show_bug.cgi?id=1049981#c2
--- Comment #2 from Maciek Krawiec
However for VM's and head-less systems without a hardware entropy generator it's a rather nice thing to have, hence it's a recommended package by the base system.
I noticed this problem on bare-metal modern hardware (i5 - 4th and 6th gen) it doesn't occur on kvm virtual machine as I experimented with this as well. Haveged is not required on Fedora and Arch to run GNOME on the very same hardware, that's why I filled this bug. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1049981
http://bugzilla.opensuse.org/show_bug.cgi?id=1049981#c3
--- Comment #3 from Bjørn Lie
However for VM's and head-less systems without a hardware entropy generator it's a rather nice thing to have, hence it's a recommended package by the base system.
I noticed this problem on bare-metal modern hardware (i5 - 4th and 6th gen) it doesn't occur on kvm virtual machine as I experimented with this as well.
Haveged is not required on Fedora and Arch to run GNOME on the very same hardware, that's why I filled this bug.
Reproduce the hanging login and then in an TTY do: ## cat /proc/sys/kernel/random/entropy_avail ## If response is anything less than 100-200, you have a problem with entropy. In any case, still not a GNOME issue :-) It will be for the base-system or Kernel people to answer. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1049981
http://bugzilla.opensuse.org/show_bug.cgi?id=1049981#c4
--- Comment #4 from Bjørn Lie
http://bugzilla.opensuse.org/show_bug.cgi?id=1049981
http://bugzilla.opensuse.org/show_bug.cgi?id=1049981#c5
--- Comment #5 from Maciek Krawiec
http://bugzilla.opensuse.org/show_bug.cgi?id=1049981
http://bugzilla.opensuse.org/show_bug.cgi?id=1049981#c6
Bjørn Lie
Anyway, thank's for the explanation, I think haveged does a lot for my entropy (especially during login process), I'll keep it then ;)
Well not surprising since haveged's sole purpose in life is to: Feed entropy into random pool :-) And a default install would have installed it (but this did not happen since you run a custom system without installing recommended packages), and since my own boxes proves that it's not a mandatory package, it should stay a recommended one as it currently is. Sidenote: On your hardware boxes you could try to remove haveged and install rng-tools instead (do: systemctl enable rng-tools.service before reboot), and see if that gives you even better entropy. At this point I'll close this bug as invalid, without waiting for the SLE maintainers. Feel free to reopen and move bug to Basesystem or Kernel. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com