Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2011 17:30:09 -0700
From:      Gordon Tetlow <gordon@tetlows.org>
To:        Jason Hellenthal <jhell@dataix.net>
Cc:        freebsd-rc@freebsd.org, Doug Barton <dougb@freebsd.org>
Subject:   Re: [RFC][Change-Request] Create usefulness in rc.subr etc/rc.conf.d/*.conf namespace.
Message-ID:  <BANLkTinmyTzzVXjYZCbYCKv_=nEgoHPtGA@mail.gmail.com>
In-Reply-To: <20110510051513.GC18435@DataIX.net>
References:  <20110508191336.GC3527@DataIX.net> <4DC84E68.1000203@FreeBSD.org> <007d01cc0e9d$00301ff0$00905fd0$@vicor.com> <20110509233825.GB2558@DataIX.net> <010b01cc0eb5$3c6456e0$b52d04a0$@vicor.com> <20110510030718.GA18435@DataIX.net> <FAE3414F-7FBD-4524-9076-4E1DA330117C@vicor.com> <20110510051513.GC18435@DataIX.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 9, 2011 at 10:15 PM, Jason Hellenthal <jhell@dataix.net> wrote:
> Not to break existing behavior the way they stand:
> [...]
> /etc/defaults/rc.conf
> /etc/rc.conf.d/CUSTOM.conf
> /etc/rc.conf
> /etc/rc.conf.local
> /etc/rc.conf.d/NAME

Having 2 files (well any number of *.conf files actually) sourced from
the same directory at different times based solely on name is a bad
idea. There isn't enough documentation that will adequately explain
how that is supposed to work. I would consider it a major POLA
violation.

Also, if your stated goal was to allow ports to install sample or
sensible defaults into /etc/rc.conf.d, it needs to live in
/usr/local/etc instead of /etc. Ports writing data into /etc shouldn't
happen.

Regards,
Gordon



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