Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #196024

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

From Ben Caradoc-Davies <ben@transient.nz>
Newsgroups linux.debian.user
Subject Re: lightdm (testing): Long waiting time after login
Date 2018-05-24 00:20 +0200
Message-ID <vSKgV-Ap-1@gated-at.bofh.it> (permalink)
References (9 earlier) <vQYxH-1pm-9@gated-at.bofh.it> <vRJGh-4xU-5@gated-at.bofh.it> <vSan7-44k-7@gated-at.bofh.it> <vSogp-3TT-3@gated-at.bofh.it> <vSF7z-5Fb-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 ready
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899271
> I 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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: lightdm (testing): Long waiting time after login Ben Caradoc-Davies <ben@transient.nz> - 2018-05-17 00:50 +0200
  Re: lightdm (testing): Long waiting time after login Dino <work@hllmnn.de> - 2018-05-17 11:10 +0200
    Re: lightdm (testing): Long waiting time after login Curt <curty@free.fr> - 2018-05-17 12:10 +0200
    Re: lightdm (testing): Long waiting time after login Ben Caradoc-Davies <ben@transient.nz> - 2018-05-18 01:10 +0200
      Re: lightdm (testing): Long waiting time after login Dino <work@hllmnn.de> - 2018-05-18 08:50 +0200
        Re: lightdm (testing): Long waiting time after login songbird <songbird@anthive.com> - 2018-05-18 12:10 +0200
          Re: lightdm (testing): Long waiting time after login Dino <work@hllmnn.de> - 2018-05-18 16:00 +0200
            Re: lightdm (testing): Long waiting time after login Ben Caradoc-Davies <ben@transient.nz> - 2018-05-19 00:10 +0200
              Re: lightdm (testing): Long waiting time after login Ben Caradoc-Davies <ben@transient.nz> - 2018-05-19 01:30 +0200
                Re: lightdm (testing): Long waiting time after login Ben Caradoc-Davies <ben@transient.nz> - 2018-05-19 03:10 +0200
                Re: lightdm (testing): Long waiting time after login Ben Caradoc-Davies <ben@transient.nz> - 2018-05-21 05:30 +0200
                Re: lightdm (testing): Long waiting time after login Dino <work@hllmnn.de> - 2018-05-22 10:00 +0200
                Re: lightdm (testing): Long waiting time after login Ben Caradoc-Davies <ben@transient.nz> - 2018-05-23 00:50 +0200
                Re: lightdm (testing): Long waiting time after login Glenn English <ghe2001@gmail.com> - 2018-05-23 18:50 +0200
                Re: lightdm (testing): Long waiting time after login Ben Caradoc-Davies <ben@transient.nz> - 2018-05-24 00:20 +0200
                Re: lightdm (testing): Long waiting time after login Glenn English <ghe2001@gmail.com> - 2018-05-24 15:50 +0200
                Re: lightdm (testing): Long waiting time after login Ben Caradoc-Davies <ben@transient.nz> - 2018-05-25 00:30 +0200

csiph-web