Bug 1096049 - -D option used in service file does not exist
Summary: -D option used in service file does not exist
Keywords:
Status: CLOSED DUPLICATE of bug 1089505
Alias: None
Product: Fedora
Classification: Fedora
Component: nsd
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul Wouters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-09 07:31 UTC by David Benfell
Modified: 2014-07-28 14:29 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-07-28 14:29:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch for /lib/systemd/system/nsd.service (632 bytes, patch)
2014-05-24 14:09 UTC, Pieter D.J. Krul
no flags Details | Diff

Description David Benfell 2014-05-09 07:31:30 UTC
Description of problem: The new service file for nsd uses -D, which the daemon itself does not support.


Version-Release number of selected component (if applicable): 3.2.17-1.fc20


How reproducible: 100%


Steps to Reproduce:
1. systemctl start nsd
2. systemctl status nsd
3.

Actual results: nsd prints a help message specifying allowable options


Expected results: nsd starts


Additional info: -D option is not supported by nsd. The service file needs to specify a forking type and omit the -D

Comment 1 Pieter D.J. Krul 2014-05-24 14:09:48 UTC
Created attachment 898896 [details]
Patch for /lib/systemd/system/nsd.service

Patch to fix nsd version 3 startup problems. Note that systemd might complain about a PID file not readable (yet?) after start, but this does not affect the nsd nor the systemd processes. IMHO a systemd legacy issue still requiring a PID file.

Comment 2 Pieter D.J. Krul 2014-05-24 14:11:05 UTC
Type=forking ofcourse..

Comment 3 Paul Wouters 2014-07-28 14:29:57 UTC

*** This bug has been marked as a duplicate of bug 1089505 ***


Note You need to log in before you can comment on or make changes to this bug.