Bug 523011 - setroubleshoot: SELinux is preventing sh "read" access on md0.
Summary: setroubleshoot: SELinux is preventing sh "read" access on md0.
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:374a2ee746c...
Depends On:
TreeView+ depends on / blocked
Reported: 2009-09-13 10:13 UTC by Nicolas Mailhot
Modified: 2009-09-14 16:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-09-14 16:15:28 UTC

Attachments (Terms of Use)

Description Nicolas Mailhot 2009-09-13 10:13:14 UTC
The following was filed automatically by setroubleshoot:


SELinux is preventing sh "read" access on md0.

Description détaillée:

SELinux denied access requested by sh. It is not expected that this access is
required by sh 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) Please file a bug

Informations complémentaires:

Contexte source               system_u:system_r:system_cronjob_t:s0-s0:c0.c1023
Contexte cible                system_u:object_r:sysfs_t:s0
Objets du contexte            md0 [ lnk_file ]
source                        sh
Chemin de la source           sh
Port                          <Inconnu>
Hôte                         (removed)
Paquetages RPM source         
Paquetages RPM cible          
Politique RPM                 selinux-policy-3.6.31-3.fc12
Selinux activé               True
Type de politique             targeted
MLS activé                   True
Mode strict                   Enforcing
Nom du plugin                 catchall
Nom de l'hôte                (removed)
Plateforme                    Linux (removed) 2.6.31-2.fc12.x86_64 #1 SMP Thu
                              Sep 10 00:25:40 EDT 2009 x86_64 x86_64
Compteur d'alertes            1
Première alerte              dim. 13 sept. 2009 02:00:01 CEST
Dernière alerte              dim. 13 sept. 2009 02:00:01 CEST
ID local                      c99962c5-69c1-477d-8211-4fc5c04fe350
Numéros des lignes           

Messages d'audit bruts        

node=(removed) type=AVC msg=audit(1252800001.766:270): avc:  denied  { read } for  pid=4535 comm="sh" name="md0" dev=sysfs ino=14614 scontext=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sysfs_t:s0 tclass=lnk_file

audit2allow suggests:

#============= system_cronjob_t ==============
allow system_cronjob_t sysfs_t:lnk_file read;

Comment 1 Daniel Walsh 2009-09-14 16:15:28 UTC
Fixed in selinux-policy-3.6.31-4.fc12.noarch

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