[CentOS] webmin and DNS configuration on CentOS 6.2

Wed May 9 23:02:29 UTC 2012
Craig White <craig.white at ttiltd.com>

On May 9, 2012, at 2:55 PM, Bob Hoffman wrote:

> On 5/9/2012 4:38 PM, Boris Epstein wrote:
>> Hello listmates,
>> 
>> I have two seemingly identical (in this reglard, at least) machine - both
>> of them are running CentOS 6.2 with bind (bind-chroot) installed. I used
>> webmin to edit the DNS configuration. One one of them it seems to work
>> fine, on the other I get messages akin to the following:
>> 
>> Failed to create master zone : Failed to replace
>> /var/named/chroot/etc/named.conf with
>> /var/named/chroot/etc/named.conf.webmintmp.13214 : Device or resource busy
>> 
>>> From what I can tell, the file
>> /var/named/chroot/etc/named.conf.webmintmp.13214 never even gets created to
>> begin with.
>> 
>> Has anyone experienced that? Does anyone know what the issue is?
>> 
>> Thanks.
>> 
>> Boris.
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>> 
>> 
> I don't know anything about webmin, but I know in 6.x the zone files go 
> in /var/named...
> and then when you reload named, they are chrooted...but you should let 
> named do that.
> I might hazard to guess webmin is trying to put it where it should not go?
-----
sounds like an SELinux issue. Probably best to work it out with Jamie on the Webmin mail list.

Craig