Add to Favourites Add to Favourites    Print this Article Print this Article

Named has chrooted itself with an update

To check if named is chrooted, type:

ps -ax | grep named

If you see any mention of /var/named/chroot in the named command, then named has been chrooted.

To un-chroot named back to normal, do the following:

1) move the zone files from /var/named/chroot/var/named to just /var/named

cd /var/named/chroot/var/named
mv -f * /var/named


2) move the config file and rndc.key from /var/named/chroot/etc/named.conf to just /etc/named.conf

cd /var/named/chroot/etc
mv -f named.conf /etc/named.conf
mv -f rndc.key /etc/rndc.key


3) comment out the ROOTDIR setting in /etc/sysconfig/named

4) restart named


Was this answer helpful?

Also Read