]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
userdbd: Order systemd-userdbd.service after systemd-remount-fs.service
authorVictor Westerhuis <victor@westerhu.is>
Sun, 3 Sep 2023 11:31:46 +0000 (13:31 +0200)
committerMike Yuan <me@yhndnzj.com>
Mon, 4 Sep 2023 01:47:05 +0000 (09:47 +0800)
Otherwise the root filesystem might still be readonly and
systemd-userdbd fails to start.

Explicitly pick systemd-remount-fs.service instead of local-fs-pre.target
to prevent a dependency cycle.

units/systemd-userdbd.service.in

index 1c092654b99cfcd07ddf9dae1bba7e577b48a9ea..407e9204a5f7fff919b34bd659d2caf36b631a91 100644 (file)
@@ -11,7 +11,7 @@
 Description=User Database Manager
 Documentation=man:systemd-userdbd.service(8)
 Requires=systemd-userdbd.socket
-After=systemd-userdbd.socket
+After=systemd-userdbd.socket systemd-remount-fs.service
 Before=sysinit.target
 DefaultDependencies=no