summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
authorVictor Westerhuis <victor@westerhu.is>2023-09-03 13:31:46 +0200
committerMike Yuan <me@yhndnzj.com>2023-09-04 03:47:05 +0200
commit9dd88582813b6dbeea6ce336f70cae681e6cbfc6 (patch)
tree3617e39963a3d13643edbeb0c33015a0a580b864 /units
parentmkosi: temporarily disable Arch (diff)
downloadsystemd-9dd88582813b6dbeea6ce336f70cae681e6cbfc6.tar.xz
systemd-9dd88582813b6dbeea6ce336f70cae681e6cbfc6.zip
userdbd: Order systemd-userdbd.service after systemd-remount-fs.service
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.
Diffstat (limited to 'units')
-rw-r--r--units/systemd-userdbd.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-userdbd.service.in b/units/systemd-userdbd.service.in
index 1c092654b9..407e9204a5 100644
--- a/units/systemd-userdbd.service.in
+++ b/units/systemd-userdbd.service.in
@@ -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