[systemd-devel] [PATCH] ldconfig: dont run it if ldconfig is not installed

Umut Tezduyar Lindskog umut.tezduyar at axis.com
Wed Jul 30 00:02:14 PDT 2014


---
 units/ldconfig.service |    1 +
 1 file changed, 1 insertion(+)

diff --git a/units/ldconfig.service b/units/ldconfig.service
index 43c145b..09a2b74 100644
--- a/units/ldconfig.service
+++ b/units/ldconfig.service
@@ -13,6 +13,7 @@ Conflicts=shutdown.target
 After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
 Before=sysinit.target shutdown.target systemd-update-done.service
 ConditionNeedsUpdate=/etc
+ConditionFileIsExecutable=/sbin/ldconfig
 
 [Service]
 Type=oneshot
-- 
1.7.10.4



More information about the systemd-devel mailing list