Bug 452857 - SELinux is preventing updatedb (locate_t) "read write" to socket (crond_t).
SELinux is preventing updatedb (locate_t) "read write" to socket (crond_t).
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
: 452858 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2008-06-25 09:45 EDT by Jeff Moyer
Modified: 2008-09-09 15:30 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-09-09 15:30:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jeff Moyer 2008-06-25 09:45:33 EDT
Description of problem:


SELinux is preventing updatedb (locate_t) "read write" to socket (crond_t).

Detailed Description:

SELinux denied access requested by updatedb. It is not expected that this access
is required by updatedb and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context                system_u:system_r:locate_t:s0-s0:c0.c1023
Target Context                system_u:system_r:crond_t:s0-s0:c0.c1023
Target Objects                socket [ tcp_socket ]
Source                        updatedb
Source Path                   /usr/bin/updatedb
Port                          <Unknown>
Host                          segfault.boston.devel.redhat.com
Source RPM Packages           mlocate-0.20-1
Target RPM Packages           
Policy RPM                    selinux-policy-3.3.1-64.fc9
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     segfault.boston.devel.redhat.com
Platform                      Linux segfault.boston.devel.redhat.com
                     #1 SMP Tue Jun 10 16:05:21
                              EDT 2008 x86_64 x86_64
Alert Count                   1
First Seen                    Wed 25 Jun 2008 04:35:07 AM EDT
Last Seen                     Wed 25 Jun 2008 04:35:07 AM EDT
Local ID                      194a1b9f-a06a-4b24-a882-ad01d222dba6
Line Numbers                  

Raw Audit Messages            

host=segfault.boston.devel.redhat.com type=AVC msg=audit(1214382907.101:279):
avc:  denied  { read write } for  pid=11541 comm="updatedb"
path="socket:[2058152]" dev=sockfs ino=2058152
tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=tcp_socket

host=segfault.boston.devel.redhat.com type=SYSCALL
msg=audit(1214382907.101:279): arch=c000003e syscall=59 success=yes exit=0
a0=250d220 a1=250e340 a2=250f160 a3=32c3367a70 items=0 ppid=11535 pid=11541
auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=27
comm="updatedb" exe="/usr/bin/updatedb"
subj=system_u:system_r:locate_t:s0-s0:c0.c1023 key=(null)
Comment 1 Daniel Walsh 2008-06-26 07:57:03 EDT
*** Bug 452858 has been marked as a duplicate of this bug. ***
Comment 2 Daniel Walsh 2008-09-09 15:30:45 EDT
Fixed in selinux-policy-3.3.1-89.1.fc9

Note You need to log in before you can comment on or make changes to this bug.