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

Re: Sourcing init-functions

On Mon, Jan 25, 2010 at 08:50:04AM +0100, Gabor Gombas wrote:
> On Sat, Jan 16, 2010 at 02:36:48AM -0800, Steve Langasek wrote:

> > 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.

> Dependencies do not help if the package gets uninstalled but the init
> script is not purged.

The right way to handle that is:

 [ -x /path/to/my/daemon ] || exit 0

- *not* throwing an error message about a missing dependency.

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: