Your message dated Wed, 25 Feb 2026 14:03:38 +0000
with message-id <[email protected]>
and subject line Bug#1128559: fixed in turnstile 0.1.11-2
has caused the Debian Bug report #1128559,
regarding dbus-turnstile-user-session: race condition: doesn't wait for
dbus-daemon to be 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.)
--
1128559: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128559
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dbus-turnstile-user-session
Version: 0.1.11-1
Severity: important
While checking whether dbus-turnstile-user-session had a missing
dependency on dbus-daemon (it does, see separate bug report), I noticed
that it runs:
dbus-daemon --session --nofork --address=$DBUS_SESSION_BUS_ADDRESS &
This doesn't do anything to ensure that the dbus-daemon(1) has started
successfully and is ready to accept connections. Until its
initialization has got far enough to be listening on the socket
specified by --address, all attempts to connect a D-Bus client will
fail.
There are three ways to wait for dbus-daemon to be ready:
1. Wait for `dbus-daemon --fork` to exit with status 0, which indicates
that the long-running dbus-daemon process has finished startup,
double-forked and been reparented to pid 1. This is how
/etc/init.d/dbus works.
2. Use `dbus-daemon --print-address=$FD` and/or
`dbus-daemon --print-pid=$FD` where $FD is the file descriptor number
of the write end of a pipe, and wait for EOF on the read end of the
same pipe before continuing. This is how dbus-run-session(1) works.
3. Use the $NOTIFY_SOCKET protocol described in sd_notify(3) (originating
in systemd, but it's a reasonably simple AF_UNIX datagram protocol and
I assume someone has reimplemented it with a daemontools-like
interface by now). This is how the systemd units for dbus-daemon work.
Please choose one of those three, and use it to avoid the race condition.
`dbus-daemon --fork` is probably simplest for shell scripts.
Thanks,
smcv
--- End Message ---
--- Begin Message ---
Source: turnstile
Source-Version: 0.1.11-2
Done: Mark Hindley <[email protected]>
We believe that the bug you reported is fixed in the latest version of
turnstile, 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.
Mark Hindley <[email protected]> (supplier of updated turnstile 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: Wed, 25 Feb 2026 13:49:34 +0000
Source: turnstile
Architecture: source
Version: 0.1.11-2
Distribution: unstable
Urgency: medium
Maintainer: Mark Hindley <[email protected]>
Changed-By: Mark Hindley <[email protected]>
Closes: 1128558 1128559
Changes:
turnstile (0.1.11-2) unstable; urgency=medium
.
* d/control:
- dbus-turnstile-user-session add Depends dbus-daemon. (Closes:
#1128558)
- mark dbus-turnstile-user-session MA: foreign (Multiarch hinter).
- bump Standards Version (drop Priority: optional, now the default).
* Verify DBus user session has started before continuing. (Closes:
#1128559)
Checksums-Sha1:
ef09aff71471852fb8b8d49509fb5afca52f190a 1981 turnstile_0.1.11-2.dsc
6985f6fd35143b392efd821b391f4216618444d8 7192 turnstile_0.1.11-2.debian.tar.xz
f6343df544bce62e9c151cea9a1c9f5011da013e 6802
turnstile_0.1.11-2_amd64.buildinfo
Checksums-Sha256:
3f53be48c20bde4fc6a91c5bd34b18a998007f10ec8fd3175597e4c14ee79d01 1981
turnstile_0.1.11-2.dsc
3aa42a1d5cca014cae00a3e98a88c5b053fcc74af4d5819f3e377c3e96a6b893 7192
turnstile_0.1.11-2.debian.tar.xz
2d2ffc9f63c5a82a6379ec3bd8602331d112dd7defbe89d9abde7fd5e0bd568e 6802
turnstile_0.1.11-2_amd64.buildinfo
Files:
cc2ca4a7e1febc6199a4fb3ed31b7e6d 1981 admin optional turnstile_0.1.11-2.dsc
ee79294e0358dc17b2d972b464b76aca 7192 admin optional
turnstile_0.1.11-2.debian.tar.xz
8df161e26e554f4bf2b9871abc2e3624 6802 admin optional
turnstile_0.1.11-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEUGwVpCsK9aCoVCPu0opFvzKH1kkFAmme/vgACgkQ0opFvzKH
1kml2hAAhKJD0C1mMYPYY2YoVvQqguC2ItP4X0pu6JwTjIenAmJtmNLKn9hj7XvL
TH3Cr9GN6Y4w9KsmOjdT7/UIXQIIRLX7Enr2pzIy5fQ0C2VjKExpe73FALLXmgyO
6xKkfpxsJpunWOjW8QXpWjBEGAiwaJnhk9l9/9idgbEstY391VB3rJDgILcWoAYt
1E8bcGXWtaeOEanha05I56anq8sWbhSTQ6rc+uEvYzF4QnZ1Kb8Hrx84vuKZIz+i
ehTjF3t9qhP2wvSIMqsykMGK+0Bu2pI1cncb+ZpKkeFwE6gYbfeGq824FjjxpmsX
9bRUWoi+AY6ZPgwlBxWZ9cqS9pRgMyprJF8aOElFmnD3qtr5/pc36YI/qRPLirq2
KqhH3FesYO0bZxNa8d742mEzica/nT7FIzFwkDp0ea9RKjSaCEeoyVck6AiQJCww
iDepKdopVaBwOFmrXFkQo45MKT7QdRS3zHTf4VgM+IZM4Six780vHaxIfjJZpNL8
VQLL9+iRrfpBKKELxItykeSjI/8undEajCZqqhQ2SpHU92RX79/4+JC1vlaT0UjI
nll4eWreZS9iaqeDOBswW6KXPE/Bm1ktGitrT6VTkxxXId/XZtPDtOk/yfkgd8CI
vLa22jsDTWKCa/jXY2FlsygqgdID48MN+gshQkiLz/QkU3CKo+I=
=P3WN
-----END PGP SIGNATURE-----
pgpfagOzxc62T.pgp
Description: PGP signature
--- End Message ---