Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2012 11:03:40 -0600
From:      Brooks Davis <brooks@FreeBSD.org>
To:        Eygene Ryabinkin <rea@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, John Baldwin <jhb@FreeBSD.org>
Subject:   Re: svn commit: r230007 - in head: etc etc/rc.d share/man/man8
Message-ID:  <20120120170340.GD87047@lor.one-eyed-alien.net>
In-Reply-To: <7dcvawMgnE9O34bJ7H3SrdYasTs@HbohoBmewgxm0atwUoKO7zhAAgw>
References:  <201201120648.q0C6mBio096662@svn.freebsd.org> <201201120748.28564.jhb@freebsd.org> <bCcADqQ22Kp59BPLumFhZYufHcU@ANORtGr6dAnYSfiXGMG9rSWyV%2Bw> <201201121438.16674.jhb@freebsd.org> <g1EPx5ZQC20YwBTAuDerf6U7LFc@gTyb322ruC8B7JPI6PUQyZ3XWfA> <20120119172759.GC60214@lor.one-eyed-alien.net> <7dcvawMgnE9O34bJ7H3SrdYasTs@HbohoBmewgxm0atwUoKO7zhAAgw>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120120170340.GD87047>