Bug 560762 - SELinux is preventing mysqld_safe (mysqld_safe_t) "getattr" mysqld_var_run_t.
Summary: SELinux is preventing mysqld_safe (mysqld_safe_t) "getattr" mysqld_var_run_t.
Keywords:
Status: CLOSED DUPLICATE of bug 538428
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:5651d97319a...
: 560765 560766 560768 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-01 19:35 UTC by Pierre Blavy
Modified: 2010-02-01 19:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-01 19:55:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pierre Blavy 2010-02-01 19:35:46 UTC
Résumé:

SELinux is preventing mysqld_safe (mysqld_safe_t) "getattr" mysqld_var_run_t.

Description détaillée:

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

SELinux denied access requested by mysqld_safe. It is not expected that this
access is required by mysqld_safe 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                unconfined_u:object_r:mysqld_var_run_t:s0
Objets du contexte            /var/run/mysqld/mysqld.pid [ file ]
source                        mysqld_safe
Chemin de la source           /bin/bash
Port                          <Inconnu>
Hôte                         (removed)
Paquetages RPM source         bash-4.0-6.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                      dbc29074-ff02-4b4c-bec8-cc1306df1de1
Numéros des lignes           

Messages d'audit bruts        

node=(removed) type=AVC msg=audit(1245059696.492:23620): avc:  denied  { getattr } for  pid=6515 comm="mysqld_safe" path="/var/run/mysqld/mysqld.pid" dev=sda5 ino=102062 scontext=unconfined_u:system_r:mysqld_safe_t:s0 tcontext=unconfined_u:object_r:mysqld_var_run_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1245059696.492:23620): arch=c000003e syscall=4 success=yes exit=0 a0=27df560 a1=7fff14a1e220 a2=7fff14a1e220 a3=8 items=0 ppid=1 pid=6515 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 ses=1 comm="mysqld_safe" exe="/bin/bash" subj=unconfined_u:system_r:mysqld_safe_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.12-39.fc11,catchall,mysqld_safe,mysqld_safe_t,mysqld_var_run_t,file,getattr
audit2allow suggests:

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

allow mysqld_safe_t mysqld_var_run_t:file getattr;

Comment 1 Miroslav Grepl 2010-02-01 19:54:17 UTC
*** Bug 560765 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2010-02-01 19:54:40 UTC
*** Bug 560766 has been marked as a duplicate of this bug. ***

Comment 3 Miroslav Grepl 2010-02-01 19:55:02 UTC
*** Bug 560768 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2010-02-01 19:55:49 UTC

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


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