Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2011 20:44:17 -0700
From:      Kevin Oberman <kob6558@gmail.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        Thomas Mueller <mueller6727@bellsouth.net>, freebsd-current@freebsd.org
Subject:   Re: Upgrade from source to RC1: problems with /etc : lost users and dbus
Message-ID:  <CAN6yY1vGF_SyX95ZZEeM7c2gTOMjrY=G%2B8JGMouBbc3y=Y3_og@mail.gmail.com>
In-Reply-To: <4EAB71F9.9090602@FreeBSD.org>
References:  <CAFHbX1%2BWPM0E%2BUGpKKVb8WoNyeYBOp5GdrF59E3sgRp1TM8VRg@mail.gmail.com> <20111027102208.88BFB106564A@hub.freebsd.org> <20111028084329.134A0106566C@hub.freebsd.org> <4EAB5823.5090804@FreeBSD.org> <CAN6yY1uvd5vKRbruZWmRKk617MhWoYqk-E3c=EsHxDKKuLw=iA@mail.gmail.com> <4EAB71F9.9090602@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 28, 2011 at 8:24 PM, Doug Barton <dougb@freebsd.org> wrote:
> On 10/28/2011 20:09, Kevin Oberman wrote:
>> On Fri, Oct 28, 2011 at 6:34 PM, Doug Barton <dougb@freebsd.org> wrote:
>>> On 10/28/2011 01:43, Thomas Mueller wrote:
>>>> How does one run mergemaster without running roughshod over existing c=
onfiguration?
>>>
>>> Carefully? :) =A0Seriously ... always use the -P option, and/or add
>>> PRESERVE_FILES in your mergemaster rc file. Watch the changes carefully=
.
>>> If you have to, do the updates in more than one pass using the -r optio=
n
>>> for subsequent runs. Do the simple ones first, then go back and do the
>>> ones that you have to think harder about. I recommend against using the
>>> -U option.
>>>
>>> It's not rocket science, it's just like any other system administration
>>> task, it requires careful attention.
>>
>> I agree that just running mergemaster CAREFULLY does the job. The only
>> time I was ever burned was when I was in a BIG hurry and ended up
>> wasting a LOT of time. (I think I also learned.) Of course, I also
>> remember merging /etc before we had mergemaster.
>
> Yeah, me too, that's why I wrote it. :)
>
>> I am a bit curious why you recommend against -U, though. I've been
>> using it since it was added and have never had a problems. It's saved
>> me quite a bit of time. Is thee a corner case that I'm missing?
>
> The case where there are relevant changes in configuration or other
> files that you miss because you install them without examination. That
> said, I realize that what people *want* is an upgrade process that they
> don't have to look at and/or think about. As soon as I figure out how to
> make mergemaster telepathic I'll be sure to add that patch.

An obvious problem that I managed overlook all of this time.

And thanks for all of your shell code. Between mergemaster and
portmaster you have saved many, many man-years of painful and
error-prone effort.

Do you dream in sh?
--=20
R. Kevin Oberman, Network Engineer
E-mail: kob6558@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vGF_SyX95ZZEeM7c2gTOMjrY=G%2B8JGMouBbc3y=Y3_og>