[Bug 1247148] [NEW] rndc addzone isn't working. fix available

Pavel Piatruk piatruk.p at gmail.com
Fri Nov 1 14:59:24 UTC 2013


Public bug reported:

OS: Ubuntu 12.04,

Bind package:
ii  bind9                                        1:9.8.1.dfsg.P1-4ubuntu0.7                   Internet Domain Name Server

Bind folder:
drwxr-s--- 3 bind bind 4096 Nov  1 20:46 /etc/bind

* Steps to reproduce the issue

rndc -s localhost   addzone  'zzz.com { type master; file "/etc/bind/master/zzz.com"; };'  
rndc: 'addzone' failed: permission denied

* Steps to fix
Edit /etc/init.d/bind9 , add "-d /etc/bind" to start-stop-daemon in start) section

* Explanation
Named tries to store *.nzf (zones created by rndc zoneadd) in a directory from where it started. By default it is not /etc/bind

** Affects: bind9 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in Ubuntu.
https://bugs.launchpad.net/bugs/1247148

Title:
  rndc addzone isn't working. fix available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1247148/+subscriptions



More information about the Ubuntu-server-bugs mailing list