The latest development version of bind has one more bug. It seems that when using yum for updating, the server has been restarted twice but even that just *before* /etc/sysconfig/named with ROOTDIR has been in place. Thus no zone file (I have extra zones defined) has been loaded and the server act just like caching nameserver beiing unable to server my defined domains. One more restart after update and everything has been OK. Running test transaction: Test transaction complete, Success! bind-libs 100 % done 1/7 bind-utils 100 % done 2/7 bind 100 % done 3/7 bind-chroot 100 % done 4/7 Stopping named: [ OK ] Starting named: [ OK ] Completing update for bind - 5/7 Completing update for bind-utils - 6/7 Stopping named: [ OK ] Starting named: [ OK ] Completing update for bind-chroot - 7/7 20:58:50 first server shutdown 20:58:52 server starts and zones are loaded ok 20:58:55 shutdown 20:58:57 starting, zones are ok 20:58:59 stopped 20:59:02 starting with no zones available 20:59:02 /etc/sysconfig/named has been modified 20:59:33 my manual restart, all ok I had bind-9.2.2-21 before trying to update to bind-9.2.4rc7-11_EL3.
The yum-path-update-trouble I had on two servers. The third I tryed to use rpm -Uvh by hand and everything went ok. In the logs I can see that the first time bind has been stopped and run in chroot, then without chroot and third time started with chroot option again.
In #1 report, there was 20:59:33 start in chroot, 20:59:02 without chroot, 20:58:57 with chroot, 20:58:52 with chroot (according to logs).
Aargh! The old bind-chroot-9.2.2-21 %postun script does a "service named restart" after removing the 'ROOTDIR=' line from /etc/sysconfig/named, so after the %triggerpostun script of bind-chroot-9.2.4rc7-11_EL3 puts back the 'ROOTDIR=' line, named may still be left running outside of the chroot. bind-chroot-9.2.4rc7-12_EL3 will restart named after restoring the 'ROOTDIR=' line.
This bug is fixed in RHEL-3 with bind-9.2.4-1_EL3 .
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2004-567.html