Wind River Support Network

HomeDefectsSCP8-283
Fixed

SCP8-283 : nscd service start fails when SE Linux is enforcing

Created: Jun 12, 2016    Updated: Feb 11, 2019
Resolved Date: Jun 23, 2016
Found In Version: 8.0.0.6
Fix Version: 8.0.0.10
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

root@Romley-EP-Ivy-Refresh-1:~# systemctl status nscd -l
? nscd.service - Name Service Cache Daemon
   Loaded: loaded (/lib/systemd/system/nscd.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit) since Mon 2016-06-13 03:03:06 UTC; 7min ago
  Process: 1184 ExecStart=/usr/sbin/nscd (code=exited, status=6)

Jun 13 03:03:05 Romley-EP-Ivy-Refresh-1 systemd[1]: Failed to start Name Service Cache Daemon.
Jun 13 03:03:05 Romley-EP-Ivy-Refresh-1 systemd[1]: nscd.service: Unit entered failed state.
Jun 13 03:03:05 Romley-EP-Ivy-Refresh-1 systemd[1]: nscd.service: Failed with result 'exit-code'.
Jun 13 03:03:06 Romley-EP-Ivy-Refresh-1 systemd[1]: nscd.service: Service hold-off time over, scheduling restart.
Jun 13 03:03:06 Romley-EP-Ivy-Refresh-1 systemd[1]: Stopped Name Service Cache Daemon.
Jun 13 03:03:06 Romley-EP-Ivy-Refresh-1 systemd[1]: nscd.service: Start request repeated too quickly.
Jun 13 03:03:06 Romley-EP-Ivy-Refresh-1 systemd[1]: Failed to start Name Service Cache Daemon.
Jun 13 03:03:06 Romley-EP-Ivy-Refresh-1 systemd[1]: nscd.service: Unit entered failed state.
Jun 13 03:03:06 Romley-EP-Ivy-Refresh-1 systemd[1]: nscd.service: Failed with result 'start-limit'.

Steps to Reproduce

configure --enable-test=yes --enable-board=intel-x86-64 --enable-rootfs=secure-core --enable-kernel=secure --with-template=feature/firewall,feature/ids-basic,feature/secure-backup,feature/session-manager,feature/task-scheduler,feature/selinux,feature/polyinstantiation,feature/secure-configuration,feature/package-management,feature/certification-test,feature/nfsd --enable-reconfig --enable-internet-download=yes
make nscd.addpkg
make fs
start the board with selinux=1, enforcing=1
systemctl start nscd
systemctl status nscd
Live chat
Online