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

Vivek Khera vivek at
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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 09 19:40:02 GMT 2007
>Originator:     Vivek Khera
>Release:        FreeBSD 6.2-RELEASE amd64
System: FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:32:24 UTC 2007 root at amd64


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.


perform binary upgrade from the 6.2 CD.



teach the /etc save/restore routines about chasing symlinks.

More information about the freebsd-bugs mailing list