From owner-cvs-src-old@FreeBSD.ORG Fri Apr 29 20:44:51 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 06EC91065672 for ; Fri, 29 Apr 2011 20:44:51 +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 E91828FC0A for ; Fri, 29 Apr 2011 20:44:50 +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 p3TKioLA044423 for ; Fri, 29 Apr 2011 20:44:50 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p3TKioXt044422 for cvs-src-old@freebsd.org; Fri, 29 Apr 2011 20:44:50 GMT (envelope-from dougb@repoman.freebsd.org) Message-Id: <201104292044.p3TKioXt044422@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:44:39 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 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:44:51 -0000 dougb 2011-04-29 20:44:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc rc.subr etc/defaults rc.conf etc/rc.d devd named Log: SVN rev 221222 on 2011-04-29 20:44:39Z 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.318.2.26 +0 -1 src/etc/defaults/rc.conf 1.10.2.2 +22 -5 src/etc/rc.d/devd 1.26.2.7 +17 -1 src/etc/rc.d/named 1.77.2.12 +42 -0 src/etc/rc.subr