Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

missing LSB tags and overrides

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
samghami
Posts: 2
Joined: 2012-04-04 18:39

missing LSB tags and overrides

#1 Post by samghami »

when I run "apt-get upgrade" I have an error:
insserv: warning: script 'K01netconf.sh' missing LSB tags and overrides
insserv: warning: script 'netconf.sh' missing LSB tags and overrides

Would you have a solution ?


Ps: I'm running Debian 6

I'm a french user...I try to speak English as much as possible

kevmitch
Posts: 498
Joined: 2008-01-29 20:43

Re: missing LSB tags and overrides

#2 Post by kevmitch »

This is referring to th init script /etc/init.d/netconf.sh, which doesn't appear to be part of debian. As a result, it's not surprising that it is not up to spec. It doesn't have headers indicating what order it needs to be started at boot. To avoid seeing this message, you could add a boilerplate header like the one in /etc/init.d/skeleton:

Code: Select all

### BEGIN INIT INFO
# Provides:          skeleton
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Example initscript
# Description:       This file should be used to construct scripts to be
#                    placed in /etc/init.d.
### END INIT INFO

samghami
Posts: 2
Joined: 2012-04-04 18:39

Re: missing LSB tags and overrides

#3 Post by samghami »

inside of my file looks like this: nano /etc/init.d/netconf.sh


script de configuration réseau

ip route add 46.105.107.254 dev eth0
ip route add default via 46.105.107.254 dev eth0

Post Reply