Name release issue

Antoine Aubert a.aubert at
Mon Jun 27 13:08:12 UTC 2016


I'm facing an issue on releasing well known names.

* Process A, "" dbus well known name

* Process B, spawn by process A with system() call. (i.e.
system("/etc/init.d/B start), using double fork daemonize)

The spawned process (B) inherits parent fd's (A), therefore when the
parent (A) is killed, dbus doesn't release well known names, until child
(B) is killed. (seen on org.freedesktop.DBus.ListNames) in addition,
org.freedesktop.DBus.GetConnectionUnixProcessID ("") returns
old (A) PID.

Is There a way to avoid this behaviour ?

Thx for your help.

Antoine Aubert
a.aubert at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the dbus mailing list