| Summary: | AVC for prelink | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jan Hutař <jhutar> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | dwalsh, ltoscano, mmalik, slukasik |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-28 16:02:18 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
These AVC's are caused by running out of resources, usually disk space on your / partition. Interestingly, there is a lot of disk space left on this particular machine:
# grep -q system_u:system_r:prelink_cron_system_t \
/var/log/audit/audit.log && df | grep /$
33378088 16130308 15552244 51% /
syscall=56 -> syscall=clone What about the limit for number of processes / threads ? Is it possible that the limit was reached ? Two many processes/forks? Since RHEL 6.2 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. Could this be a potential duplicate of rhbz680204 ? *** This bug has been marked as a duplicate of bug 680204 *** |
Description of problem: During execution of our tests we have seen this (multiple times): time->Thu Sep 29 15:32:42 2011 type=SYSCALL msg=audit(1317324762.246:592298): arch=c000003e syscall=56 success=yes exit=39790 a0=1200011 a1=0 a2=0 a3=7f5df2db39d0 items=0 ppid=48267 pid=39787 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4 comm="prelink" exe="/bin/bash" subj=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 key=(null) type=AVC msg=audit(1317324762.246:592298): avc: denied { sys_resource } for pid=39787 comm="prelink" capability=24 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tclass=capability type=AVC msg=audit(1317324762.246:592298): avc: denied { sys_admin } for pid=39787 comm="prelink" capability=21 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tclass=capability Version-Release number of selected component (if applicable): selinux-policy-3.7.19-113.el6.noarch selinux-policy-targeted-3.7.19-113.el6.noarch How reproducible: 1 of 1 attempt Steps to Reproduce: 1. I do not know what caused it. It does not seemed to be caused by our tests, but by cron running prelink. Actual results: AVC above Expected results: No AVC