LINTIAN

# `init.d-script-should-always-start-service`

The specified file under `/etc/default/` includes a line such as `ENABLED=`, `DISABLED=`, `RUN=`, etc.

This is an older practice used so that the package's init script would not start the service until the local system administrator changed this value.

However, this hides from the underlying init system whether or not the daemon should actually be started leading to confusing behavior including `service package start` returning success without the service actually starting.

Please remove this mechanism and disable enabling the daemon on install via `dh_installinit --no-enable` or move to automatically starting it.

Severity: | `error`
Experimental: | `false`

## See also

- Managing the links (Section 9.3.3.1) in the Debian Policy Manual

- the update-rc.d(8) manual page

- the dh_installinit(1) manual page

- list of all the affected packages
- the source of this tag