diff --git a/units/ldconfig.service b/units/ldconfig.service index f5fb01ee234a7..404fa011d5a73 100644 --- a/units/ldconfig.service +++ b/units/ldconfig.service @@ -15,8 +15,9 @@ ConditionNeedsUpdate=|/etc ConditionFileNotEmpty=|!/etc/ld.so.cache DefaultDependencies=no -# systemd-confext.service might put the ld.so.conf configuration files in place so order this after that. -After=local-fs.target systemd-confext.service +# systemd-confext.service or systemd-tmpfiles-setup.service might put the ld.so.conf configuration files in place so +# order it after those. +After=local-fs.target systemd-confext.service systemd-tmpfiles-setup.service Before=sysinit.target systemd-update-done.service Conflicts=shutdown.target initrd-switch-root.target Before=shutdown.target initrd-switch-root.target