]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: dbus: Interpret released names properly (#6175)
authorMichal Koutný <Werkov@users.noreply.github.com>
Fri, 23 Jun 2017 00:26:04 +0000 (02:26 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Jun 2017 00:26:04 +0000 (20:26 -0400)
commitb007626897e73603dd57d31f83b53eaafd89f13e
tree778429b1484141c0b05b2fd4efdd077a64e7b5f1
parent7be1420f44465a96d098a33c12c5a61dcefb14aa
core: dbus: Interpret released names properly (#6175)

When a DBus name is released, NameOwnerChanged signal contains an empty string
as new_owner. Commit bbc2908 changed interpretation of the empty string to a
valid name, which is not consistent with values that are sent by dbus-daemon.

As a side effect, this masks symptoms of systemd-logind dbus disconnections
(#2925) by completely restarting it so it can freshly reconnect to dbus.
src/core/unit.c