Scott James Remnant wrote:
In particular, start-stop-daemon documents that --chuid is incomplete and, for example, doesn't even set supplementary groups.
Actually, no, it doesn't. The manpage says: When using this option you must realize that the primary and supplemental groups are set as well, even if the --group option is not specified.At the very least IMHO, the documentation should be updated for sarge if this patch isn't applied. Daemons that need proper user-switching behavior can't reliably use start-stop-daemon as-is, and that should be clearly documented.
Adam