Name release issue

Antoine Aubert <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <[email protected]>
Hello,

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

* Process A, "org.bar.Foo" 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 ("org.bar.Foo") returns
old (A) PID.

Is There a way to avoid this behaviour ?

Thx for your help.

-- 
Antoine Aubert
[email protected]

_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
signature.asc (application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXcSVAAAoJEDH+/g1d3nuatb8H/3/ANI0Eu4JRa3lgciPhTJCJ
fWOTIRveWzwoO5X4QBqXr8SP1X7LXWPU/evFt8NjLr6lSocfe53XJhFXpptprbbT
J99hsVqi8K5apXtuuN4kmi2zHAR9VwvZyPlXZns5aeVdBBBlsAZVFPBiiHeBA/Pt
JWBk69i+vEsXMWytI4pOEzc3uYbUAF3u1t0BpAYJOvyJ6wXKxCyPa20AoPUjTkMu
oyJGm/lJGZFbFCLPtCIxGgW91oNTSkNKFzHZvxBjjeoUK+6fb2N2Oyq19BcejrB5
Trr0n2W0oY95lP7czqjGvz6fRH/uPNZ7n3Okl9PU2EvRQ6cPBG3+YjsyJM2nUvQ=
=JDaq
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.