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

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

On 21.05.2018 05:25 Ben Caradoc-Davies wrote:
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
I think this is a symptom of Bug#898088 in libbsd0:
Bug#898088: arc4random_buf() may block for a long time
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:

Kind regards,

Hi Ben,

I can confirm that libbsd/0.8.7-1.1 fixes the problem here, too.

Thanks a lot for your investigation!


Reply to: