On 24/05/18 04:48, Glenn English wrote:
On Tue, May 22, 2018 at 10:47 PM, Ben Caradoc-Davies <ben@transient.nz> wrote:I also found that xfce4-terminal hangs in getrandom if started immediately after boot and lightdm login. This one is not fixed by the libsdb upgrade. I have reported it:Bug#899271: xfce4-terminal hangs in getrandom if crng not readyhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899271I may be wrong, but I don't think it's XFCE4. I'm running Buster and XFCE4 and Slim on a couple computers, and there's no problem with Slim.
I know that I am right and I have the kernel printk and stack dump and xfce4-terminal ltrace -S to prove it. :-)
It looks like the hang is in g_object_new from Gnome gobject.That said, you are also right: I do not see this on my sid desktop because, by the time I have typed in my LUKS passphrase and logged in and my network adapter has connected, the system has sufficient entropy and getrandom does not hang. I *only* see the hang on a buster VM without LUKS, with shorter username and password, and the VM will get a lot less network traffic. Under these circumstances, with xfce4-terminal started in the Xfce session, the hang occurs every time. My investigation into a plymouth hang in getrandom (#897572) showed that 11-18 keystrokes are sufficient to stop getrandom from hanging, so if your username + Tab + password + Enter is long enough, you should be safe. :-D
Kind regards, -- Ben Caradoc-Davies <ben@transient.nz> Director Transient Software Limited <https://transient.nz/> New Zealand