lookup-domain domain script misses LSB headers for debian 6.0

It seems the lookup-domain script doesn't have the now required LSB headers yet: http://wiki.debian.org/LSBInitScripts

This causes some apt-get upgrades to fail, for instance of openssh-server.

Status: 
Closed (fixed)

Comments

Thanks for pointing this out .. it will be fixed in the next Webmin release.

The work-around till then is to add the line init_info=1 to /etc/webmin/init/config - this will cause any future init scripts to get the right headers.

how should the headers look like? e.g. how do i fix the existing files? running webmin 1.534 and virtualmin pro 3.83 on debian 6.0

Hal9000: You need to add a delimited block as explained on the above link from the Debian wiki (starting with ### BEGIN INIT INFO).

lol ok, i thought the content was important, but yeah it works fine now :) thanks!

The top of the lookup-domain init script should look like this...

#!/bin/sh
### BEGIN INIT INFO
# Provides:          lookup-domain
# Required-Start:    $local_fs $remote_fs $network $syslog
# Required-Stop:     $local_fs $remote_fs $network $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start lookup-domain daemon at boot time
# Description:       Daemon for quickly looking up Virtualmin servers from procmail
### END INIT INFO

Automatically closed -- issue fixed for 2 weeks with no activity.