Bug 76775

Summary: BIND9 and dynamic updates
Product: Base System Reporter: Paul B <pabelanger>
Component: i386Assignee: Doug Barton <dougb>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Paul B 2005-01-27 23:10:31 UTC
      It seems that named does not have proper permissions to write to /etc/named/master.

Please refer to http://lists.freebsd.org/pipermail/freebsd-current/2004-November/042203.html for the orginal problem and solutions.

Nov  2 22:40:31 vimes named[98525]: client 213.187.177.2#54260: updating 
zone 'aminor.no/IN': adding an RR at 'jolie.aminor.no' A
Nov  2 22:40:31 vimes named[98525]: journal file 
master/aminor.no.zone.jnl does not exist, creating it
Nov  2 22:40:31 vimes named[98525]: master/aminor.no.zone.jnl: create: 
permission denied
Nov  2 22:40:31 vimes kernel: Nov  2 22:40:31 vimes named[98525]: 
master/aminor.no.zone.jnl: create: permission denied
Nov  2 22:40:31 vimes named[98525]: client 213.187.177.2#54260: updating 
zone 'aminor.no/IN': error: journal open failed: unexpected error

How-To-Repeat:       named.conf

acl example-lan {
    192.168.0.0/24;
    127.0.0.1;
};


zone "example.com" {
        type master;
        file "master/example.com";
        allow-update {
                example-lan;
        };
};
Comment 1 Doug Barton freebsd_committer freebsd_triage 2005-02-23 13:44:06 UTC
State Changed
From-To: open->closed


This was done by gshapiro in rev 1.6 back in November 2004, 
and as far as I can see, should be what's in 5-Stable now. 

Please try upgrading and see if that helps.  


Comment 2 Doug Barton freebsd_committer freebsd_triage 2005-02-23 13:44:06 UTC
Responsible Changed
From-To: freebsd-i386->dougb


I generally handle BIND bits.