insserv: warning: script 'service' missing LSB tags and overrides


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » System Level

insserv: warning: script 'service' missing LSB tags and overridesLast Modified: Mar 11, 2013, 4:20 pm
If you get any warnings similar to:

insserv: warning: script 'da-popb4smtp' missing LSB tags and overrides
insserv: warning: script 'directadmin' missing LSB tags and overrides
insserv: warning: script 'mysqld' missing LSB tags and overrides
insserv: warning: script 'httpd' missing LSB tags and overrides
insserv: warning: script 'startips' missing LSB tags and overrides
insserv: warning: script 'dovecot' missing LSB tags and overrides

they just mean that the special new tags have not yet been added to the boot scripts.  The script still work fine, but the insserv program wants them.   A simple workaround is to remove insserv:

apt-get remove insserv



If you wish to just add your own tags, edit the mentioned boot scripts, and add them.
For example, /etc/init.d/dovecot would have something like this near the top, somewhere after the #!/bin/sh line:

### BEGIN INIT INFO
# Provides:          dovecot
# Required-Start:    $local_fs $network
# Required-Stop:     $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: dovecot
# Description:       dovecot pop & imap daemon
### END INIT INFO

where the only important part is the Provides bit... just set it to the name of the service.

The descriptions can be any basic text.

2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST