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

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Sat Aug 2 21:34:36 PDT 2014


On Wed, Jul 30, 2014 at 09:27:24AM +0200, Umut Tezduyar Lindskog wrote:
> Hi,
> 
> On Wed, Jul 30, 2014 at 9:23 AM, Andrey Borzenkov <arvidjaar at gmail.com> wrote:
> > 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?
> 
> I guess so since our embedded product doesn't have /sbin/ldconfig.
> Umut
Applied.

Zbyszek


More information about the systemd-devel mailing list