From owner-freebsd-current@FreeBSD.ORG Thu Oct 7 23:22:06 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B46F616A4CE for ; Thu, 7 Oct 2004 23:22:06 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C9A943D49 for ; Thu, 7 Oct 2004 23:22:06 +0000 (GMT) (envelope-from DougB@freebsd.org) Received: from ob.icann.org ([192.0.35.106]) by comcast.net (sccrmhc13) with SMTP id <2004100723220201600b8erpe> (Authid: domain_name_tsar); Thu, 7 Oct 2004 23:22:03 +0000 Date: Thu, 7 Oct 2004 16:22:01 -0700 (PDT) From: Doug Barton To: Sean McNeil In-Reply-To: <1097133252.92555.1.camel@server> Message-ID: <20041007161322.S826@bo.vpnaa.bet> References: <1097133252.92555.1.camel@server> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-current@freebsd.org cc: Ryan Newman Subject: RE: mergemaster just screwed me X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 07 Oct 2004 23:22:06 -0000 On Thu, 7 Oct 2004, Sean McNeil wrote: > On Wed, 2004-10-06 at 22:59, Andre Guibert de Bruet wrote: >> On Wed, 6 Oct 2004, Ryan Newman wrote: >> >>>> From: Sean McNeil >>>> To: freebsd-current@freebsd.org >>>> Subject: mergemaster just screwed me >>>> Date: Wed, 06 Oct 2004 11:48:58 -0700 >>>> >>>> I just ran mergemaster and it deleted my named.conf and everything >>>> else. I'm guessing it did an rm /etc/namedb/* or something like that. Mergemaster doesn't do anything of the sort. It never takes action on any file or directory on the system unless the user tells it to. >>>> My system was setup correctly with /etc/namedb linked to >>>> /var/named/etc/namedb and it was all placed properly. :( When you say "it was all placed properly," what do you mean by that? >> I don't mean to be an ass, but you *need to read UPDATING* when you >> upgrade CURRENT. The 20040928 entry detailed the steps required for a >> smooth transition from bind8 to bind9. > > I don't take your comment as anything but informative. In my case, > however, I *DID* read UPDATING and I followed it completely. My system > was completely working with bind9 and then I did a mergemaster and it > wiped out all my settings!!!! The good news is that if you actually followed the instructions in UPDATING you should have a copy of your old settings in /etc/namedb.bak. And of course, the mergemaster man page counsels you to make good backups before running it. In order to debug this we'll need more information: 1. How do you usually invoke mergemaster? 2. Do you have a .mergemasterrc file? 3. Do you run a MM_PRE_COMPARE_SCRIPT? 4. Do you have any *_BIND_* options in /etc/make.conf? 5. Output of 'ls -la /etc/namedb /var/named/etc/namedb' Hope this helps, Doug -- This .signature sanitized for your protection