summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-09-23 13:20:42 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-09-24 15:32:58 +0200
commitdf4d09f78eed6daef508a6a0421759b3c6767256 (patch)
treea023449e55d7301f0f23fa3a175621bdc23ea67d /units
parentrepart: Determine verity sig size based on partition designator (diff)
downloadsystemd-df4d09f78eed6daef508a6a0421759b3c6767256.tar.xz
systemd-df4d09f78eed6daef508a6a0421759b3c6767256.zip
units: Order ldconfig after systemd-tmpfiles-setup.service
tmpfiles might be linking the configuration for ldconfig into /etc so make sure it runs after it so that the configuration is guaranteed to be in place.
Diffstat (limited to 'units')
-rw-r--r--units/ldconfig.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/units/ldconfig.service b/units/ldconfig.service
index f5fb01ee23..404fa011d5 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