[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lightdm (testing): Long waiting time after login



On 19/05/18 13:07, Ben Caradoc-Davies wrote:
On 19/05/18 11:28, Ben Caradoc-Davies wrote:
The cause is xfce4-session. I will file a bug report.
Bug#899080: xfce4-session hangs in getrandom if crng not ready
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899080
I think this is a symptom of Bug#898088 in libbsd0:
Bug#898088: arc4random_buf() may block for a long time
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898088
xfce4-session uses IceGenerateMagicCookie and thus arc4random_buf to generate MIT-MAGIC-COOKIE-1.

Fixed in libbsd/0.8.7-1.1 on unstable:
https://tracker.debian.org/news/958795/accepted-libbsd-087-11-source-into-unstable/
"Switch Linux getrandom() usage to non-blocking mode, continuing to use fallback mechanims if unsuccessful. Closes: #898088"

I installed libbsd0_0.8.7-1.1_amd64.deb on a buster VM and it no longer hangs after lightdm credentials are entered (the xfce4-session hang reported in #899080):
http://ftp.debian.org/debian/pool/main/libb/libbsd/libbsd0_0.8.7-1.1_amd64.deb

Packages for other architectures here:
http://ftp.debian.org/debian/pool/main/libb/libbsd

Kind regards,

--
Ben Caradoc-Davies <ben@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand


Reply to: