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

Re: solving the network-manager-in-gnome problem

Hi Michael,

On 2012-07-22 16:25:15 +0200, Michael Stapelberg wrote:
> Quoting Vincent Lefevre (2012-07-22 15:53:13)
> > I don't think there's anything wrong with enhancing the way that
> > sysvinit works, as long as the user can still use the update-rc.d
> > method.
> There is: update-rc.d is a defined interface which works with sysvinit
> and other init systems (soon). The ENABLE/DISABLE-mechanism is specific
> to only one init system and it’s not consistent between various
> packages.

OK, if Debian plans to support other init systems, that's fine.

> > Anyway the Debian Policy Manual doesn't seem to
> >   * forbid ENABLE/DISABLE switches,
> >   * require that daemons should be run by default.
> It doesn’t, but dh_installinit starts init scripts by default (which has
> no effect in case of ENABLE/DISABLE switches of course).

I don't understand what you mean here. For instance, in case of wicd,

# Automatically added by dh_installinit
if [ -x "/etc/init.d/wicd" ]; then
        update-rc.d wicd defaults >/dev/null
        if [ -n "$2" ]; then
        invoke-rc.d wicd $_dh_action || exit $?
# End automatically added section

and the switch will be honored.

Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply to: