svn commit: r229667 - head/usr.sbin/daemon
Doug Barton
dougb at FreeBSD.org
Fri Jan 6 02:58:12 UTC 2012
On 01/05/2012 14:48, Guy Helmer wrote:
> Allow daemon(8) to run pidfile_open() before relenquishing privileges
> so pid files can be written in /var/run when started as root.
I'm not sure how useful this is since when daemon is exiting it won't be
able to remove the pid file (unless I'm missing something).
Isn't it better to pre-create the pid file with the proper permissions
for the unprivileged user?
Doug
--
You can observe a lot just by watching. -- Yogi Berra
Breadth of IT experience, and depth of knowledge in the DNS.
Yours for the right price. :) http://SupersetSolutions.com/
More information about the svn-src-all
mailing list