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

Bug#149709: BUG] section 10.3.3 does not provide enough guidance for package maintainers to use update-rc.d correctly



On Wed, 12 Jun 2002, Wichert Akkerman wrote:
> Previously Branden Robinson wrote:
> > 2) The examples advise people to redirect the output of update-rc.d to
> > /dev/null.  Adam Heath and I feel this is a bad idea, and even if this
> > change is not made, some people (like the author of lintian; see Bug
> > #149700) think that this is normative.  To me the example looks
> > informative, not normative, as it would be inappropriate to put the
> > example text into an ELF maintainer "script" or a perl script.
> 
> I agree. if update-rc.d is too chatty for use in a maintainer script it
> either needs to be more silent and a verbose option added, or a new
> option for silent running needs to be added.

So do I. update-rc.d is part of the init script structure for maintainer
scripts, and its defaults should be tailored for that use. If people feel
the need to >/dev/null its output, it must be fixed.  Humans can use -v for
verbose mode, if they want that.

Also, proper examples for updating the runlevels structure need to be added
to policy.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: