Wind River Support Network

HomeDefectsLIN6-9589
Fixed

LIN6-9589 : nscd package is missing some files

Created: Mar 17, 2015    Updated: Dec 3, 2018
Resolved Date: Jun 11, 2015
Found In Version: 6.0.0.18
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

The nscd package contains only a binary but it requires a config file to work. Trying to run nscd gives the following error:

# nscd 
nscd: failure while reading configuration file; this is fatal

There is usually an init script too in order to start nscd at boot.

Steps to Reproduce

$ configure --enable-board=intel-x86-64 --enable-rootfs=glibc_std --enable-kernel=standard --with-package=nscd
$ make fs
$ make start-target

Log in as root and try to run nscd:

# nscd 
nscd: failure while reading configuration file; this is fatal

If you look at the RPM file you see only the binary:

$ ./host-cross/usr/bin/rpm -qlp export/RPMS/x86_64/nscd-2.18+4.8-r1.0.x86_64.rpm 
/usr
/usr/sbin
/usr/sbin/nscd

Compare this with WRL4:

$ ./host-cross/bin/rpm -qlp export/RPMS/mips64_octeon2/nscd-2.11-1_WR4.4a_455.glibc.0.0.1.0.mips64_octeon2-4a0eb25.rpm 
/etc/nscd.conf
/etc/rc.d/init.d/nscd
/etc/sysconfig/nscd
/usr/sbin/nscd
/var/db/nscd
/var/db/nscd/group
/var/db/nscd/hosts
/var/db/nscd/passwd
/var/run/nscd
/var/run/nscd/group
/var/run/nscd/hosts
/var/run/nscd/nscd.pid
/var/run/nscd/passwd
/var/run/nscd/socket

Other Downloads


Live chat
Online