Bug 857975

Summary: systemctl reload nscd.service is broken
Product: [Fedora] Fedora Reporter: Ion Badulescu <ionut>
Component: glibcAssignee: Jeff Law <law>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: fweimer, jakub, law, pfrankli, schwab, spoyarek
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: 2012-09-17 17:59:56 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 Ion Badulescu 2012-09-17 16:27:24 UTC
Description of problem:
On reload, the nscd.service script tries to execute an invalid command:

ExecReload=/usr/sbin/nscd -i service

It's a typo, the above should be:

ExecReload=/usr/sbin/nscd -i services


Version-Release number of selected component (if applicable):
glibc-2.15-56.fc17.x86_64
nscd-2.15-56.fc17.x86_64

How reproducible:
Always

Steps to Reproduce:
1.  run 'systemctl reload nscd.service'
2.
3.
  
Actual results:
# systemctl reload nscd.service
Job failed. See system logs and 'systemctl status' for details.

and in syslog:
nscd[28439]: nscd: 'service' is not a known database
nscd[28439]: Try `nscd --help' or `nscd --usage' for more information.
systemd[1]: nscd.service: control process exited, code=exited status=64


Expected results:
After fixing the above typo, it succeeds with no output.

Additional info:
Fedora 17 is already fixed (or maybe it was never broken in the first place).

Comment 1 Jeff Law 2012-09-17 17:59:56 UTC
This was fixed in f17 and beyond.  There are currently no plans to backport the patch to f16 or earlier releases.