| Summary: | SELinux is preventing /bin/bash from 'read' accesses on the file meminfo. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Devon Janitz <devonjanitz> |
| 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: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:1908016eb5837673998d1d2717d01fe035ab6adf2946e772bc0bf21bb419ea0b | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-26 22:34:49 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 770148 *** |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.6-1.fc16.x86_64 reason: SELinux is preventing /bin/bash from 'read' accesses on the file meminfo. time: Sun 25 Dec 2011 07:58:33 PM EST description: :SELinux is preventing /bin/bash from 'read' accesses on the file meminfo. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that bash should be allowed read access on the meminfo 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 sh /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:boinc_t:s0 :Target Context system_u:object_r:proc_t:s0 :Target Objects meminfo [ file ] :Source sh :Source Path /bin/bash :Port <Unknown> :Host (removed) :Source RPM Packages bash-4.2.20-1.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-67.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.1.6-1.fc16.x86_64 #1 : SMP Wed Dec 21 22:41:17 UTC 2011 x86_64 x86_64 :Alert Count 2 :First Seen Sun 25 Dec 2011 07:50:47 PM EST :Last Seen Sun 25 Dec 2011 07:50:47 PM EST :Local ID d3ded375-bb76-4fc2-ac69-049045537b77 : :Raw Audit Messages :type=AVC msg=audit(1324860647.845:86): avc: denied { read } for pid=2218 comm="sh" name="meminfo" dev=proc ino=4026532027 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file : : :type=AVC msg=audit(1324860647.845:86): avc: denied { open } for pid=2218 comm="sh" name="meminfo" dev=proc ino=4026532027 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file : : :type=SYSCALL msg=audit(1324860647.845:86): arch=x86_64 syscall=open success=yes exit=EIO a0=3e26b7298f a1=0 a2=1b6 a3=238 items=0 ppid=2209 pid=2218 auid=4294967295 uid=993 gid=990 euid=993 suid=993 fsuid=993 egid=990 sgid=990 fsgid=990 tty=(none) ses=4294967295 comm=sh exe=/bin/bash subj=system_u:system_r:boinc_t:s0 key=(null) : :Hash: sh,boinc_t,proc_t,file,read : :audit2allow : :#============= boinc_t ============== :allow boinc_t proc_t:file { read open }; : :audit2allow -R : :#============= boinc_t ============== :allow boinc_t proc_t:file { read open }; :