Bug 545426

Summary: SELinux is preventing ps (mysqld_safe_t) "getattr" dhcpc_t.
Product: [Fedora] Fedora Reporter: Andrig Miller <andrig.t.miller>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:59a95588dbba1a8fb830b0f491db7113ffe66198f6d87727223f9e4165085b25
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-09 10:42:35 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:

Description Andrig Miller 2009-12-08 15:03:02 UTC
Summary:

SELinux is preventing ps (mysqld_safe_t) "getattr" dhcpc_t.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by ps. It is not expected that this access is
required by ps 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:mysqld_safe_t:s0
Target Context                system_u:system_r:dhcpc_t:s0
Target Objects                /proc/<pid> [ dir ]
Source                        ps
Source Path                   /bin/ps
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           procps-3.2.7-27.fc11
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.12-53.fc11
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.29.5-191.fc11.x86_64 #1 SMP Tue Jun 16
                              23:23:21 EDT 2009 x86_64 x86_64
Alert Count                   1
First Seen                    Mon 06 Jul 2009 04:46:34 PM MDT
Last Seen                     Mon 06 Jul 2009 04:46:34 PM MDT
Local ID                      e6cc8174-3d01-4112-acaf-68833d14977b
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1246920394.676:29530): avc:  denied  { getattr } for  pid=2426 comm="ps" path="/proc/4089" dev=proc ino=1876060 scontext=system_u:system_r:mysqld_safe_t:s0 tcontext=system_u:system_r:dhcpc_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1246920394.676:29530): arch=c000003e syscall=4 success=no exit=231604184 a0=148c180 a1=31d4410f60 a2=31d4410f60 a3=1999999999999999 items=0 ppid=2422 pid=2426 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ps" exe="/bin/ps" subj=system_u:system_r:mysqld_safe_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.12-53.fc11,catchall,ps,mysqld_safe_t,dhcpc_t,dir,getattr
audit2allow suggests:

#============= mysqld_safe_t ==============
allow mysqld_safe_t dhcpc_t:dir getattr;

Comment 1 Miroslav Grepl 2009-12-09 10:35:16 UTC
*** Bug 545427 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2009-12-09 10:36:10 UTC
*** Bug 545428 has been marked as a duplicate of this bug. ***

Comment 3 Miroslav Grepl 2009-12-09 10:36:41 UTC
*** Bug 545429 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2009-12-09 10:37:07 UTC
*** Bug 545430 has been marked as a duplicate of this bug. ***

Comment 5 Miroslav Grepl 2009-12-09 10:37:45 UTC
*** Bug 545552 has been marked as a duplicate of this bug. ***

Comment 6 Miroslav Grepl 2009-12-09 10:39:57 UTC
*** Bug 545553 has been marked as a duplicate of this bug. ***

Comment 7 Miroslav Grepl 2009-12-09 10:40:33 UTC
*** Bug 545554 has been marked as a duplicate of this bug. ***

Comment 8 Miroslav Grepl 2009-12-09 10:40:57 UTC
*** Bug 545555 has been marked as a duplicate of this bug. ***

Comment 9 Miroslav Grepl 2009-12-09 10:42:35 UTC

*** This bug has been marked as a duplicate of bug 538428 ***