Session dbus-daemons not killed after logout
John (J5) Palmieri
johnp at redhat.com
Thu Feb 1 14:39:09 PST 2007
On Thu, 2007-02-01 at 17:34 +0100, Jan Houtsma wrote:
> 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
I have had other people report this but I can not reproduce it other
than trying to run an app that uses gnome-vfs within a shell which does
not have the DBUS_SESSION_BUS_ADDRESS set. It is interesting that you
have no associated dbus-launch. Can you do me a favor and do the same
operations as before but this time before you log out do a ps -ef|grep
dbus so I can compare the pids.
--
John (J5) Palmieri <johnp at redhat.com>
More information about the dbus
mailing list