From owner-svn-src-all@FreeBSD.ORG Thu Jan 26 10:51:15 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id A65C7106566B; Thu, 26 Jan 2012 10:51:15 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-150-251.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 264641514C9; Thu, 26 Jan 2012 10:51:12 +0000 (UTC) Message-ID: <4F21301F.6030608@FreeBSD.org> Date: Thu, 26 Jan 2012 02:51:11 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120119 Thunderbird/9.0 MIME-Version: 1.0 To: Guy Helmer References: <201201251450.q0PEoCe8029243@svn.freebsd.org> In-Reply-To: <201201251450.q0PEoCe8029243@svn.freebsd.org> X-Enigmail-Version: 1.3.5 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r230541 - head/usr.sbin/daemon X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2012 10:51:15 -0000 On 01/25/2012 06:50, Guy Helmer wrote: > Author: ghelmer > Date: Wed Jan 25 14:50:12 2012 > New Revision: 230541 > URL: http://svn.freebsd.org/changeset/base/230541 > > Log: > Revert 229667: After some discussion of this change, it seems it is > better to leave the pidfile open where it was. Add a note to the > man page describing pidfile strategies to use if the daemon is to > be run as a user other than root. Did you see the message I sent requesting that you mention the alternative of pre-creating the pidfile with the right permissions, and provided a proposed text to that effect? > Modified: > head/usr.sbin/daemon/daemon.8 > head/usr.sbin/daemon/daemon.c > > Modified: head/usr.sbin/daemon/daemon.8 > ============================================================================== > --- head/usr.sbin/daemon/daemon.8 Wed Jan 25 14:38:00 2012 (r230540) > +++ head/usr.sbin/daemon/daemon.8 Wed Jan 25 14:50:12 2012 (r230541) > @@ -59,6 +59,10 @@ Write the ID of the created process into > using the > .Xr pidfile 3 > functionality. > +If the > +.Fl u > +option is used, the directory to contain the pidfile must be writable > +by the specified user. > Note, that the file will be created shortly before the process is > actually executed, and will remain after the process exits (although > it will be removed if the execution fails). -- It's always a long day; 86400 doesn't fit into a short. Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/