cvs commit: src/etc/rc.d early.sh
Doug Barton
dougb at FreeBSD.org
Thu Oct 11 08:58:29 PDT 2007
On Thu, 11 Oct 2007, Dag-Erling Smørgrav wrote:
> Doug Barton <dougb at FreeBSD.org> writes:
>> I'm not opposed to that idea (in fact I seriously considered it) but
>> the reason I didn't do it is that I don't have a good sense of why we
>> need it. Once again as Mike pointed out, the reason that it was there,
>> and the reason it was .sh was specifically to do what we're now trying
>> to avoid, since whatever benefits there may have been don't outweigh
>> the risks.
>
> So you remove functionality that others depend on simply because you
> don't understand it and / or don't need it yourself?
Um, no. That's not at all what I said, and I don't appreciate you
mischaracterizing what I did say. Also, please keep in mind that I'm not
suggesting we remove it until RELENG_8 branches, so we have plenty of time
to find the right answer here.
> You didn't even bother to ask on freebsd-rc.
It was discussed there at the time that I added support for local scripts
in the overall boot order. The period of time between now and then is
longer than I would have liked, but life happens.
>> I was unaware of the use of this script suggested in gmirror(8) until
>> Dmitry pointed it out to me, and that usage should really be converted
>> to a proper rc.d script.
>
> It's not the kind of thing that lends itself well to being formalized in
> that manner.
I disagree with you on that, and I plan to submit a script that does what
I have in mind for the people familiar with gmirror to test.
> This is precisely why we have rc.early and rc.local: so people who have
> special (perhaps one-off) needs can do special (perhaps one-off) things
> without jumping through too many hoops.
No one is suggesting removing rc.local, and I would vigorously oppose
doing so.
As I said in my last message, if users respond to the deprecation warning
with a request not to remove it, we can convert it to being a regular rc.d
script. That way it's only a little dangerous instead of being super
dangerous and potentially fatal.
I can't help but think that you're having a knee-jerk reaction to
something that at the end of the day is not that big of a deal. I would
suggest that perhaps taking a step back and gaining some perspective might
be a useful exercise at this point.
Doug
--
This .signature sanitized for your protection
More information about the cvs-src
mailing list