| Summary: | SELinux is preventing /sbin/mdadm from 'getattr' accesses on the None /dev/md/arekh.okg:0. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:5359b1ca537d62bbea27b0fb94dc44708ea2bd72bd9c6b71f9309e97bca87ee9 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-23 10:58:16 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 783685 *** |
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 : :