Bug 448277

Summary: named: couldn't open pid file '/var/run/named/named.pid': File exists
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: bindAssignee: Adam Tkac <atkac>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhideCC: atkac, jik, mcepl, mcepl, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-26 16:07:40 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:
Bug Depends On:    
Bug Blocks: 225614    

Description Robert Scheck 2008-05-25 11:10:32 UTC
Description of problem:
Adam, can you please fix ASAP what Jon with his fscking rpmlinting package 
review broke? Thanks. Try to restart 9.5.0-34.rc1 (without chroot):

May 25 03:08:20 tux named[8839]: couldn't open pid file '/var/run/named/
named.pid': File exists

Kill /var/run/named/named.pid

May 25 03:08:23 tux named[8916]: couldn't open pid file '/var/run/named/
named.pid': Permission denied

Watch at broken permissions of /var/run/named and see the issue. The problem
was introduced due to package review changes, see http://cvs.fedora.redhat.com/
viewcvs/devel/bind/bind.spec?r1=1.263&r2=1.264

Switched from 

%defattr(0660,named,named,0770)
%dir %{_localstatedir}/run/named

to

%defattr(-,root,named,-)
%dir %{_localstatedir}/run/named

which broke bind server!

Version-Release number of selected component (if applicable):
bind-9.5.0-34.rc1

How reproducible:
Everytime, see above.

Actual results:
Broken bind, can't start named without manual intervention.

Expected results:
Fixing e.g. by switching to as it was before.

Comment 1 Adam Tkac 2008-05-26 12:22:43 UTC
*** Bug 448259 has been marked as a duplicate of this bug. ***

Comment 2 Adam Tkac 2008-05-26 13:42:12 UTC
*** Bug 448394 has been marked as a duplicate of this bug. ***

Comment 3 Adam Tkac 2008-05-26 16:07:40 UTC
fixed in 9.5.0-35.rc1.fc10, thanks for report.