]> git.ipfire.org Git - thirdparty/systemd.git/commit
manager: when reexecuting try to connect to bus only when dbus.service is around...
authorMichal Sekletar <msekletar@users.noreply.github.com>
Fri, 8 Sep 2017 13:41:44 +0000 (15:41 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 8 Sep 2017 13:41:44 +0000 (15:41 +0200)
commit5463fa0a88f95d2002858592578f9bf4e0d2660a
tree46a29dcc7de82178042c6733dddda4a1a27c18ad
parente3695e499a54071aa5fa3b79bdbff0be2c528204
manager: when reexecuting try to connect to bus only when dbus.service is around (#6773)

Trying to connect otherwise is pointless, because if socket isn't around
we won't connect. However, when dbus.socket is present we attempt to
connect. That attempt can't succeed because we are then supposed
to activate dbus.service as a response to connection from
us. This results in deadlock.

Fixes #6303
src/core/manager.c