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


Groups > linux.debian.user > #195949

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-21 05:30 +0200
Message-ID <vRJGh-4xU-5@gated-at.bofh.it> (permalink)
References (5 earlier) <vQKuK-1d3-23@gated-at.bofh.it> <vQO5j-3dW-1@gated-at.bofh.it> <vQVJv-87A-9@gated-at.bofh.it> <vQWYV-nz-1@gated-at.bofh.it> <vQYxH-1pm-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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