Package: procps
Version: 1:3.2.6-2
Severity: important
Debian Policy states (ยง9.3.1):
"Also, if the script name ends `.sh', the script will be sourced in
runlevel `S' rather that being run in a forked subprocess, but will
be explicitly run by `sh' in all other runlevels".
Accordingly, .sh scripts run from /etc/rcS.d/ must not do "exit".
/etc/init.d/procps.sh is run from /etc/rcS.d/ and it does "exit".
/etc/rcS.d$ grep exit *procps.sh
# Check for existance of the default file and exit if not there,
[ -r /etc/default/rcS ] || exit 0
which sysctl > /dev/null || exit 0
exit 0
exit 1
--
Thomas Hood