Bind-chroot, VM trying to replace files in chroot rather than edit location

Setting up bind-chroot and can’t seem to get the module config right?

chroot directory where /var/named/is mounted: /var/named/chroot/

named.conf and named.rfc1912.zones are located in /etc/, and get mounted to the chroot directory (/var/named/chroot/etc/).

VM is seeing zones fine but when I try to do anything, it tries to save changes to files in the chroot rather than the non-chroot;

Failed to create master zone : Failed to replace /var/named/chroot/etc/named.conf with /var/named/chroot/etc/named.conf.webmintmp.40723 : Device or resource busy

The only way I can seem to get it to work is to direct it to where the edit files are and tell the module that it’s not chroot’d, but when I do it that way it doesn’t reload named.

Is there any doc or guide for webmin/vm + bind-chroot? Haven’t been able to find any or figure out whats up.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.