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

Andrey Borzenkov arvidjaar at gmail.com
Wed Jul 30 00:23:23 PDT 2014


On Wed, Jul 30, 2014 at 11:02 AM, Umut Tezduyar Lindskog
<umut.tezduyar at axis.com> wrote:
> ---
>  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
>


Is it really possible on Linux?


More information about the systemd-devel mailing list