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 <[EMAIL PROTECTED]>
       xpilot-ng
    
    Alan Bain <[EMAIL PROTECTED]>
       rbootd
    
    Mark Baker <[EMAIL PROTECTED]>
       exim
    
    Daniel Baumann <[EMAIL PROTECTED]>
       bricolage
    
    Kęstutis Biliūnas <[EMAIL PROTECTED]>
       freedict
    
    Ross Burton <[EMAIL PROTECTED]>
       avahi
    
    Ludovic Drolez <[EMAIL PROTECTED]>
       adzapper
    
    Bernd Eckenfels <[EMAIL PROTECTED]>
       net-acct
    
    Khalid El Fathi <[EMAIL PROTECTED]>
       linuxlogo
    
    Turbo Fredriksson <[EMAIL PROTECTED]>
       libroxen-imho
       roxen4
       tcpquota
    
    Stephen Frost <[EMAIL PROTECTED]>
       libnss-ldap
    
    Peter S Galbraith <[EMAIL PROTECTED]>
       xtide-data
    
    John Goerzen <[EMAIL PROTECTED]>
       dict-bouvier
       dict-gazetteer2k
       dict-moby-thesaurus
    
    Debian Firebird Group <[EMAIL PROTECTED]>
       firebird2
    
    Debian Mono Group <[EMAIL PROTECTED]>
       xsp
    
    Debian QA Group <[EMAIL PROTECTED]>
       eco5000
       slbreflex
    
    Marc Haber <[EMAIL PROTECTED]>
       clamav-data
    
    Chris Hanson <[EMAIL PROTECTED]>
       oss-preserve
    
    Bob Hilliard <[EMAIL PROTECTED]>
       dict-misc
    
    Simon Horman <[EMAIL PROTECTED]>
       heartbeat-2
    
    Ian Jackson <[EMAIL PROTECTED]>
       sauce
    
    Sam Johnston <[EMAIL PROTECTED]>
       reseed
    
    Karl E. Jorgensen <[EMAIL PROTECTED]>
       battery-stats
    
    Tibor Koleszar <[EMAIL PROTECTED]>
       apcd
    
    Yoshito Komatsu <[EMAIL PROTECTED]>
       canna-shion
    
    Jeff Licquia <[EMAIL PROTECTED]>
       diald
    
    Ola Lundqvist <[EMAIL PROTECTED]>
       ntop
    
    Jonathan McDowell <[EMAIL PROTECTED]>
       fidogate
    
    Michael Meskes <[EMAIL PROTECTED]>
       quota
    
    Millis Miller <[EMAIL PROTECTED]>
       iptotal
    
    Gergely Nagy <[EMAIL PROTECTED]>
       tama
    
    Jaakko Niemi <[EMAIL PROTECTED]>
       sfs
    
    Javier Fernandez-Sanguino Pen~a <[EMAIL PROTECTED]>
       nessus-core
    
    Simon Richter <[EMAIL PROTECTED]>
       towitoko
    
    Piotr Roszatycki <[EMAIL PROTECTED]>
       fonty
    
    Vladimir Shakhov <[EMAIL PROTECTED]>
       wdm
    
    Preston Smith <[EMAIL PROTECTED]>
       sendpage
    
    Norbert Tretkowski <[EMAIL PROTECTED]>
       mailgraph
    
    Brian White <[EMAIL PROTECTED]>
       genpower
       jukebox-mercury
       squid-prefetch
    
    Discover Workers <[EMAIL PROTECTED]>
       discover
    
    James R. Van Zandt <[EMAIL PROTECTED]>
       adjtimex
    
    tony mancill <[EMAIL PROTECTED]>
       netsaint-statd
    
    Sam Hocevar (Debian packages) <[EMAIL PROTECTED]>
       gnudip



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to