commit:     fd3d4e174e04d50697e9761bdf2e14be2476fd0a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 31 20:46:57 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Apr  1 14:47:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd3d4e17

x11-misc/sddm: Add pkg_postinst info for fixing entropy

Closes: https://bugs.gentoo.org/660812
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 x11-misc/sddm/sddm-0.18.1-r6.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/x11-misc/sddm/sddm-0.18.1-r6.ebuild 
b/x11-misc/sddm/sddm-0.18.1-r6.ebuild
index 4decc69e0e77..51a634ccb024 100644
--- a/x11-misc/sddm/sddm-0.18.1-r6.ebuild
+++ b/x11-misc/sddm/sddm-0.18.1-r6.ebuild
@@ -110,6 +110,12 @@ pkg_postinst() {
        elog "Starting with 0.18.0, SDDM no longer installs /etc/sddm.conf"
        elog "Use it to override specific options. SDDM defaults are now"
        elog "found in: /usr/share/sddm/sddm.conf.d/00default.conf"
+       elog
+       elog "NOTE: If SDDM startup appears to hang then entropy pool is too 
low."
+       elog "This can be fixed by configuring one of the following:"
+       elog "  - Enable CONFIG_RANDOM_TRUST_CPU in linux kernel"
+       elog "  - # emerge sys-apps/haveged && rc-update add haveged boot"
+       elog "  - # emerge sys-apps/rng-tools && rc-update add rngd boot"
 
        systemd_reenable sddm.service
 }

Reply via email to