Your message dated Mon, 21 May 2018 04:04:59 +0000
with message-id <[email protected]>
and subject line Bug#898088: fixed in libbsd 0.9.0-1
has caused the Debian Bug report #898088,
regarding xfce4-session hangs in getrandom if crng not ready
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
898088: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898088
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xfce4-session
Version: 4.12.1-6
Severity: important
Dear Maintainer,
xfce4-session calls getrandom without GRND_NONBLOCK and hangs indefinitely if
there is insufficient entropy in the crng pool. See this report on the debian-
user mailing list:
https://lists.debian.org/debian-user/2018/05/msg00563.html
Procedure to reproduce is to login at the lightdm prompt on a freshly-booted
system. Credentials are accepted and login hangs indefinitely until sufficient
entropy is available through, for example, wiggling a mouse. I can reproduce
this hang on a fresh buster VM installed from the May 14 weekly iso.
Test kernel:
Linux getrandom-testing 4.16.0-1-amd64 #1 SMP Debian
4.16.5-1+getrandom+printk+dump+stack (2018-05-08) x86_64 GNU/Linux
This kernel is 4.16.5-1 plus these two patches (against torvalds/linux master
but they apply cleanly against the stable tree):
https://github.com/bencaradocdavies/linux/commit/f0dfb0b7b72e38093aeaa67fe1116b409c1db3dc
https://github.com/bencaradocdavies/linux/commit/19e47d7049c6ca94b98cf8c00bbeb2384a9c43b9
https://github.com/bencaradocdavies/linux/tree/getrandom-printk-dump-stack
The evidence seen in the journal when booting with "debug" and not "quiet" on
the kernel command line:
May 19 11:09:39 getrandom-testing kernel: random: xfce4-session: getrandom
without GRND_NONBLOCK while crng not ready
May 19 11:09:39 getrandom-testing kernel: CPU: 0 PID: 587 Comm: xfce4-session
Not tainted 4.16.0-1-amd64 #1 Debian 4.16.5-1+getrandom+printk+dump+stack
May 19 11:09:39 getrandom-testing kernel: Hardware name: QEMU Standard PC
(i440FX + PIIX, 1996), BIOS 1.11.1-1 04/01/2014
May 19 11:09:39 getrandom-testing kernel: Call Trace:
May 19 11:09:39 getrandom-testing kernel: dump_stack+0x5c/0x85
May 19 11:09:39 getrandom-testing kernel: SyS_getrandom+0xab/0xc0
May 19 11:09:39 getrandom-testing kernel: do_syscall_64+0x6c/0x130
May 19 11:09:39 getrandom-testing kernel:
entry_SYSCALL_64_after_hwframe+0x3d/0xa2
May 19 11:09:39 getrandom-testing kernel: RIP: 0033:0x7fdb3e1038f9
May 19 11:09:39 getrandom-testing kernel: RSP: 002b:00007ffd434e7ba8 EFLAGS:
00000246 ORIG_RAX: 000000000000013e
May 19 11:09:39 getrandom-testing kernel: RAX: ffffffffffffffda RBX:
0000000000000028 RCX: 00007fdb3e1038f9
May 19 11:09:39 getrandom-testing kernel: RDX: 0000000000000000 RSI:
0000000000000028 RDI: 00007ffd434e7cb0
May 19 11:09:39 getrandom-testing kernel: RBP: 00007fdb41e02a00 R08:
0000000000000000 R09: 0000000000000000
May 19 11:09:39 getrandom-testing kernel: R10: 00007fdb3d4f0140 R11:
0000000000000246 R12: 00007ffd434e7cb0
May 19 11:09:39 getrandom-testing kernel: R13: 0000000000000002 R14:
0000000000000010 R15: 0000558569895400
Kind regards,
Ben.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.16.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages xfce4-session depends on:
ii libatk1.0-0 2.28.1-1
ii libc6 2.27-3
ii libcairo2 1.15.10-3
ii libdbus-1-3 1.12.8-2
ii libdbus-glib-1-2 0.110-2
ii libfontconfig1 2.13.0-5
ii libfreetype6 2.8.1-2
ii libgdk-pixbuf2.0-0 2.36.11-2
ii libglib2.0-0 2.56.1-2
ii libgtk2.0-0 2.24.32-1
ii libice6 2:1.0.9-2
ii libpango-1.0-0 1.42.1-1
ii libpangocairo-1.0-0 1.42.1-1
ii libpangoft2-1.0-0 1.42.1-1
ii libpolkit-gobject-1-0 0.105-20
ii libsm6 2:1.2.2-1+b3
ii libwnck22 2.30.7-5.1
ii libx11-6 2:1.6.5-1
ii libxfce4ui-1-0 4.12.1-3
ii libxfce4util7 4.12.1-3
ii libxfconf-0-2 4.12.1-1
ii xfce4-settings 4.12.3-1
ii xfconf 4.12.1-1
Versions of packages xfce4-session recommends:
ii dbus-x11 1.12.8-2
ii libpam-systemd 238-4
ii light-locker 1.8.0-1
ii systemd-sysv 238-4
ii upower 0.99.7-2
ii x11-xserver-utils 7.7+8
ii xfdesktop4 4.12.4-1
ii xfwm4 4.12.4-1
Versions of packages xfce4-session suggests:
pn fortunes-mod <none>
ii sudo 1.8.23-1
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: libbsd
Source-Version: 0.9.0-1
We believe that the bug you reported is fixed in the latest version of
libbsd, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guillem Jover <[email protected]> (supplier of updated libbsd package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 21 May 2018 05:37:20 +0200
Source: libbsd
Binary: libbsd-dev libbsd0 libbsd0-udeb
Architecture: source
Version: 0.9.0-1
Distribution: unstable
Urgency: medium
Maintainer: Guillem Jover <[email protected]>
Changed-By: Guillem Jover <[email protected]>
Description:
libbsd-dev - utility functions from BSD systems - development files
libbsd0 - utility functions from BSD systems - shared library
libbsd0-udeb - utility functions from BSD systems - shared library (udeb)
Closes: 898088
Changes:
libbsd (0.9.0-1) unstable; urgency=medium
.
* New upstream release.
- Portability fixes for Sparc, OpenRISC, musl, uClibc, non-glibc in
general and Windows.
- Add __arraycount() macro.
- Add flopenat() function.
- Add strtoi() and strtou() functions.
- Add several new vis and unvis functions.
- Add pidfile_fileno() function, and struct pidfh is now opaque.
- The humanize_number() now understands HN_IEC_PREFIXES.
- The fmtcheck() function supports all standard printf(3) conversions.
- The getentropy(), and thus arc4random() functions will not block
anymore on Linux on boot when there's not enough entropy available.
Closes: #898088
- The arc4random() function handles direct clone() calls better.
- The fgetwln() function has now been marked as deprecated.
* Now using Standards-Version 4.1.4 (no changes needed).
Checksums-Sha1:
228cd8d6608d712ddff36a62b09c800963586535 2181 libbsd_0.9.0-1.dsc
7750af015aa928a6be2e2951e03a1c459e72b4af 385792 libbsd_0.9.0.orig.tar.xz
ef24a0e90e184df64a6dbe6155ef0d6a457bb281 833 libbsd_0.9.0.orig.tar.xz.asc
7b94eae81a4f0c852f076e56741ab29dc47030ed 16204 libbsd_0.9.0-1.debian.tar.xz
27ff38e3b0f784a681a7315468ff4a8cd3e0f9b4 6137 libbsd_0.9.0-1_amd64.buildinfo
Checksums-Sha256:
a7d1d8895606c7c78e7547ce5996ce38a12c14175d8dc3a284049d2968800c35 2181
libbsd_0.9.0-1.dsc
8a469afd1bab340992cf99e1e6b7ae4f4c54882d663d8a2c5ea52250617afb01 385792
libbsd_0.9.0.orig.tar.xz
8bdcd723409683c8d820a6f198565827fd4450fe39ce5e97e48f758faa296324 833
libbsd_0.9.0.orig.tar.xz.asc
b9caa81458f62da673371e03f8b3e827c7a921a0e6f69e125f60628c0f74aeaa 16204
libbsd_0.9.0-1.debian.tar.xz
6644a2df64c61e636381d0f8efc6a4b80c1dba4d032187fe44ec4aa1e44de772 6137
libbsd_0.9.0-1_amd64.buildinfo
Files:
9412508bbc7aa6880a0e4ac2554d3302 2181 libs optional libbsd_0.9.0-1.dsc
1645de409b56bb51d639b207d4d4dc52 385792 libs optional libbsd_0.9.0.orig.tar.xz
387aff28026e019e4a18c6a702185688 833 libs optional libbsd_0.9.0.orig.tar.xz.asc
97b3548e7613bf606eca0f79953a8ae1 16204 libs optional
libbsd_0.9.0-1.debian.tar.xz
afb58ae0d29e3bf66f87cbdc85d39876 6137 libs optional
libbsd_0.9.0-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEETz509DYFDBD1aWV0uXK/PqSuV6MFAlsCQboACgkQuXK/PqSu
V6OdUhAAnS5KS1Z6PFZ6W+xU2pZaUtlTsyY04mgtbXU0+EAudMWg5VC7q8ZHRkRs
FVyYnWdTWCa4VUKPDgDC4a43nLOEENf716pX4qzx5v8AMkvFaxsvXFTJ8BPAgRzw
kAWJdAiWaXa9/sRHSVfkJ6kNiyHqzAlB+6xtDp1y2sGOb7/FozYSaQ4TLjwBLWa5
lLN1+Z5hDG9n9eVfCPoaDZ9pqtNf1YkVXoxjVOa7dLlnHjptUJ4m/HrFtMcIJf66
DVC4Fj1epQz7ZicsyAR3ojXvYHecBaR1/RWhnQTbVPixwvwoK2VFdGIOALkN2T8h
bv71Nm3P6LD13jfyv8Kgwvy98DsiNKmWoexkmZCoJUxGbJvRoOLHH3FnSS3QxGFy
D99plyxd/pvWY73IiRbYla2rEm8Am3wwEy7AwQKApcdPH3jIphxAGLoIgfaKsqnW
r4HwZdfL9VmLcduvSGrpo3ZMta2Rb4qZcfyVqCEr5o9CmEPB8lQix7WB2OyQo0Zs
Pfme/RX2m5a3dyR6QqgBPps6HQoaCMPxiAHCuZ94b1ZbK6BagDc3Y48SNia0GsU/
eg3iF6BXCB6M6Nan4+g8ODp4waMeG2scs7ZMkbWNbL9SATbtctiiBve2ul86igXu
na7qKDibf2dt6Bq26uBaxM7b9zPnUyI6afivHPZm/q6QcAILxxQ=
=uPod
-----END PGP SIGNATURE-----
--- End Message ---