From owner-freebsd-current@FreeBSD.ORG Sat Oct 29 03:44:18 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77E49106566C; Sat, 29 Oct 2011 03:44:18 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 35C718FC08; Sat, 29 Oct 2011 03:44:17 +0000 (UTC) Received: by iaky10 with SMTP id y10so7360124iak.13 for ; Fri, 28 Oct 2011 20:44:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=G3boJSo/zyJBXRVnmb0W7wlUsgZNkXVtc7+MPQKQFA4=; b=CNk2pZrG+Ym+6mI2Peqqfq8YdmemHf2GfS83HPsozPyjkM4+dC34Elw2zhj095bb8z Zob6pDLqFhLMZL3eXa5Mwlrcsbsmp2s+OlVsYc4FznH/wElKfFzUWZ4MxKRWajN+yju+ uRNRJ8v11gB7aum53o4odvS4DfUNsKHFskAR0= MIME-Version: 1.0 Received: by 10.231.63.212 with SMTP id c20mr1757876ibi.52.1319859857560; Fri, 28 Oct 2011 20:44:17 -0700 (PDT) Received: by 10.231.46.198 with HTTP; Fri, 28 Oct 2011 20:44:17 -0700 (PDT) In-Reply-To: <4EAB71F9.9090602@FreeBSD.org> References: <20111027102208.88BFB106564A@hub.freebsd.org> <20111028084329.134A0106566C@hub.freebsd.org> <4EAB5823.5090804@FreeBSD.org> <4EAB71F9.9090602@FreeBSD.org> Date: Fri, 28 Oct 2011 20:44:17 -0700 Message-ID: From: Kevin Oberman To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Thomas Mueller , freebsd-current@freebsd.org Subject: Re: Upgrade from source to RC1: problems with /etc : lost users and dbus X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2011 03:44:18 -0000 On Fri, Oct 28, 2011 at 8:24 PM, Doug Barton wrote: > On 10/28/2011 20:09, Kevin Oberman wrote: >> On Fri, Oct 28, 2011 at 6:34 PM, Doug Barton 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