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

Bug#906249: ,general: Long pause after lightdm login, gimp not starting except under strace



Moritz,

Linux 4.16 fixed CVE-2018-1108 by making the getrandom system call (without GRND_NONBLOCK) block if insufficient entropy is available. This causes applications to hang, and explains why mouse wiggling helps. As Simon advised, we need individual reports for each application. I had to build a custom patched kernel and use ltrace to identify the culpable applications that affected me:

Bug#897572: getrandom hang in early boot
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897572

Bug#899271: xfce4-terminal hangs in getrandom if crng not ready
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899271

Here are my kernel patches:
https://github.com/bencaradocdavies/linux/commit/f0dfb0b7b72e38093aeaa67fe1116b409c1db3dc
https://github.com/bencaradocdavies/linux/commit/19e47d7049c6ca94b98cf8c00bbeb2384a9c43b9
From branch:
https://github.com/bencaradocdavies/linux/commits/getrandom-printk-dump-stack

Kind regards,

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


Reply to: