| Summary: | SELinux is preventing /bin/ps from 'read' accesses on the fichier stat. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED CURRENTRELEASE | 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:c514025b2dc325bc14c4f4b48b413a298562090789bc0542fb260523f1e868d1 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-10 08:56:50 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** Bug 783759 has been marked as a duplicate of this bug. *** Fixed in selinux-policy-3.10.0-77.fc17 |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.1-8.fc17.x86_64 reason: SELinux is preventing /bin/ps from 'read' accesses on the fichier stat. time: dim. 22 janv. 2012 12:21:03 CET description: :SELinux is preventing /bin/ps from 'read' accesses on the fichier stat. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that ps should be allowed read access on the stat file 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 ps /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:mdadm_t:s0-s0:c0.c1023 :Target Context system_u:system_r:init_t:s0 :Target Objects stat [ file ] :Source ps :Source Path /bin/ps :Port <Inconnu> :Host (removed) :Source RPM Packages procps-3.2.8-25.20110302git.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-76.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :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 1 :First Seen dim. 22 janv. 2012 01:00:08 CET :Last Seen dim. 22 janv. 2012 01:00:08 CET :Local ID 6bb40bcf-e5e5-4f4e-b97f-e95637f2c958 : :Raw Audit Messages :type=AVC msg=audit(1327190408.109:1004): avc: denied { read } for pid=8985 comm="ps" name="stat" dev=proc ino=5069491 scontext=system_u:system_r:mdadm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:init_t:s0 tclass=filenode=(removed) type=AVC msg=audit(1327190408.109:1004): avc: denied { open } for pid=8985 comm="ps" name="stat" dev=proc ino=5069491 scontext=system_u:system_r:mdadm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:init_t:s0 tclass=file : : :type=SYSCALL msg=audit(1327190408.109:1004): arch=x86_64 syscall=open success=yes exit=ENXIO a0=303a621540 a1=0 a2=0 a3=0 items=0 ppid=8984 pid=8985 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=53 comm=ps exe=/bin/ps subj=system_u:system_r:mdadm_t:s0-s0:c0.c1023 key=(null) : :Hash: ps,mdadm_t,init_t,file,read : :audit2allow : :#============= mdadm_t ============== :allow mdadm_t init_t:file { read open }; : :audit2allow -R : :#============= mdadm_t ============== :allow mdadm_t init_t:file { read open }; :