Lintian ReportsBETA

Tag versions

Winit.d-script-possible-missing-stop

The tag is present in Lintian version 2.113.26. That is the most recent version we know about.

We use semantic versions. The patch number is a commit step indicator relative to the 2.108.0 release tag in our Git repository.

You can find the detection logic for this version at commit a1e47cb. For merge requests, please use the latest version in the Lintian check init-d.

Visibility: warning

The given /etc/init.d script indicates it should be stopped at one of the runlevels 0, 1, or 6 but not at all of them. This is usually a mistake. Normally, facilities that need to be stopped at any of those runlevels need to be stopped at all of them.

For example, if it is safe for the facility provided by this init script to be stopped by sendsigs at runlevels 0 and 6, there should be no reason to special case runlevel 1, where killprocs would stop it. If the facility needs special shutdown handling when rebooting the system (runlevel 6), it probably needs the same handling when halting the system (runlevel 0) or switching to single-user mode (runlevel 1).

The following 9 source packages in the archive triggered the tag 10 times (in any Lintian version).

We found 8 overrides. The tag performed 20% of the time.