rndc addzone gets permission denied

Jason Hellenthal jhellenthal at dataix.net
Sun Jan 12 01:19:01 UTC 2014


I would suspect your chmod 777 was inappropriate as I believe you should have just chmod'd var/named/slaves.

The chmod isn't inheritable like windows.

-- 
 Jason Hellenthal
 Voice: 95.30.17.6/616
 JJH48-ARIN

> On Jan 11, 2014, at 19:11, Mikael Johansson <Mikael.Johansson at addpro.se> wrote:
> 
> On 12 Jan 2014 00:14, Georgy Goshin <georgy.goshin at gmail.com> wrote:
> >
> > Hi,
> >
> > CentOS, 6.5, default bind package bind-9.8.2-0.17.rc1.el6_4.6.x86_64.
> >
> > trying to add slave zone with command rndc addzone "zone.local" '{ type slave; file "slaves/zone.local"; masters { 172.31.199.154; }; };'
> >
> > but getting rndc: 'addzone' failed: permission denied, nothing on the logs, only received control channel command 'addzone zone.local { type slave; file "slaves/zone.local"; masters { 172.31.199.154; }; };' even after rndc trace 99.
> >
> > allow-new-zones yes;
> >
> > tried with chmod 777 for /var/named, /etc/named, /usr/lib64/bind but nothing helps.
> >
> > please advice me a way to find why permission is denied. 
> >
> >
> > thanks in advance.
> 
> Hi,
> 
> Have you checked if this might be related to SELinux?
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20140111/ee1b2b54/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6118 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20140111/ee1b2b54/attachment.bin>


More information about the bind-users mailing list