Bug 719462

Summary: Provide native systemd unit file
Product: [Fedora] Fedora Reporter: Jóhann B. Guðmundsson <johannbg>
Component: nsdAssignee: Paul Wouters <pwouters>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: atkac, greg.brackley-redhat-bugzilla, pwouters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nsd-3.2.8-7.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-30 19:52:02 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: 713562    
Attachments:
Description Flags
Native systemd service file for nsd
none
Native systemd service file for nsd with reload none

Description Jóhann B. Guðmundsson 2011-07-06 23:52:55 UTC
Description of problem:

https://fedoraproject.org/wiki/Features/SysVtoSystemd

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Jóhann B. Guðmundsson 2011-07-07 00:30:46 UTC
Created attachment 511603 [details]
Native systemd service file for nsd with reload

I attached the wrong file in first round here is the "the real one" 

Note that there seems to be something a miss with the reload process of the nscd 
( ExecReload=/usr/sbin/nsdc -c /etc/nsd/nsd.conf reload ) 

Jul  7 00:22:48 valhalla nsd[15434]: signal received, reloading...
Jul  7 00:22:48 valhalla nsd[15486]: memory recyclebin holds 0 bytes
Jul  7 00:22:48 valhalla nsd[15486]: signal received, shutting down...
Jul  7 00:22:48 valhalla nsd[15486]: failed to unlink pidfile /var/run/nsd/nsd.pid: Permission denied <--
Jul  7 00:22:48 valhalla nsd[15486]: server_main: could not send quit to xfrd:  Broken pipe <--

You probably need to create a bug upstream and have them take look at it

Comment 3 Greg 2011-08-22 12:11:56 UTC
I also created a configuration file to create a '/var/run/nsd' directory.
The file is '/etc/tmpfiles.d/nsd.conf' with the one line of content:

d /run/nsd 0755 nsd nsd -

Comment 4 Fedora Update System 2011-09-12 18:34:07 UTC
nsd-3.2.8-7.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/nsd-3.2.8-7.fc16

Comment 5 Fedora Update System 2011-09-13 00:11:03 UTC
Package nsd-3.2.8-7.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing nsd-3.2.8-7.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/nsd-3.2.8-7.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2011-09-30 19:51:52 UTC
nsd-3.2.8-7.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.