[Bug 999324] Re: DDNS dynamic file creation permission denied

2012-05-16 Thread Serge Hallyn
** Changed in: bind9 (Ubuntu) Assignee: (unassigned) => Serge Hallyn (serge-hallyn) ** Summary changed: - DDNS dynamic file creation permission denied + Server guide gives wrong examples for bind9 (was: DDNS dynamic file creation permission denied) -- You received this bug notification be

[Bug 999324] Re: DDNS dynamic file creation permission denied

2012-05-16 Thread Jamie Strandboge
The server guide is wrong-- the bind9 packaging has specified /var/lib/bind for journal files and DDNS for a long time. From README.Debian: "Zones subject to automatic updates (such as via DHCP and/or nsupdate) should be stored in /var/lib/bind, and specified with full pathnames." This path was

[Bug 999324] Re: DDNS dynamic file creation permission denied

2012-05-16 Thread Serge Hallyn
So - IIUC either the server guide or the apparmor policy needs to be updated. -- 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/999324 Title: DDNS dynamic file creation permission denied

[Bug 999324] Re: DDNS dynamic file creation permission denied

2012-05-16 Thread Serge Hallyn
Hm, then again, the apparmor policy file says: # /etc/bind should be read-only for bind # /var/lib/bind is for dynamically updated zone (and journal) files. # /var/cache/bind is for slave/stub data, since we're not the origin of it. # See /usr/share/doc/bind9/README.Debian.gz Does this me

[Bug 999324] Re: DDNS dynamic file creation permission denied

2012-05-16 Thread Serge Hallyn
Thanks for the info, Axel. I was at first wondering whether the 'file' should point to another location to which bind9 already has write access, but the file locations you are using match what is in the server guide (https://help.ubuntu.com/12.04/serverguide/dns-configuration.html). Marking this

[Bug 999324] Re: DDNS dynamic file creation permission denied

2012-05-16 Thread Serge Hallyn
** Changed in: bind9 (Ubuntu) Status: Incomplete => 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/999324 Title: DDNS dynamic file creation permission denied To manage not

[Bug 999324] Re: DDNS dynamic file creation permission denied

2012-05-16 Thread Axel Glienke
root@intra:/etc/bind# apt-cache policy bind9 bind9: Installiert: 1:9.8.1.dfsg.P1-4 Kandidat:1:9.8.1.dfsg.P1-4 Versionstabelle: *** 1:9.8.1.dfsg.P1-4 0 500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status -- You received this bug

[Bug 999324] Re: DDNS dynamic file creation permission denied

2012-05-16 Thread Axel Glienke
Create file because updating zonefile from dhcpd root@intra:/etc/bind# cat named.conf.local // // Do any local configuration here // // Consider adding the 1918 zones here, if they are not used in your // organization //i

[Bug 999324] Re: DDNS dynamic file creation permission denied

2012-05-16 Thread Serge Hallyn
Actually I'm not quite sure why it would have tried to create that file. Can you tell us which release you are on, and post your /etc/bind/named.conf and /etc/bind/named.conf.local files? (We don't want to risk opening permissions for what turns out to be a bug in bind9 itself) ** Changed in: bi

[Bug 999324] Re: DDNS dynamic file creation permission denied

2012-05-16 Thread Serge Hallyn
Thanks for reporting this bug. -- 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/999324 Title: DDNS dynamic file creation permission denied To manage notifications about this bug go to:

[Bug 999324] Re: DDNS dynamic file creation permission denied

2012-05-16 Thread Serge Hallyn
** Changed in: bind9 (Ubuntu) Status: New => Confirmed ** Changed in: bind9 (Ubuntu) Importance: Undecided => High ** Tags added: apparmor -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchp