From: Michal Sekletar Date: Thu, 17 Mar 2016 13:12:32 +0000 (+0100) Subject: units: run ldconfig.service after we have mounted all local file systems X-Git-Tag: v230~260^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2859%2Fhead;p=thirdparty%2Fsystemd.git 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. --- diff --git a/units/ldconfig.service b/units/ldconfig.service index 994edd9908d..0910fff054f 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]