summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-09-11 21:29:25 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2024-09-12 20:20:53 +0200
commite196136bc57adbc4c9fdf4baf86d4f54bb395794 (patch)
tree237321157c0d1bd1d0860f916f78583d47ecc7e4 /units
parentMerge pull request #34390 from poettering/bus-process-man-tweak (diff)
downloadsystemd-e196136bc57adbc4c9fdf4baf86d4f54bb395794.tar.xz
systemd-e196136bc57adbc4c9fdf4baf86d4f54bb395794.zip
units: Order ldconfig.service after systemd-confext.service
The configuration files required by ldconfig could be put into place by systemd-confext.service (ldconfig only looks in /etc) so let's order the service after systemd-confext.service to make sure any config files are in place before the service runs.
Diffstat (limited to 'units')
-rw-r--r--units/ldconfig.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/ldconfig.service b/units/ldconfig.service
index 53c6d4ecb1..f5fb01ee23 100644
--- a/units/ldconfig.service
+++ b/units/ldconfig.service
@@ -15,7 +15,8 @@ ConditionNeedsUpdate=|/etc
ConditionFileNotEmpty=|!/etc/ld.so.cache
DefaultDependencies=no
-After=local-fs.target
+# 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
Before=sysinit.target systemd-update-done.service
Conflicts=shutdown.target initrd-switch-root.target
Before=shutdown.target initrd-switch-root.target