FS#32190 - [glibc] typo in nscd systemd unit file
Attached to Project:
Arch Linux
Opened by larchunix (larchunix) - Tuesday, 23 October 2012, 20:59 GMT
Last edited by Allan McRae (Allan) - Thursday, 25 October 2012, 00:04 GMT
Opened by larchunix (larchunix) - Tuesday, 23 October 2012, 20:59 GMT
Last edited by Allan McRae (Allan) - Thursday, 25 October 2012, 00:04 GMT
|
Details
Description:
Reloading nscd daemon via systemctl is broken. Indeed nscd.service file contain following command for reload : ExecReload=/usr/sbin/nscd -i service Final 's' is missing, it should be ExecReload=/usr/sbin/nscd -i services Steps to reproduce: Start nscd daemon and reload it : > sudo systemctl start nscd.service > sudo systemctl reload nscd.service Job for nscd.service failed. See 'systemctl status nscd.service' and 'journalctl' for details. Additional info: > sudo systemctl status nscd.service nscd.service - Name Service Cache Daemon Loaded: loaded (/usr/lib/systemd/system/nscd.service; enabled) Active: active (running) (Result: exit-code) since Tue, 23 Oct 2012 20:00:17 +0200; 2h 26min ago Process: 495 ExecStop=/usr/sbin/nscd --shutdown (code=exited, status=0/SUCCESS) Process: 1898 ExecReload=/usr/sbin/nscd -i service (code=exited, status=64) Process: 1896 ExecReload=/usr/sbin/nscd -i hosts (code=exited, status=0/SUCCESS) Process: 1894 ExecReload=/usr/sbin/nscd -i group (code=exited, status=0/SUCCESS) Process: 1892 ExecReload=/usr/sbin/nscd -i passwd (code=exited, status=0/SUCCESS) Process: 498 ExecStart=/usr/sbin/nscd (code=exited, status=0/SUCCESS) Main PID: 500 (nscd) CGroup: name=systemd:/system/nscd.service └ 500 /usr/sbin/nscd Oct 23 20:00:17 xunilhcra systemd[1]: Started Name Service Cache Daemon. Oct 23 22:26:33 xunilhcra systemd[1]: Reloading Name Service Cache Daemon. Oct 23 22:26:33 xunilhcra nscd[1898]: nscd: 'service' is not a known database Oct 23 22:26:33 xunilhcra nscd[1898]: Try `nscd --help' or `nscd --usage' for more information. Oct 23 22:26:33 xunilhcra systemd[1]: Reload failed for Name Service Cache Daemon. P.S: It would be convenient to ship the /var/db/nscd directory in the glibc package. This directory needs to exist to enable persistent caching with nscd : > sudo systemctl status nscd.service nscd.service - Name Service Cache Daemon ... Oct 23 22:56:42 xunilhcra systemd[1]: Starting Name Service Cache Daemon... Oct 23 22:56:42 xunilhcra systemd[1]: Started Name Service Cache Daemon. Oct 23 22:56:42 xunilhcra nscd[2397]: 2397 cannot create /var/db/nscd/passwd; no persistent database used Oct 23 22:56:42 xunilhcra nscd[2397]: 2397 cannot create /var/db/nscd/group; no persistent database used Oct 23 22:56:42 xunilhcra nscd[2397]: 2397 cannot create /var/db/nscd/hosts; no persistent database used Oct 23 22:56:42 xunilhcra nscd[2397]: 2397 cannot create /var/db/nscd/services; no persistent database used Oct 23 22:56:42 xunilhcra nscd[2397]: 2397 cannot create /var/db/nscd/netgroup; no persistent database used |
This task depends upon
Comment by Allan McRae (Allan) -
Thursday, 25 October 2012, 00:04 GMT
glibc-2.16.0-5 will be pushed later today with the binutils
toolchain rebuild fixing this issue.