[Pkg-sysvinit-devel] Bug#822654: Manpage: PIDFILE (none means no PID file), "none" should be quoted
J Mo
jmomo at jmomo.net
Tue Apr 26 06:54:23 UTC 2016
Package: sysvinit-utils
Version: 2.88dsf-59.3
Severity: minor
There are a huge number of spelling and terminology mistakes in this package.
One of them in particular which led me to expect incorrect behavior was from the man page:
"PIDFILE (none means no PID file)"
In this case, the word "none" is a literal, instead of an absence of.
I would suggest simply quoting the word none. If PIDFILE is in fact unset or zero-length, it is automatically set like so:
/lib/init/init-d-script
# Do not use pid file if $PIDFILE is 'none'. Otherwise, generate from
# $NAME or use the value provided by the init.d script.
if [ none = "$PIDFILE" ] ; then
PIDFILE=
elif [ -z "$PIDFILE" ] ; then
PIDFILE=/var/run/$NAME.pid
fi
Alternately, a complete re-wording of the sentence may be reasonable.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages sysvinit-utils depends on:
ii init-system-helpers 1.29
ii libc6 2.22-7
ii startpar 0.59-3
sysvinit-utils recommends no packages.
Versions of packages sysvinit-utils suggests:
pn bootlogd <none>
pn sash <none>
-- no debconf information
More information about the Pkg-sysvinit-devel
mailing list