]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/bus-util.c
bus: when terminating our bus-actviated services that exit-on-idle send STOPPING...
authorLennart Poettering <lennart@poettering.net>
Thu, 21 Aug 2014 15:20:19 +0000 (17:20 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Aug 2014 15:24:22 +0000 (17:24 +0200)
commit430e21c2f7e77d600257ead56419f511e48e854a
treee4ad26be8db79b01a1807dc95a976342c3057d3d
parent55cdcbacf70f05a40a155af24f6d2da6b478cba6
bus: when terminating our bus-actviated services that exit-on-idle send STOPPING=1 via sd_notify()

This should fix a race where a service thatis idle drops its name, and
is immediately requested by another client, which causes dbus-daemon to
ask systemd to activate it again, but since systemd still assumes it is
running it won't do anything.
src/libsystemd/sd-bus/bus-util.c