[Pkg-utopia-maintainers] Bug#777691: dbus: Can't logout properly after "service dbus restart"; reboot needed

Simon McVittie smcv at debian.org
Wed Feb 11 22:08:52 UTC 2015


On 11/02/15 14:51, Vincent Lefevre wrote:
> When I execute "service dbus restart" as root

Restarting the dbus-daemon other than by rebooting (system bus) or
logging out/back in (session bus) is not a supported action, and
checkrestart should not be recommending it. Yes, I know this is not how
things should be, and in an ideal world it would be fully restartable,
but we do not live in that ideal world.

The ability to restart the system bus without breaking applications
would require a lot of rarely-tested complexity to serialize state, pass
it to the new dbus-daemon, fd-pass the sockets and so on. As far as I'm
aware, nobody has worked on this in the 10ish years since D-Bus was
first written.

The long-term solution is likely to be kdbus, which is part of the
kernel, so you restart it by rebooting (but it isn't affected by any
library updates, because, again, kernel).

> First, when I quit the window manager (fvwm), only the window manager
> quits; the X applications are still running. I suspect that the cause
> is that the X server is still running.

I'm not sure why that would happen. Perhaps bits of lightdm communicate
with each other, or with systemd-logind, via the system bus.

    S



More information about the Pkg-utopia-maintainers mailing list