Bug 974426
| Summary: | SELinux is preventing ps from 'getattr' accesses on the directory /proc/<pid>. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lastecoueres <PX9e> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:b27c0c68e5ef0b830870d03498979c039184b9821f4438c5445a2de4babbfdd5 | ||
| Fixed In Version: | selinux-policy-3.11.1-98.fc18 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-07-25 00:40:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Are you running passenger? ee26cfb299f81dc2302b46b5ac3f9fa0d2f6f2bd add dontaudit for this. selinux-policy-3.11.1-98.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-98.fc18 Package selinux-policy-3.11.1-98.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-98.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-11859/selinux-policy-3.11.1-98.fc18 then log in and leave karma (feedback). selinux-policy-3.11.1-98.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: SELinux is preventing ps from 'getattr' accesses on the directory /proc/<pid>. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that ps should be allowed getattr access on the <pid> directory 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:httpd_t:s0 Target Context system_u:system_r:abrt_watch_log_t:s0 Target Objects /proc/<pid> [ dir ] Source ps Source Path ps Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.11.1-97.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.9.4-200.fc18.x86_64 #1 SMP Fri May 24 20:10:49 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-06-14 09:35:55 CEST Last Seen 2013-06-14 09:35:55 CEST Local ID f8071026-63f0-4889-b43f-8d12af51caf8 Raw Audit Messages type=AVC msg=audit(1371195355.984:409): avc: denied { getattr } for pid=2161 comm="ps" path="/proc/618" dev="proc" ino=16798 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:system_r:abrt_watch_log_t:s0 tclass=dir Hash: ps,httpd_t,abrt_watch_log_t,dir,getattr audit2allow #============= httpd_t ============== allow httpd_t abrt_watch_log_t:dir getattr; audit2allow -R require { type httpd_t; type abrt_watch_log_t; class dir getattr; } #============= httpd_t ============== allow httpd_t abrt_watch_log_t:dir getattr; Additional info: reporter: libreport-2.1.4 hashmarkername: setroubleshoot kernel: 3.9.4-200.fc18.x86_64 type: libreport