Re: dbus.service does not recover dbus-daemon after spurious SIGTERM

Lennart Poettering <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <20160405170341.GA27867@gardel-login>
On Tue, 05.04.16 11:02, Zizka, Jan (Nokia - CZ/Prague) ([email protected]) wrote:

> Hi,
> 
> I have been running some provocative tests on a systemd based OS with Clould99 and I have found
> out that dbus-daemon would not recover after killing it with SIGTERM. There is no recovery action
> configured in default dbus.service.
> 
> Is that service configured that way on purpose or it was just not considered that dbus-daemon
> is not needed to be restarted on failure or successfull exit? Or could following patch be accepted upstream
> to allow dbus-daemon recovery on systemd based systems by default?

dbus-daemon does not support restarting without losing all
connections, and the dbus protocol does not define any logic to
recover from closed connections. Thus dbus-daemon is considered a
daemon that cannot be restarted. The code is a bit like the kernel in
that regard, which requires a full reboot to be updated.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
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.