Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Aug 2011 23:31:00 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Doug Barton <dougb@freebsd.org>
Cc:        Garrett Cooper <yanegomi@gmail.com>, "Simon L. B. Nielsen" <simon@nitro.dk>, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r224674 - head/etc
Message-ID:  <CAGE5yCqBwfqd6jwXMzLrGqDcAWvvbq8nyXdTKmMFA%2BOx86rnOQ@mail.gmail.com>
In-Reply-To: <4E3F6216.5080706@FreeBSD.org>
References:  <201108060916.p769Gr4A043462@svn.freebsd.org> <9DDF0DAB-9056-45CD-8CE9-81B621A35B13@nitro.dk> <CAGH67wQ1NNrT8becXq5oFgXf7QP6ZUmqLEiaBqdO-afJBx4K2w@mail.gmail.com> <4E3F6216.5080706@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 7, 2011 at 9:12 PM, Doug Barton <dougb@freebsd.org> wrote:
> On 8/7/2011 6:05 PM, Garrett Cooper wrote:
>> On Sun, Aug 7, 2011 at 1:51 PM, Simon L. B. Nielsen <simon@nitro.dk> wro=
te:
>>>
>>> On 6 Aug 2011, at 11:16, Doug Barton wrote:
>>>
>>>> Author: dougb
>>>> Date: Sat Aug =A06 09:16:53 2011
>>>> New Revision: 224674
>>>> URL: http://svn.freebsd.org/changeset/base/224674
>>>>
>>>> Log:
>>>> =A0Rather than edit the nsswitch.conf file based on ${MK_NIS} =3D=3D "=
no"
>>>> =A0comment out the NIS _compat options by default, but leave them in
>>>> =A0the file for the convenience of users who want to enable it.
>>>>
>>>> =A0Update the comment in the file accordingly.
>>>
>>> This disables NIS by default which is rather surprising considering the=
re has been no prior (which I have been able to find) discussion of this.
>>>
>>> At the _VERY_ least people need to be warned about this loudly. Unless =
you can show this really helps non-NIS users this is IMO a bad idea.
>>>
>>> Yes, if you hand merge all /etc files this won't be a problem... but I =
don't since life's to short for that, so this change just broke login on on=
e of the FreeBSD.org during an upgrade.
>
> mergemaster has been in the tree for almost 12 years now. :) =A0In any
> case, I can't think of a situation where blindly copying new files to
> /etc is a good idea (with all due respect).

No, if people use mergemaster in this mode:
     -U          Attempt to auto upgrade files that have not been user modi=
fied.
.. then mergemaster will silently turn off NIS for you.

If it is considered bad practice to use -U, then people should be
directed away from it.

I think this is what killed the freebsd.org machine.

--=20
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV
"All of this is for nothing if we don't go to the stars" - JMS/B5
"If Java had true garbage collection, most programs would delete
themselves upon execution." -- Robert Sewell



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGE5yCqBwfqd6jwXMzLrGqDcAWvvbq8nyXdTKmMFA%2BOx86rnOQ>