[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#32031: dpkg: start-stop-daemon man page could be improved



Package: dpkg
Version: 1.4.0.23.2
Severity: wishlist

start-stop-daemon(8) says:
|       -p|--pidfile pid-file
|              Check  for  processes whose process-id is specified
|      	        in pid-file.

This has lead me to believe that "start-stop-daemon --start --pidfile
some.pid.file some.daemon will" creates that pid file. In reality
(after doing RTFS), I know that this call will check if the daemon
is already running and will not re-invoke the daemon if the process
mentioned in the pid file still exists.

Also, it should be documented that this mechanism will break if a
daemon doesn't write a pid file that only contains the pid of the
process.

Generally, the docs for start-stop-daemon assume familiarity with
its source that is not present with the normal user. I hope that
this will be fixed. Thanks.

Greetings
Marc




-- System Information
Debian Release: 2.0
Kernel Version: Linux torres 2.0.36 #3 Fri Nov 27 14:17:39 CET 1998 i586 unknown

Versions of the packages dpkg depends on:
ii  libc6           2.0.7t-1       The GNU C library version 2 (run-time files)
ii  libstdc++2.8    2.90.29-0.6    The GNU stdc++ library (egcs version)
ii  ncurses3.4      1.9.9g-8.8     Video terminal manipulation - shared librari


Reply to: