From f66a1c48cf5b904205c1b1f110b4c9a79f77c5f6 Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Thu, 17 Mar 2016 14:12:32 +0100 Subject: 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. --- units/ldconfig.service | 3 +-- 1 file changed, 1 insertion(+), 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] -- cgit v1.2.3-54-g00ecf