Bug 244141

Summary: SELinux is preventing /usr/bin/updatedb (locate_t) "write" to socket (nscd_var_run_t).
Product: [Fedora] Fedora Reporter: Chris Edsall <c.edsall>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: low    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-14 13:18:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
sealert output none

Description Chris Edsall 2007-06-14 04:02:16 UTC
Description of problem:

With name service caching daemon (nscd) enabled, locate generates an selinux
violation that results in 

Version-Release number of selected component (if applicable):

[root@smog ~]# cat /etc/issue ; rpm -q selinux-policy-targeted  mlocate
Fedora release 7 (Moonshine)
Kernel \r on an \m

selinux-policy-targeted-2.6.4-12.fc7
mlocate-0.16-1

How reproducible:


Steps to Reproduce:
1. enable nscd at installation
2. wait for updatedb to run
  
Actual results:

Error message 
SELinux is preventing /usr/bin/updatedb (locate_t) "write" to socket
(nscd_var_run_t).

Expected results:

No error

Additional info:

sealert output attached

Comment 1 Chris Edsall 2007-06-14 04:02:16 UTC
Created attachment 156951 [details]
sealert output

Comment 2 Daniel Walsh 2007-06-14 13:18:54 UTC
Are you running in permissive mode.  This avc should be blocked in enforcing mode.

If the avc message does not show up in enforcing mode it is not a bug.