[Pkg-utopia-maintainers] Bug#712167: dbus: add upstart init support

Simon McVittie smcv at debian.org
Fri Jun 14 11:58:37 UTC 2013


On 14/06/13 12:44, Dmitrijs Ledkovs wrote:> On 14 June 2013 12:16, Simon
McVittie <smcv at debian.org> wrote:
>> This is an increasing amount of code to detect whether the dbus-daemon
>> is running, so that we know whether to prompt the user to reboot.
>
> Taking in your suggestion about pgrep/unconditional trigger, how about
> something like this?
>
>     read pid < /var/run/dbus/pid

The systemd unit, at least in 1.7.x, explicitly doesn't create the pid
file, as a way to do a bit less I/O. (There's no point; systemd runs the
dbus-daemon in non-forking mode, so it already knows the pid.)

I don't think "avoid a false-positive notification that the user should
reboot if they have dbus installed but are deliberately not running it"
is enough reason to bring it back.

(If they are *accidentally* not running the dbus-daemon - for instance,
if it crashed due to a malicious local user triggering CVE-2013-2168 -
we should be suggesting a reboot anyway :-)

    S



More information about the Pkg-utopia-maintainers mailing list