Bug 783685 - SELinux is preventing /sbin/mdadm from 'read' accesses on the None arekh.okg:0.
Summary: SELinux is preventing /sbin/mdadm from 'read' accesses on the None arekh.okg:0.
Keywords:
Status: CLOSED RAWHIDE
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:a060a86ef0e88d5b53d86d575f7...
: 783686 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-21 18:01 UTC by Nicolas Mailhot
Modified: 2012-01-23 11:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-23 11:02:22 UTC
Type: ---


Attachments (Terms of Use)

Description Nicolas Mailhot 2012-01-21 18:01:51 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 'read' accesses on the None arekh.okg:0.
time:           sam. 21 janv. 2012 18:54:19 CET

description:
:SELinux is preventing /sbin/mdadm from 'read' accesses on the None (removed):0.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that mdadm should be allowed read 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                (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                      89404baf-15c7-40ed-865a-faf4072cf2c2
:
:Raw Audit Messages
:type=AVC msg=audit(1327167897.712:31): avc:  denied  { read } for  pid=885 comm="mdadm" name="(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.712:31): arch=c000003e syscall=4 success=yes exit=0 a0=1df6e50 a1=7fffc22656a0 a2=7fffc22656a0 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,read
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-01-23 10:58:16 UTC
*** Bug 783686 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2012-01-23 11:02:22 UTC
Fixed in elinux-policy-3.10.0-77.fc17


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