Session dbus-daemons not killed after logout

Jan Houtsma list at houtsma.net
Thu Feb 1 08:34:44 PST 2007


Havoc Pennington wrote:
> Jan Houtsma wrote:
>>  From what i can tell in fedora it's launched from xinitrc(-common) 
>> as follows:
>>
>> [ -x /usr/bin/dbus-launch -a -z "$DBUS_SESSION_BUS_ADDRESS" ] && 
>> DBUS_LAUNCH="/usr/bin/dbus-launch --exit-with-session"
>>
>
> Are you sure the session bus is the one that's leaked?
>
> http://lists.freedesktop.org/archives/dbus/2006-December/006662.html
>
> In some "su" type situations, a new bus can be started automatically. 
> These situations are more likely to cause bus leaks. You might see if 
> just logging in as a user and logging out leaks a daemon, or if you 
> have to do something more.
>

I see the following (remotely logged in from another terminal):

All clear. No processes. Before the Gnome login:
--------------------------------------------------

root:/etc/X11/xinit> ps -ef|grep dbus
dbus      2243     1  0 Jan19 ?        00:00:02 dbus-daemon --system
root     24040 24021  0 17:21 pts/1    00:00:00 grep dbus

Now login as via the Fedora Gnome Graphical interface as user 'jan' and 
immideliatelly logging out again back to the Gnome login screen:
-----------------------------------------------------------------------------------------------------------------------------------------

root:/etc/X11/xinit> ps -ef|grep dbus
dbus      2243     1  0 Jan19 ?        00:00:02 dbus-daemon --system
jan      24134     1  0 17:23 ?        00:00:00 /bin/dbus-daemon --fork 
--print-pid 4 --print-address 6 --session

root:/etc/X11/xinit> ps -ef|grep jan
jan      24134     1  0 17:23 ?        00:00:00 /bin/dbus-daemon --fork 
--print-pid 4 --print-address 6 --session
jan      24179     1  0 17:23 ?        00:00:00 
/usr/libexec/gnome-vfs-daemon

Thanks,
-- 
jan


More information about the dbus mailing list