[Pkg-sysvinit-devel] Bug#743274: sysv-rc: update-rc.d warns about configuration changes ("current ... runlevel(s) ... overrides LSB defaults")

Ralf Jung post at ralfj.de
Tue Apr 1 08:52:36 UTC 2014


Package: sysv-rc
Version: 2.88dsf-51
Severity: normal

Dear Maintainer,

when using update-rc.d to disable automatic startup of a service, I get a warning as follows:

  $ sudo update-rc.d osspd disable
  insserv: warning: current start runlevel(s) (empty) of script `osspd' overrides LSB defaults (2 3 4 5).
  insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `osspd' overrides LSB defaults (0 1 6).

I tried for some time to fix my init script (I am maintainer of osspd), but as this error
shows up when disabling any service, I concluded that the script is probably all right.
Now I wonder what's going wrong here - judging from the fact that there is a "warning",
something seems to be wrong. But from all I can tell, what update-rc.d (or insserv)
is warning about is that I changed the configuration, which is exactly what I told it to do.
If that's the case, the warning should be removed - it is not worth a warning to tell the admin
that it changed the configuration to no longer match the default, if that's the sole purpose
of the action he just took. Actually, it is very confusing as the admin may think something
with what he just did is wrong.
If however there's something else that this warns about, I'd appreciate guidance how to fix my
script. And maybe the message should be made clearer.

Kind regards
Ralf


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14.0 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sysv-rc depends on:
ii  debconf [debconf-2.0]  1.5.52
ii  insserv                1.14.0-5
ii  sysvinit-utils         2.88dsf-51

Versions of packages sysv-rc recommends:
ii  lsb-base  4.1+Debian12

Versions of packages sysv-rc suggests:
pn  bum           <none>
pn  sysv-rc-conf  <none>

-- debconf information:
  sysv-rc/convert-legacy: true
  sysv-rc/unable-to-convert:



More information about the Pkg-sysvinit-devel mailing list