summaryrefslogtreecommitdiff
path: root/units/ldconfig.service
diff options
context:
space:
mode:
authorMichal Sekletar <msekleta@redhat.com>2016-03-17 14:12:32 +0100
committerMichal Sekletar <msekleta@redhat.com>2016-03-17 14:41:26 +0100
commitf66a1c48cf5b904205c1b1f110b4c9a79f77c5f6 (patch)
tree32c1e86c9a27648325eb7bd95d25102fe897302c /units/ldconfig.service
parentb18eb0a676bdd5e00ce43ec31540653f94f82c83 (diff)
units: run ldconfig.service after we have mounted all local file systems
Also drop ConditionNeedsUpdate=|/etc. Regardless if system is updated online or offline, updating dynamic loader cache should always be responsibility of packaging tools/scripts.
Diffstat (limited to 'units/ldconfig.service')
-rw-r--r--units/ldconfig.service3
1 files changed, 1 insertions, 2 deletions
diff --git a/units/ldconfig.service b/units/ldconfig.service
index 994edd9908..0910fff054 100644
--- a/units/ldconfig.service
+++ b/units/ldconfig.service
@@ -10,9 +10,8 @@ Description=Rebuild Dynamic Linker Cache
Documentation=man:ldconfig(8)
DefaultDependencies=no
Conflicts=shutdown.target
-After=systemd-remount-fs.service
+After=local-fs.target
Before=sysinit.target shutdown.target systemd-update-done.service
-ConditionNeedsUpdate=|/etc
ConditionFileNotEmpty=|!/etc/ld.so.cache
[Service]