diff options
author | Michal Sekletar <msekleta@redhat.com> | 2016-03-17 14:12:32 +0100 |
---|---|---|
committer | Michal Sekletar <msekleta@redhat.com> | 2016-03-17 14:41:26 +0100 |
commit | f66a1c48cf5b904205c1b1f110b4c9a79f77c5f6 (patch) | |
tree | 32c1e86c9a27648325eb7bd95d25102fe897302c | |
parent | b18eb0a676bdd5e00ce43ec31540653f94f82c83 (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.
-rw-r--r-- | units/ldconfig.service | 3 |
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] |