[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



Package: debian-policy
Version: 3.5.6.1
Severity: normal

A couple of points regarding policy 10.3.3 ("Managing the links"):

1) The policy does not mention that if your package changes its
runlevels or priority, that "update-rc.d package remove" MUST be called,
or update-rc.d will leave the existing links in place.  Given that many
other tools named "update-*" in Debian don't work this way, it might be
advisable for the examples in Policy to mention this.

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.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux zuul.progeny.com 2.4.18-386 #2 Sun Apr 14 10:38:08 EST 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages debian-policy depends on:
ii  fileutils                     4.1-10     GNU file management utilities

-- no debconf information



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



Reply to: