Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2007 09:55:14 +0100
From:      Gergely CZUCZY <phoemix@harmless.hu>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        RW <fbsd06@mlists.homeunix.com>, freebsd-ports@freebsd.org
Subject:   Re: ports modifying system setups
Message-ID:  <20071122085514.GA33374@harmless.hu>
In-Reply-To: <alpine.BSF.0.99999.0711220043020.982@qbhto.arg>
References:  <20071122072006.GA22956@harmless.hu> <47453327.7010305@FreeBSD.org> <20071122084002.GA31823@harmless.hu> <alpine.BSF.0.99999.0711220043020.982@qbhto.arg>

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

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Nov 22, 2007 at 12:43:50AM -0800, Doug Barton wrote:
> On Thu, 22 Nov 2007, Gergely CZUCZY wrote:
>=20
> >>Gergely CZUCZY wrote:
> >>
> >>>echo 'sevice_enable=3D"YES"' >> /etc/rc.conf.local
>=20
> >I said, that this can be done from the Makefile as well, if that OPTIONS
> >of yours is enabled.
>=20
> But that would violate the principle that ports shouldn't touch files in =
/etc.
=66rom rc.conf(5):

first:
The file /etc/rc.conf.local is
     used to override settings in /etc/rc.conf for historical reasons.  See
     the rc_conf_files variable below.


second:
     rc_conf_files
                 (str) This option is used to specify a list of files that
                 will override the settings in /etc/defaults/rc.conf.  The
                 files will be read in the order in which they are specified
                 and should include the full path to the file.  By default,
                 the files specified are /etc/rc.conf and /etc/rc.conf.local

So, extend rc_conf_files with /usr/local/etc/rc.conf, that's an acceptable
extension IMO, and you're done. ports can touch that.

Though, IMO ports could touch the .local files, regardless it's in /etc/.
That's why it's rc.conf_.local_ .

Anyways, I'm not a core member, it was just a point of view.

Sincerely,

Gergely Czuczy
mailto: gergely.czuczy@harmless.hu

--=20
Weenies test. Geniuses solve problems that arise.

--Qxx1br4bt0+wmkIi
Content-Type: application/pgp-signature
Content-Disposition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J43Qk1jM
MSKkmtUsrxrLnO6oiR8BJbutqhmvCOWwNQGlHcko0cRwgpMTNLTVtKC04u+W1psK
TVfPS2wq0Kt4QLNCQ5coYGx5k07L5LRiEy6k0zGMm+coqZ9fpxM88VSjvGQsDP0t
uIeohBcsWhfR5VOCpE2z03Lqb4GmVk4aOdMUhcWIPXrt4vNr/tYv/lFcuvDyz2uP
o4/EP/d++/fz7IdX3/jzlx+//OC78MO1x71Hlz/+43K1n3/71+9Hb/76/SunXz35
Dw==
=uoZm
-----END PGP SIGNATURE-----

--Qxx1br4bt0+wmkIi--



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