what causes these three error messages?

Dixon, Justin Justin.Dixon at BBandT.com
Thu Sep 14 20:25:00 UTC 2006


> -----Original Message-----
> From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On
Behalf Of
> Anthony Ewell
> Sent: Thursday, September 14, 2006 14:39
> To: bind-users at isc.org
> Subject: what causes these three error messages?
> 
> Hi All,
> 
>      I am using Cent OS 4.3 (same as Red Hat Enterprise
> Linux, only cheaper).  And:
> 
>     My permissions are as follows:
>         chmod -R 777 /var/named
>         chown -R named.named /var/named
> 
>     rpm -qa \*bind\*
>         bind-chroot-9.2.4-2
> 
>      I keep getting the following three error messages in
> /var/log/messages.  How do I fix them?
> 
> Many thanks,
> -T
> 
> 
> 1):
> 
> Sep 14 00:19:26 server kernel: audit(1158218366.350:120): avc:  denied
> { unlink } for  pid=3867 comm="named" name="xxxxxx.hosts.rev" dev=sda1
> ino=4444201 scontext=user_u:system_r:named_t
> tcontext=root:object_r:named_zone_t tclass=file
> 
> 
> 2):
> 
> Sep 14 00:19:26 server named[3866]: dumping master file: rename:
> slaves/xxxxxx.hosts.rev: permission denied
> 
> Sep 14 00:19:26 server named[3866]: zone 255.168.192.in-addr.arpa/IN:
> dump failed: permission denied
> 
> Sep 14 00:19:26 server named[3866]: dumping master file: rename:
> slaves/xxxxxx.hosts: permission denied
> 
> Sep 14 00:19:26 server named[3866]: zone xxxxxx.local/IN: dump failed:
> permission denied
> 
> 
> 3):
> 
> Sep 10 04:12:27 server named[3319]: zone xxxxxx.local/IN: dump failed:
> permission denied
> 
> 

Looks like selinux...Modify the selinux config to allow named to access
the files.

Justin Dixon




More information about the bind-users mailing list