System keeps locking up with nscd related "avc: denied" errors.
Issue
- System keeps freezing with following errors in logs:
Oct 5 14:28:04 example kernel: audit(1380997684.725:193): avc: denied { getattr } for pid=4071 comm="nscd" name="passwd" dev=cciss/c0d0p1 ino=754379 scontext=user_u:system_r:nscd_t tcontext=user_u:object_r:etc_runtime_t tclass=file
...
Oct 5 14:28:07 example kernel: audit(1380997687.508:199): avc: denied { read } for pid=4071 comm="nscd" name="passwd" dev=cciss/c0d0p1 ino=754379 scontext=user_u:system_r:nscd_t tcontext=user_u:object_r:etc_runtime_t tclass=file
Oct 5 14:28:19 example nscd: 3767 cannot stat() file `/etc/passwd': Permission denied
..
Oct 6 16:35:40 example kernel: audit(1381091740.478:7): avc: denied { read } for pid=10470 comm="nscd" name="resolv.conf" dev=cciss/c0d0p1 ino=755547 scontext=root:system_r:nscd_t tcontext=user_u:object_r:etc_runtime_t tclass=file
Environment
- Red Hat Enterprise Linux 4
- selinux-policy-targeted-1.17.30-2.110-noarch
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.