From 9dd88582813b6dbeea6ce336f70cae681e6cbfc6 Mon Sep 17 00:00:00 2001 From: Victor Westerhuis Date: Sun, 3 Sep 2023 13:31:46 +0200 Subject: [PATCH] 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. --- units/systemd-userdbd.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1