]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
homed: stop before stopping dbus
authorMarkus Weippert <markus@gekmihesg.de>
Tue, 4 Jan 2022 12:56:11 +0000 (13:56 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 7 Jan 2022 13:33:35 +0000 (14:33 +0100)
Otherwise, systemd-homed-active.service will fail to deactivate all
homes because homectl can no longer talk to homed if dbus stops first.
As a result, /home cannot be umounted.

Doing this on systemd-homed-active.service instead works as well, but
systemd-homed will exit 1 if dbus is already shut down.

units/systemd-homed.service.in

index b03c6879c9a11e86339847427fad1a27777127e9..c2f8548897ef9fad7afc7bc8297aee9fb7e352f7 100644 (file)
@@ -12,7 +12,7 @@ Description=Home Area Manager
 Documentation=man:systemd-homed.service(8)
 Documentation=man:org.freedesktop.home1(5)
 
-After=home.mount
+After=home.mount dbus.service
 
 [Service]
 BusName=org.freedesktop.home1