Bug 560768 - SELinux is preventing ps (mysqld_safe_t) "getattr" init_t.
Summary: SELinux is preventing ps (mysqld_safe_t) "getattr" init_t.
Keywords:
Status: CLOSED DUPLICATE of bug 560762
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:c1d2f304b97...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-01 19:39 UTC by Pierre Blavy
Modified: 2010-02-01 19:55 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-01 19:55:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pierre Blavy 2010-02-01 19:39:03 UTC
Résumé:

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

Description détaillée:

[ps a un type permissif (mysqld_safe_t). Cet accès n'a pas été refusé.]

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.

Autoriser l'accès:

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.

Informations complémentaires:

Contexte source               unconfined_u:system_r:mysqld_safe_t:s0
Contexte cible                system_u:system_r:init_t:s0
Objets du contexte            /proc/<pid> [ dir ]
source                        ps
Chemin de la source           /bin/ps
Port                          <Inconnu>
Hôte                         (removed)
Paquetages RPM source         procps-3.2.7-27.fc11
Paquetages RPM cible          
Politique RPM                 selinux-policy-3.6.12-39.fc11
Selinux activé               True
Type de politique             targeted
Mode strict                   Enforcing
Nom du plugin                 catchall
Nom de l'hôte                (removed)
Plateforme                    Linux (removed) 2.6.29.4-167.fc11.x86_64 #1 SMP Wed
                              May 27 17:27:08 EDT 2009 x86_64 x86_64
Compteur d'alertes            1
Première alerte              lun. 15 juin 2009 11:54:56 CEST
Dernière alerte              lun. 15 juin 2009 11:54:56 CEST
ID local                      91793891-f66e-405b-8e30-9c6a1f08034b
Numéros des lignes           

Messages d'audit bruts        

node=(removed) type=AVC msg=audit(1245059696.509:23624): avc:  denied  { getattr } for  pid=6585 comm="ps" path="/proc/1" dev=proc ino=2127 scontext=unconfined_u:system_r:mysqld_safe_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1245059696.509:23624): arch=c000003e syscall=4 success=yes exit=0 a0=280f1f0 a1=3a43c10f60 a2=3a43c10f60 a3=1999999999999999 items=0 ppid=6515 pid=6585 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 ses=1 comm="ps" exe="/bin/ps" subj=unconfined_u:system_r:mysqld_safe_t:s0 key=(null)



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

#============= mysqld_safe_t ==============
#!!!! This avc is allowed in the current policy

allow mysqld_safe_t init_t:dir getattr;

Comment 1 Miroslav Grepl 2010-02-01 19:55:01 UTC

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


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