On Thu, Aug 17, 2006 at 04:45:04PM +0200, Jan-Oliver Wagner wrote:
> Package: nessusd
> Severity: normal
> 
> Note: Tested with 2.2.8-1 backport on Sarge.
> 
> The Debian script to update Sys5 Init scripts is
> update-rc.d(8).
> 
> It fails for nessusd:
> 
> # update-rc.d nessusd defaults
>  System startup links for /etc/init.d/nessusd already exist.

Correct.

> This error message is because the Debian nessusd package
> already installs a symlink for stopping the daemon:

True.

> but none for starting the daemon.

True again but that's easy to setup, see below:

> But lacks an explanation how to use the init script.

Using the init-script is easy just '/etc/init.d/nessusd start' and
you are done. If you want to have the init-scripts run on startup then
either run:

# update-rc.d -f remove nessusd
# update-rc.d nessusd defaults

or run:

# for rc in 3 4 5 ; do  cd /etc/rc${rc}.d/ && ln -s ../init.d/nessusd 
S20nessusd;  done

I thought that was pretty obvious but if you think it is necessary I could
add it to the README file.

> Isn't it better to not install the stop-script for the runlevels by
> default?

No, since users might just want to start it up on demand and the system
should be able to stop it (properly, not through a SIGKILL) when it is
shutdown.

Attachment: signature.asc
Description: Digital signature

Reply via email to