From owner-svn-src-all@FreeBSD.ORG Fri Jan 20 17:04:44 2012 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8674C106564A; Fri, 20 Jan 2012 17:04:44 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id 947E28FC0C; Fri, 20 Jan 2012 17:04:42 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.4/8.14.4) with ESMTP id q0KH3eWa087278; Fri, 20 Jan 2012 11:03:40 -0600 (CST) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.4/8.14.4/Submit) id q0KH3eYd087277; Fri, 20 Jan 2012 11:03:40 -0600 (CST) (envelope-from brooks) Date: Fri, 20 Jan 2012 11:03:40 -0600 From: Brooks Davis To: Eygene Ryabinkin Message-ID: <20120120170340.GD87047@lor.one-eyed-alien.net> References: <201201120648.q0C6mBio096662@svn.freebsd.org> <201201120748.28564.jhb@freebsd.org> <201201121438.16674.jhb@freebsd.org> <20120119172759.GC60214@lor.one-eyed-alien.net> <7dcvawMgnE9O34bJ7H3SrdYasTs@HbohoBmewgxm0atwUoKO7zhAAgw> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xB0nW4MQa6jZONgY" Content-Disposition: inline In-Reply-To: <7dcvawMgnE9O34bJ7H3SrdYasTs@HbohoBmewgxm0atwUoKO7zhAAgw> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, John Baldwin Subject: Re: svn commit: r230007 - in head: etc etc/rc.d share/man/man8 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: Fri, 20 Jan 2012 17:04:44 -0000 --xB0nW4MQa6jZONgY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 20, 2012 at 03:06:02PM +0400, Eygene Ryabinkin wrote: > Thu, Jan 19, 2012 at 11:27:59AM -0600, Brooks Davis wrote: > > Arguably it should be moved to /libexec since it's not an rc.d > > script and simply uses the framework because it had similar needs >=20 > Well, I fear that some user scripts may rely on the dhclient path > to be /etc/rc.d/dhclient, so such a change could lead to the POLA > violation. So, all pros and cons of such a change should be carefully > weighted. What is the gain from moving it to /libexec apart from > avoiding pollution of /etc/rc.d by non-rc.d scripts? It is a good > thing to have for the clear design, but having dhclient in /etc/rc.d > has no effect on the boot process, since it is marked 'nostart' and > it allows people to use 'service dhclient restart $if' without hacking > the service to still allow to use this command. We can, of course, > move it to /libexec/rc.d/ and add this path to the local_startup, but > I doubt that this approach will give any real gain, though I can be > missing some important points. That's basically why I didn't move it in the first place. It's clearly in the wrong place, but people will expect it there so there isn't much point in moving it. -- Brooks --xB0nW4MQa6jZONgY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFPGZ5rXY6L6fI4GtQRAgdiAJ4qj0iTTyE6LoVE560pUjnoFzW9hwCcCErw ce9DsyPJpJC1zAM4vN/99SY= =PCJs -----END PGP SIGNATURE----- --xB0nW4MQa6jZONgY--