[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sourcing init-functions



Hi Michael,

On Sat, Jan 16, 2010 at 10:57:48AM +0100, Michael Welle wrote:
> several init scripts use such a fragment for sourcing init-functions:

> if ! [ -x "/lib/lsb/init-functions" ]; then
>   . /lib/lsb/init-functions
> else
>   echo "E: /lib/lsb/init-functions not found, lsb-base (>= 3.0-6) needed"
>   exit 1
> fi

What do you mean, "several"?  What init scripts use this fragment?  No init
scripts on any of my systems do this.

> What is the reason to bail out if the execute bit is set? Or should I
> bug report these packages?

Looks like nonsense to me.  I think you should file a bug.  For one thing,
any init script that needs lsb-base (>= 3.0-6) *should depend on lsb-base
(>= 3.0-6)*, not throw an error if it's not installed.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: