Bug 740284 - nscd.service definition improvement
Summary: nscd.service definition improvement
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-21 14:27 UTC by Marcus Moeller
Modified: 2016-11-24 16:00 UTC (History)
4 users (show)

Fixed In Version: glibc-2.14.90-10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-02 18:13:32 UTC


Attachments (Terms of Use)

Description Marcus Moeller 2011-09-21 14:27:08 UTC
Could the nscd unit file please be improved as follows:

[Unit]
Description=Name Switch Cache Daemon
After=syslog.target network.target

[Service]
Type=forking
PIDFile=/run/nscd/nscd.pid
EnvironmentFile=-/etc/sysconfig/nscd
ExecStart=/usr/sbin/nscd $NSCD_OPTIONS
ExecReload=/usr/sbin/nscd -i passwd
ExecReload=/usr/sbin/nscd -i group
ExecReload=/usr/sbin/nscd -i hosts
ExecReload=/usr/sbin/nscd -i services
ExecStop=/usr/sbin/nscd -K

[Install]
WantedBy=multi-user.target

...

This would also require a modification of /etc/tmpfiles.d/nscd.conf:

d /run/nscd 0755 root root -

It would also be great to have these in F15 as the classic nscd init cause some weird problems with NetworkManager:

https://bugzilla.redhat.com/show_bug.cgi?id=739902

Comment 1 Jóhann B. Guðmundsson 2011-09-21 14:39:39 UTC
Adding me to the bug since I wrote that unit file along with the tmpfile

Comment 2 Fedora Update System 2011-09-28 14:01:55 UTC
glibc-2.14.90-10 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/FEDORA-2011-12845

Comment 3 Fedora Update System 2011-09-28 18:52:43 UTC
Package glibc-2.14.90-10:
* 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 glibc-2.14.90-10'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/glibc-2.14.90-10
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-10-02 18:13:04 UTC
glibc-2.14.90-10 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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