Bug 783686 - SELinux is preventing /sbin/mdadm from 'getattr' accesses on the None /dev/md/arekh.okg:0.
Summary: SELinux is preventing /sbin/mdadm from 'getattr' accesses on the None /dev/md...
Keywords:
Status: CLOSED DUPLICATE of bug 783685
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5359b1ca537d62bbea27b0fb94d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-21 18:02 UTC by Nicolas Mailhot
Modified: 2012-01-23 10:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-23 10:58:16 UTC
Type: ---


Attachments (Terms of Use)

Description Nicolas Mailhot 2012-01-21 18:02:20 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.1-8.fc17.x86_64
reason:         SELinux is preventing /sbin/mdadm from 'getattr' accesses on the None /dev/md/arekh.okg:0.
time:           sam. 21 janv. 2012 18:54:50 CET

description:
:SELinux is preventing /sbin/mdadm from 'getattr' accesses on the None /dev/md/(removed):0.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that mdadm should be allowed getattr access on the (removed):0 <Inconnu> by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep mdadm /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:mdadm_t:s0
:Target Context                system_u:object_r:mdadm_var_run_t:s0
:Target Objects                /dev/md/(removed):0 [ None ]
:Source                        mdadm
:Source Path                   /sbin/mdadm
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    <Inconnu>
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.1-8.fc17.x86_64 #1 SMP Thu Jan
:                              19 02:19:07 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    sam. 21 janv. 2012 18:20:16 CET
:Last Seen                     sam. 21 janv. 2012 18:44:57 CET
:Local ID                      9ee264b4-0c2e-4655-ac63-c5d262b84d25
:
:Raw Audit Messages
:type=AVC msg=audit(1327167897.711:30): avc:  denied  { getattr } for  pid=885 comm="mdadm" path="/dev/md/(removed):0" dev=devtmpfs ino=9554 scontext=system_u:system_r:mdadm_t:s0 tcontext=system_u:object_r:mdadm_var_run_t:s0 tclass=lnk_filenode=(removed) type=SYSCALL msg=audit(1327167897.711:30): arch=c000003e syscall=262 success=yes exit=0 a0=5 a1=1dffefb a2=7fffc2265770 a3=100 items=0 ppid=1 pid=885 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="mdadm" exe="/sbin/mdadm" subj=system_u:system_r:mdadm_t:s0 key=(null)
:
:
:Hash: mdadm,mdadm_t,mdadm_var_run_t,None,getattr
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-01-23 10:58:16 UTC

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


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