Mass bug filing: failure to use invoke-rc.d when required
The latest version of the Debian Policy Manual has made the use of
invoke-rc.d mandatory, if that command exists. Directly calling an
/etc/init.d script in maintainer scripts is no longer allowed, unless
invoke-rc.d doesn't exist on the system. See section 9.3.3.2.[1]
[1]
http://www.us.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3.2
There is a lintian check for this, or will be in the next version.
Previously the use of invoke-rc.d was only strongly recommended. That
was enough, however, to make sure that most packages that have init.d
scripts use them via invoke-rc.d.
The policy change has made a number of packages buggy. I have used the
attached script to find such packages, and then analyzed the results
manually, and come up with the list of problematic packages below. I've
also checked that the packages don't already have open bugs about this;
I may have missed some, in which case please forgive me and point out
the error.
I propose to file bugs against the packages before the end of this week,
and, after a couple of weeks, for packages that haven't been fixed
already, start making NMUs (via DELAYED/7, since they're not RC) to get
the packages fixed.
The bug reports will have the following text (modulo any changes -devel
suggests):
As of Debian Policy Manual version 3.7.2, the use of invoke-rc.d to
run init.d scripts has been made mandatory. Earlier, its use was
strongly recommended.
In most cases the fix should be simple, replace this:
/etc/init.d/package <action>
with this:
if which invoke-rc.d >/dev/null 2>&1; then
invoke-rc.d package <action>
else
/etc/init.d/package <action>
fi
On May 13 and 14, I checked all packages in Debian sid, and found
that your package needs to be changed because of this policy change.
This bug is part of a mass-filing to get all such bugs fixed.
If my checking was wrong, I apologize.
Hopefully, this will mean that etch users will be able to rely on having
policy-rc.d work. Which would be nice.
Buggy packages:
Ben Armstrong <synrg@sanctuary.nslug.ns.ca>
xpilot-ng
Alan Bain <afrb2@debian.org>
rbootd
Mark Baker <mark@mnb.org.uk>
exim
Daniel Baumann <daniel.baumann@panthera-systems.net>
bricolage
KÄ?stutis BiliÅ«nas <kebil@kaunas.init.lt>
freedict
Ross Burton <ross@debian.org>
avahi
Ludovic Drolez <ldrolez@debian.org>
adzapper
Bernd Eckenfels <ecki@debian.org>
net-acct
Khalid El Fathi <invent@edena-fr.org>
linuxlogo
Turbo Fredriksson <turbo@debian.org>
libroxen-imho
roxen4
tcpquota
Stephen Frost <sfrost@debian.org>
libnss-ldap
Peter S Galbraith <psg@debian.org>
xtide-data
John Goerzen <jgoerzen@complete.org>
dict-bouvier
dict-gazetteer2k
dict-moby-thesaurus
Debian Firebird Group <pkg-firebird-general@lists.alioth.debian.org>
firebird2
Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>
xsp
Debian QA Group <packages@qa.debian.org>
eco5000
slbreflex
Marc Haber <mh+debian-packages@zugschlus.de>
clamav-data
Chris Hanson <cph@debian.org>
oss-preserve
Bob Hilliard <hilliard@debian.org>
dict-misc
Simon Horman <horms@debian.org>
heartbeat-2
Ian Jackson <ian@chiark.greenend.org.uk>
sauce
Sam Johnston <samj@aos.net.au>
reseed
Karl E. Jorgensen <karl@jorgensen.com>
battery-stats
Tibor Koleszar <oldw@debian.org>
apcd
Yoshito Komatsu <ykomatsu@debian.org>
canna-shion
Jeff Licquia <licquia@debian.org>
diald
Ola Lundqvist <opal@debian.org>
ntop
Jonathan McDowell <noodles@earth.li>
fidogate
Michael Meskes <meskes@debian.org>
quota
Millis Miller <millis@faztek.org>
iptotal
Gergely Nagy <algernon@debian.org>
tama
Jaakko Niemi <liiwi@debian.org>
sfs
Javier Fernandez-Sanguino Pen~a <jfs@computer.org>
nessus-core
Simon Richter <sjr@debian.org>
towitoko
Piotr Roszatycki <dexter@debian.org>
fonty
Vladimir Shakhov <lumpen.intellectual@gmail.com>
wdm
Preston Smith <psmith@foobird.net>
sendpage
Norbert Tretkowski <nobse@debian.org>
mailgraph
Brian White <bcwhite@pobox.com>
genpower
jukebox-mercury
squid-prefetch
Discover Workers <discover-workers@lists.progeny.com>
discover
James R. Van Zandt <jrv@debian.org>
adjtimex
tony mancill <tmancill@debian.org>
netsaint-statd
Sam Hocevar (Debian packages) <sam+deb@zoy.org>
gnudip
Reply to: