From owner-svn-src-head@FreeBSD.ORG Thu Jan 26 13:58:59 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C62C41065672; Thu, 26 Jan 2012 13:58:59 +0000 (UTC) (envelope-from guy.helmer@palisadesystems.com) Received: from ps-1-a.compliancesafe.com (ps-1-a.compliancesafe.com [216.81.161.161]) by mx1.freebsd.org (Postfix) with ESMTP id 79E498FC0A; Thu, 26 Jan 2012 13:58:59 +0000 (UTC) Received: from mail.palisadesystems.com (localhost [127.0.0.1]) by ps-1-a.compliancesafe.com (8.14.4/8.14.3) with ESMTP id q0QDwiuQ065362; Thu, 26 Jan 2012 07:58:45 -0600 (CST) (envelope-from guy.helmer@palisadesystems.com) Received: from guysmbp.dyn.palisadesys.com (GuysMBP.dyn.palisadesys.com [172.16.2.90]) (authenticated bits=0) by mail.palisadesystems.com (8.14.3/8.14.3) with ESMTP id q0QDwY9G011447 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 26 Jan 2012 07:58:35 -0600 (CST) (envelope-from guy.helmer@palisadesystems.com) X-DKIM: Sendmail DKIM Filter v2.8.3 mail.palisadesystems.com q0QDwY9G011447 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=palisadesystems.com; s=mail; t=1327586315; bh=IRuJHAOUnDU6xfzTWlHTF7Ykx+qD9VRSh9tTrxArEMQ=; l=128; h=Subject:Mime-Version:Content-Type:From:In-Reply-To:Date:Cc: Content-Transfer-Encoding:Message-Id:References:To; b=XyI3Rbg9jJ2xbtAQEcPfU+2pFEmReXZHQCMdNzsOcGlWeOrfb5GCbfL08lMclY7X1 ysIuh4inmiUhP/hwBODuBbPUbQJyHPC5ce3AH6cQSMhgifEMpZI/jJjsBq/2d0ZukW RrkuBiI39qcUZmMhvw6klJHiBfJ4wVA4tV792avI= Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: Guy Helmer In-Reply-To: <4F21301F.6030608@FreeBSD.org> Date: Thu, 26 Jan 2012 07:58:35 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <28849462-95FC-455B-8FAE-10B50C41D7ED@palisadesystems.com> References: <201201251450.q0PEoCe8029243@svn.freebsd.org> <4F21301F.6030608@FreeBSD.org> To: Doug Barton X-Mailer: Apple Mail (2.1251.1) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.5 (mail.palisadesystems.com [172.16.1.5]); Thu, 26 Jan 2012 07:58:35 -0600 (CST) X-Palisade-MailScanner-Information: Please contact the ISP for more information X-Palisade-MailScanner-ID: q0QDwY9G011447 X-Palisade-MailScanner: Found to be clean X-Palisade-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-1.628, required 5, ALL_TRUSTED -1.00, BAYES_00 -1.90, RP_8BIT 1.27) X-Palisade-MailScanner-From: guy.helmer@palisadesystems.com X-Spam-Status: No X-PacketSure-Scanned: Yes 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-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2012 13:59:00 -0000 On Jan 26, 2012, at 4:51 AM, Doug Barton wrote: > 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 >>=20 >> 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. >=20 > 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? Sorry, I did not find any concrete suggestion for the text in the = messages I've seen. Is this more suitable? Index: usr.sbin/daemon/daemon.8 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- usr.sbin/daemon/daemon.8 (revision 230585) +++ usr.sbin/daemon/daemon.8 (working copy) @@ -61,8 +61,9 @@ functionality. If the .Fl u -option is used, the directory to contain the pidfile must be writable -by the specified user. +option is used, either the pidfile needs to have been pre-created +with appropriate ownership and permissions, or 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). -------- This message has been scanned by ComplianceSafe, powered by Palisade's PacketSure.