From khera@kcilink.com  Wed May  9 19:39:33 2007
Return-Path: <khera@kcilink.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id A0BC516A404
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  9 May 2007 19:39:33 +0000 (UTC)
	(envelope-from khera@kcilink.com)
Received: from yertle.kcilink.com (thingy.kcilink.com [74.92.149.59])
	by mx1.freebsd.org (Postfix) with ESMTP id 7B24013C487
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  9 May 2007 19:39:31 +0000 (UTC)
	(envelope-from khera@kcilink.com)
Received: by yertle.kcilink.com (Postfix, from userid 1002)
	id 8649FB855; Wed,  9 May 2007 15:39:30 -0400 (EDT)
Message-Id: <20070509193930.8649FB855@yertle.kcilink.com>
Date: Wed,  9 May 2007 15:39:30 -0400 (EDT)
From: Vivek Khera <vivek@khera.org>
Reply-To: Vivek Khera <vivek@khera.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: binary upgrade from CD stomps /etc/named/named.conf
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         112552
>Category:       bin
>Synopsis:       [sysinstall] binary upgrade from CD stomps /etc/named/named.conf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 09 19:40:02 GMT 2007
>Closed-Date:    Tue Jan 29 13:12:25 UTC 2008
>Last-Modified:  Tue Jan 29 13:12:25 UTC 2008
>Originator:     Vivek Khera
>Release:        FreeBSD 6.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD yertle.int.kcilink.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:32:24 UTC 2007 root@portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	

I upgraded my 6.2-PRE system (installed via buildworld) using the 6.2-REL CD.

Everything went exceptionally well, except when all was said and done,
/etc/namedb/named.conf was stomped over by the stock system version.  The
logic that preserves the contents of /etc doens't seem to chase after the
symlinks that point /etc/namedb over to /var directory.

It was trivial to restore for me since I took an ffs_mksnap snapshot of each
file system before upgrading :-) Nonetheless it was very tricky to figure out
why DNS wasn't working quite right on my network.

>How-To-Repeat:
	

perform binary upgrade from the 6.2 CD.

>Fix:

	

teach the /etc save/restore routines about chasing symlinks.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: gavin 
State-Changed-When: Tue Jan 29 13:11:49 UTC 2008 
State-Changed-Why:  
Duplicate of bin/86665 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112552 
>Unformatted:
