Bug 982205
Summary: | SELinux is preventing /usr/bin/ps from 'getattr' accesses on the directory /proc/<pid>. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Arindam Choudhury <arindam> |
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: | 19 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, rafgeens+redhatbugs |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:a7faa806833f3dc8989a2f1fd32cafdbc5104b03f117cd830571d80bedf7ae0b | ||
Fixed In Version: | selinux-policy-3.12.1-63.fc19 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-10-24 17:51:51 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: |
Description
Arindam Choudhury
2013-07-08 11:44:59 UTC
a50224a24d03f76033f1a65ee5a628782b709447 allows this in git. selinux-policy-3.12.1-63.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-63.fc19 Package selinux-policy-3.12.1-63.fc19: * should fix your issue, * was pushed to the Fedora 19 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.12.1-63.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-12762/selinux-policy-3.12.1-63.fc19 then log in and leave karma (feedback). selinux-policy-3.12.1-63.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. I'm still seeing the issue with selinux-policy-3.12.1-63.fc19: type=AVC msg=audit(1373983035.745:640): avc: denied { getattr } for pid=18732 comm="ps" path="/proc/493" dev="proc" ino=12914 scontext=system_u:system_r:rabbitmq_beam_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=dir What does # ps -eZ |grep initrc on your system? It doesn't return anything. I picked another entry from the audit log after attemping to start rabbitmq: type=SYSCALL msg=audit(1374517789.081:24532): arch=c000003e syscall=4 success=no exit=-13 a0=10405c0 a1=7fd6a7f93a80 a2=7fd6a7f93a80 a3=0 items=0 ppid=1969 pid=2018 auid=4294967295 uid=996 gid=997 euid=996 suid=996 fsuid=996 egid=997 sgid=997 fsgid=997 ses=4294967295 tty=(none) comm="ps" exe="/usr/bin/ps" subj=system_u:system_r:rabbitmq_beam_t:s0 key=(null) type=AVC msg=audit(1374517789.081:24533): avc: denied { getattr } for pid=2018 comm="ps" path="/proc/350" dev="proc" ino=10558 scontext=system_u:system_r:rabbitmq_beam_t:s0 tcontext=system_u:system_r:syslogd_t:s0 tclass=dir type=SYSCALL msg=audit(1374517789.081:24533): arch=c000003e syscall=4 success=no exit=-13 a0=10405c0 a1=7fd6a7f93a80 a2=7fd6a7f93a80 a3=0 items=0 ppid=1969 pid=2018 auid=4294967295 uid=996 gid=997 euid=996 suid=996 fsuid=996 egid=997 sgid=997 fsgid=997 ses=4294967295 tty=(none) comm="ps" exe="/usr/bin/ps" subj=system_u:system_r:rabbitmq_beam_t:s0 key=(null) ps -eZ | grep syslogd gives: system_u:system_r:syslogd_t:s0 270 ? 00:00:00 systemd-journal system_u:system_r:syslogd_t:s0 350 ? 00:00:00 rsyslogd Ah, and the log in the previous message is with selinux-policy-3.12.1-65.fc19. Can this bug be reopened? It's marked as closed but there's nobody in https://admin.fedoraproject.org/updates/FEDORA-2013-12762/selinux-policy-3.12.1-63.fc19 who seems to have tested it. I currently have to disable SELinux to be able to start the distro version of RabbitMQ. What AVC are you currently seeing? I've retested with selinux-policy-3.12.1-69.fc19 and the ps related denials are gone. It's still not starting though: there are now a bunch of name_bind denials and one name_connect denial. I've filed a new report for that: https://bugzilla.redhat.com/show_bug.cgi?id=993279 . |