]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: run ldconfig.service after we have mounted all local file systems 2859/head
authorMichal Sekletar <msekleta@redhat.com>
Thu, 17 Mar 2016 13:12:32 +0000 (14:12 +0100)
committerMichal Sekletar <msekleta@redhat.com>
Thu, 17 Mar 2016 13:41:26 +0000 (14:41 +0100)
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

index 994edd9908de795c61bf1b437625b3aa1f162390..0910fff054f87ffaa286a1578bd065558d7ddd75 100644 (file)
@@ -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]