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

Re: should an init-script print output, if verbose is set to no in /etc/default/rcS or by /lib/init/vars.sh?



On Tue, Apr 17, 2007 at 06:31:35PM +0200, Christian Perrier wrote:
> Quoting Petter Reinholdtsen (pere@hungry.com):

> > [Evgeni Golov]
> > > Now my question to the init-gurus/maintainers is: is the behavior of
> > > my script correct, or should verbose mean: "print minimal status
> > > information, but suppress warnings etc"?

> > I would recommend only printing warning and error messages when
> > VERBOSE is disabled, so in this regard you script sounds correct.

> And, speaking for the samba package maintainers and as the person who,
> IIRC, reported the suggestion to use LSB stuff for openssh, I can tell
> that not using VERBOSE is nothing but ignorance on my side.

And where in policy are all of these requirements documented?

Further, why should individual init scripts that are already going to all
the effort of using the LSB interfaces be expected to handle VERBOSE
individually?  Why isn't this part of the log_* implementation?

Also, why is /lib/init/vars.sh not set +e-clean?

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



Reply to: