identifying consumers
Daniel J Walsh
dwalsh at redhat.com
Wed Dec 5 11:55:22 PST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/04/2012 02:17 PM, Ted Toth wrote:
> In the dbus-deamon is there a way to differentiate a service provider from
> a service consumer. I've been looking through the source but I could use
> some help. The reason I ask is I'm looking at running a number of
> dbus-daemons each at a different selinux mls level and I'd like for the
> them to be able to exit when there are no client/consumer connections
> left. _______________________________________________ dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
>
Ted, I have done this with setroubleshoot looking at connections and basically
dieing after a timeout with no connections, I believe the setroubleshootd
maintains it own connection count.
Basically setroubleshoot dies 10 seconds after the last process disconnects.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlC/pqkACgkQrlYvE4MpobMg1gCgyERi4uNqEuABctckt9HvHfYt
u4IAoIhA72oTGW96sY7UZT55VUH/ZpeJ
=9w5K
-----END PGP SIGNATURE-----
More information about the dbus
mailing list