Re: hostname.sh nicht LSB konform? "update-rc.d hostname.sh defaults" -> start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (S)
On Tue, 1 Mar 2011 08:47:26 +0100, Alexander Skwar <alexanders.mailinglists+nospam@gmail.com> wrote:
>
> --($ /etc)-- update-rc.d hostname.sh defaults
> update-rc.d: using dependency based boot sequencing
> update-rc.d: warning: hostname.sh start runlevel arguments (2 3 4
> 5) do not match LSB Default-Start values (S)
> update-rc.d: warning: hostname.sh stop runlevel arguments (0 1 6)
> do not match LSB Default-Stop values (none)
>
> Ist das normal für Squeeze?
ja, denn "update-rc.d ... defaults" macht folgendes:
update-rc.d(8):
"""For legacy mode, the following section documents the old behaviour.
When run with either the defaults, start, or stop options,
(...)
If defaults is used then update-rc.d will make links to start the
service in runlevels 2345 and to stop the service in runlevels 016."""
Um die LSB-Infos auszuwerten ist nun das Kommando insserv auch in Debian
verfuegbar.
insserv(8):
"""insserv enables an installed system init script (`boot script') by
reading the comment header of the script,"
Peter
Reply to: