bin/112552: binary upgrade from CD stomps /etc/named/named.conf

Vivek Khera vivek at khera.org
Wed May 9 19:40:03 UTC 2007


>Number:         112552
>Category:       bin
>Synopsis:       binary upgrade from CD stomps /etc/named/named.conf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 09 19:40:02 GMT 2007
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:


More information about the freebsd-bugs mailing list