From owner-cvs-src-old@FreeBSD.ORG Fri Apr 29 20:32:15 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08835106564A for ; Fri, 29 Apr 2011 20:32:15 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EAC078FC08 for ; Fri, 29 Apr 2011 20:32:14 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p3TKWEYe043123 for ; Fri, 29 Apr 2011 20:32:14 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p3TKWEBJ043122 for cvs-src-old@freebsd.org; Fri, 29 Apr 2011 20:32:14 GMT (envelope-from dougb@repoman.freebsd.org) Message-Id: <201104292032.p3TKWEBJ043122@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to dougb@repoman.freebsd.org using -f From: Doug Barton Date: Fri, 29 Apr 2011 20:31:52 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/etc rc.subr src/etc/defaults rc.conf src/etc/rc.d devd named X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2011 20:32:15 -0000 dougb 2011-04-29 20:31:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) etc rc.subr etc/defaults rc.conf etc/rc.d devd named Log: SVN rev 221221 on 2011-04-29 20:31:52Z by dougb MFC r216744 for rc.d/devd: Add pidfile [1] While I'm here, don't run the sysctl frob unconditionally, and s/sysctl/$SYSCTL/ MFC r220962: Introduce to rc.subr get_pidfile_from_conf(). It does just what it sounds like, determines the path to a pid file as it is specified in a conf file. Use the new feature for rc.d/named and rc.d/devd, the 2 services in the base that list their pid files in their conf files. Remove the now-obsolete named_pidfile, and warn users if they have it set. MFC r220963: Improve the error handling for the new get_pidfile_from_conf() Revision Changes Path 1.358.2.17 +0 -1 src/etc/defaults/rc.conf 1.11.2.2 +22 -5 src/etc/rc.d/devd 1.31.2.5 +17 -1 src/etc/rc.d/named 1.88.2.16 +43 -0 src/etc/rc.subr