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.
This commit is contained in:
Victor Westerhuis 2023-09-03 13:31:46 +02:00 committed by Mike Yuan
parent f7f842f888
commit 9dd8858281

View 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