• Bug#579205: Problems using sysv-rc-conf and update-rc.d together

    From Andrew Bower@21:1/5 to Garb Dowle on Sun May 18 22:40:01 2025
    Control: tags -1 + moreinfo

    Hi Garb,

    On Mon, Apr 26, 2010 at 10:49:58AM +0200, Garb Dowle wrote:
    After removing all start links for a process like e.g. ntp via sysv-rc-conf, then setting the start links again for ntp with "update-rc.d ntp defaults" wont't set the start links. It says: "System startup links fo
    /etc/init.d/ntp already exists.", although the start links are not set.

    I'm afraid I don't see this issue: with the current version of
    update-rc.d (which is likely to be considerably different) the error
    from setting the defaults is different:

    # sysv-rc-conf saned off
    # insserv -s | grep saned
    K:01:0 1 2 3 4 5 6:saned
    # update-rc.d saned defaults
    insserv: warning: current start runlevel(s) (empty) of script `saned' overrides LSB defaults (2 3 4 5).
    insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `saned' overrides LSB defaults (0 1 6).

    This is normal now and always happens when the current settings are not identical to the LSB defaults defined in the init script. The sequence
    you now have to follow to reset defaults is as follows, and this works
    for me:

    # update-rc.d -f saned remove
    # update-rc.d saned defaults
    # insserv -s | grep saned
    K:01:0 1 6:saned
    S:17:2 3 4 5:saned

    Hope this helps,

    Andrew

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)