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

insserv: warning: current stop runlevel(s) ... overwrites defaults



Hi,

I recently switch to dependency-based boot order. While updating one of my
packages I noticed an inconsistency of init script LSB header and
update-rc.d call.

I have trouble figuring out what would be the appropriate fix. The
LSB header looks like this:

### BEGIN INIT INFO
# Provides:          arno-iptables-firewall
# Required-Start:    $syslog $local_fs $network
# Required-Stop:     $syslog $local_fs $network
# Default-Start:     S 2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Setup iptables firewall configuration
### END INIT INFO


I am trying to find the matching update-rc.d call, but no luck so far:

: update-rc.d arno-iptables-firewall start 41 2 3 4 5 S . stop 34 0 1 6 .
update-rc.d: using dependency based boot sequencing
insserv: warning: current start runlevel(s) (S) of script `arno-iptables-firewall' overwrites defaults (2 3 4 5 S).
insserv: warning: current stop runlevel(s) (empty) of script `arno-iptables-firewall' overwrites defaults (0 1 6).


The above call should match precisely what I want -- it looks like the
arguments of the call are not considered as a whole. Going with the
defaults also doesn't help:


: update-rc.d arno-iptables-firewall defaults 41 34
update-rc.d: using dependency based boot sequencing
update-rc.d: warning: arno-iptables-firewall start runlevel arguments (2
3 4 5) do not match LSB Default-Start values (S 2 3 4 5)
insserv: warning: current start runlevel(s) (S) of script
`arno-iptables-firewall' overwrites defaults (2 3 4 5 S).
insserv: warning: current stop runlevel(s) (empty) of script
`arno-iptables-firewall' overwrites defaults (0 1 6).


Can anyone please point me to the problem and its solution?


Thanks,

Michael

-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://mih.voxindeserto.de


Reply to: