bin/112552: binary upgrade from CD stomps /etc/named/named.conf
vivek at khera.org
Wed May 9 19:40:03 UTC 2007
>Synopsis: binary upgrade from CD stomps /etc/named/named.conf
>Arrival-Date: Wed May 09 19:40:02 GMT 2007
>Originator: Vivek Khera
>Release: FreeBSD 6.2-RELEASE amd64
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
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