In E-smith 4.0 I could run the command: /sbin/e-smith/expand-template /etc/named.conf
to regenerated the named.conf file from the templates.
Now in E-Smith 4.1 the /etc/named.conf file reads:
# named chroot()ed to /home/dns
and the file that named process uses is /home/dns/etc/named.conf
When I run the expand-template command it rebuilts the named.conf, but stores it at /etc/named.conf which doesn't do any good since the named process is reading the copy that is stored at the /home/dns/etc/named.conf file.
Is there another way to run the expand-template command to have it expanded to /home/dns/etc?