Bug 885398

Summary: nsd not working after installation
Product: [Fedora] Fedora Reporter: Michael S. <misc>
Component: nsdAssignee: Paul Wouters <pwouters>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: atkac, pwouters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-18 20:47:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael S. 2012-12-09 02:35:02 UTC
I just tested nsd on my server freshly installed on f17, and it seems that nsd do not start fine with systemctl ( ie, it just hang ).

More ever, the directory /var/run/nsd do not exist without rebooting first :

Dec 09 03:29:15 karona.ephaone.org nsd[5757]: cannot open pidfile /var/run/nsd/nsd.pid: No such file or directory
Dec 09 03:29:15 karona.ephaone.org nsd[5757]: cannot overwrite the pidfile /var/run/nsd/nsd.pid: No such file or directory

I suspect the missing directory is the reason why nsd hang, but i didn't investigate further.

Comment 1 Michael S. 2012-12-09 02:41:55 UTC
After creating the directory, this work fine, and I think that's because the directory is marked as %ghost in rpm ( so not created by rpm ). Easy fix is to remove %ghost attribute in the spec.

Comment 2 Paul Wouters 2013-04-18 20:47:16 UTC
This was fixed a few releases ago, but didn't get logged here...

* Mon Jul 23 2012 Paul Wouters <pwouters> - 3.2.12-2
- Add /var/run/nsd via tmpfiles (rhbz#842021)