Bug 857975 - systemctl reload nscd.service is broken
systemctl reload nscd.service is broken
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
All Linux
unspecified Severity medium
: ---
: ---
Assigned To: Jeff Law
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-09-17 12:27 EDT by Ion Badulescu
Modified: 2016-11-24 10:53 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-09-17 13:59:56 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ion Badulescu 2012-09-17 12:27:24 EDT
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):

How reproducible:

Steps to Reproduce:
1.  run 'systemctl reload nscd.service'
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 13:59:56 EDT
This was fixed in f17 and beyond.  There are currently no plans to backport the patch to f16 or earlier releases.

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