reassign 365736 lsb-base
retitle 365736 pidofproc may not use /bin/pidof if pid file is specified
stop
Am Dienstag, 2. Mai 2006 14:47 schrieb Matthew Woodcraft:
Package: slony1-bin
Version: 1.1.5-1
If multiple slon daemon instances are configured, '/etc/init.d/slony1
status' reports that they are all running if any one of them is.
I think this is caused by pidofproc() falling back to /bin/pidof when
the pidfile for an instance does not exist.
-M-
To lsb-base maintainer,
the init script functions start_daemon, killproc and pidofproc may not
use /bin/pidof or any other mechanism for determining whether the process is
running if a pid file has been specified using the -p option.
Quoting
http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptfunc.html:
If the -p pidfile option is specified, and the named pidfile exists, a single
line at the start of the pidfile shall be read. If this line contains one or
more numeric values, separated by spaces, these values shall be used. If
the -p pidfile option is specified and the named pidfile does not exist, the
functions shall assume that the daemon is not running.
and
Conforming implementations may use other mechanisms besides those based on
pidfiles, unless the -p pidfile option has been used.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]