Bug 119254

Summary: wrong owner of /var/named which blocks the ZONE transfer
Product: Red Hat Enterprise Linux 3 Reporter: Yavor Trapkov <yavor.trapkov>
Component: bindAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-29 00:27:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yavor Trapkov 2004-03-27 20:21:52 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016

Description of problem:
drwxr-x--- 2 root named /var/named 

when configured as a secondary, named downloads the DNS Zones to
/var/named

the following error appears:
  dumping master file" tmp-XXXXYfgsdf: open: permission denied
  failed while receiving responces: permission denied

as the server starts as "named" user and can not write into /var/named

FIX: change drwxr-x--- 2 named named /var/named

Version-Release number of selected component (if applicable):
bind-9.2.2.21

How reproducible:
Always

Steps to Reproduce:
1. install bind-9.2.2.21
2. define a secondary DNS Zone
3. start the server and see the log file
    

Additional info:

Comment 1 Daniel Walsh 2004-03-29 00:27:41 UTC
For security reasons the dir has been changed to root:named.  If you
want to down load zone files, you should create a subdirectory,
slaves.  Then chown named:named slaves.  Now set up you named.conf
gile to put the secondary files in there.