what causes these three error messages?

Andy Shellam andy.shellam-lists at mailnetwork.co.uk
Thu Sep 14 21:24:57 UTC 2006


Looks like it could be an SELinux policy issue, you'll have to look 
elsewhere for specifics though, as I always disable SELinux on new 
server builds - it's given me nothing but grief in the past and I've 
never had any trouble without it.

Andy.

Dixon, Justin wrote:
>> -----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
>
>
>
>
> !DSPAM:37,4509bbc6103643921732434!
>
>
>   



More information about the bind-users mailing list