| Summary: | Several avc for spamc and pyzor | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David Highley <david.m.highley> |
| Component: | selinux-policy-strict | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED EOL | QA Contact: | Ben Levenson <benl> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | dwalsh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-18 11:39:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This message is a notice that Fedora 19 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 19. It is Fedora's policy to close all bug reports from releases that are no longer maintained. Approximately 4 (four) weeks from now this bug will be closed as EOL if it remains open with a Fedora 'version' of '19'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 19 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |
Description of problem: There are several avc issues with spamc and pyzor. Version-Release number of selected component (if applicable): selinux-policy-3.12.1-74.11.fc19.noarch How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: type=SYSCALL msg=audit(1376212087.230:525): arch=c000003e syscall=4 success=no e xit=-13 a0=24121b0 a1=7fff9e82e820 a2=7fff9e82e820 a3=7f889c8a35d0 items=0 ppid=9709 pid=9710 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="pyzor" exe="/usr/bin/python2.7" subj=system_u:system_r:spamc_t:s0 key=(null) type=AVC msg=audit(1376212087.230:525): avc: denied { getattr } for pid=9710 comm="pyzor" path="/usr/bin/rpm" dev="dm-1" ino=691636 scontext=system_u:system_r:spamc_t:s0 tcontext=system_u:object_r:rpm_exec_t:s0 tclass=file type=SYSCALL msg=audit(1376217670.157:605): arch=c000003e syscall=4 success=no exit=-13 a0=1b511b0 a1=7fffab9ca4a0 a2=7fffab9ca4a0 a3=7fafd093b5d0 items=0 ppid=10665 pid=12274 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="pyzor" exe="/usr/bin/python2.7" subj=system_u:system_r:spamc_t:s0 key=(null) type=AVC msg=audit(1376217670.157:605): avc: denied { getattr } for pid=12274 comm="pyzor" path="/usr/bin/rpm" dev="dm-1" ino=691636 scontext=system_u:system_r:spamc_t:s0 tcontext=system_u:object_r:rpm_exec_t:s0 tclass=file type=SYSCALL msg=audit(1376218163.947:614): arch=c000003e syscall=4 success=no exit=-13 a0=1d191b0 a1=7fff04d2fd70 a2=7fff04d2fd70 a3=35101c15d0 items=0 ppid=24224 pid=24226 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="pyzor" exe="/usr/bin/python2> > subj=system_u:system_r:spamc_t:s0 key=(null) type=AVC msg=audit(1376218163.947:614): avc: denied { getattr } for pid=24226 comm="pyzor" path="/usr/bin/rpm" dev="dm-1" ino=9914 scontext=system_u:system_r:spamc_t:s0 tcontext=system_u:object_r:rpm_exec_t:s0 tclass=file -- selinux mailing list selinux.org https://admin.fedoraproject.org/mailman/listinfo/selinux .7" ---- time->Sat Nov 2 03:13:25 2013 type=SYSCALL msg=audit(1383387205.754:537): arch=c000003e syscall=4 success=no exit=-13 a0=15fa950 a1=7fffc56ea080 a2=7fffc56ea080 a3=3d673c15d0 items=0 ppid=7898 pid=8411 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="pyzor" exe="/usr/bin/python2.7" subj=system_u:system_r:spamc_t:s0 key=(null) type=AVC msg=audit(1383387205.754:537): avc: denied { getattr } for pid=8411 comm="pyzor" path="/usr/lib/systemd/systemd" dev="dm-1" ino=67580785 scontext=system_u:system_r:spamc_t:s0 tcontext=system_u:object_r:init_exec_t:s0 tclass=file ---- time->Sat Nov 2 03:13:25 2013 type=SYSCALL msg=audit(1383387205.789:538): arch=c000003e syscall=59 success=no exit=-13 a0=1a7e5a0 a1=1a7e6a0 a2=1a7d430 a3=0 items=0 ppid=8459 pid=8460 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="sh" exe="/usr/bin/bash" subj=system_u:system_r:spamc_t:s0 key=(null) type=AVC msg=audit(1383387205.789:538): avc: denied { execute } for pid=8460 comm="sh" name="ldconfig" dev="dm-1" ino=201328218 scontext=system_u:system_r:spamc_t:s0 tcontext=system_u:object_r:ldconfig_exec_t:s0 tclass=file ---- time->Sat Nov 2 03:13:25 2013 type=SYSCALL msg=audit(1383387205.789:539): arch=c000003e syscall=4 success=no exit=-13 a0=1a7e5a0 a1=7fffe3985180 a2=7fffe3985180 a3=0 items=0 ppid=8459 pid=8460 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="sh" exe="/usr/bin/bash" subj=system_u:system_r:spamc_t:s0 key=(null) type=AVC msg=audit(1383387205.789:539): avc: denied { getattr } for pid=8460 comm="sh" path="/usr/sbin/ldconfig" dev="dm-1" ino=201328218 scontext=system_u:system_r:spamc_t:s0 tcontext=system_u:object_r:ldconfig_exec_t:s0 tclass=file ---- time->Sat Nov 2 03:13:25 2013 type=SYSCALL msg=audit(1383387205.789:540): arch=c000003e syscall=4 success=no exit=-13 a0=1a7e5a0 a1=7fffe3985160 a2=7fffe3985160 a3=0 items=0 ppid=8459 pid=8460 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="sh" exe="/usr/bin/bash" subj=system_u:system_r:spamc_t:s0 key=(null) type=AVC msg=audit(1383387205.789:540): avc: denied { getattr } for pid=8460 comm="sh" path="/usr/sbin/ldconfig" dev="dm-1" ino=201328218 scontext=system_u:system_r:spamc_t:s0 tcontext=system_u:object_r:ldconfig_exec_t:s0 tclass=file ---- time->Sat Nov 2 03:13:25 2013 type=SYSCALL msg=audit(1383387205.789:540): arch=c000003e syscall=4 success=no exit=-13 a0=1a7e5a0 a1=7fffe3985160 a2=7fffe3985160 a3=0 items=0 ppid=8459 pid=8460 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="sh" exe="/usr/bin/bash" subj=system_u:system_r:spamc_t:s0 key=(null) type=AVC msg=audit(1383387205.789:540): avc: denied { getattr } for pid=8460 comm="sh" path="/usr/sbin/ldconfig" dev="dm-1" ino=201328218 scontext=system_u:system_r:spamc_t:s0 tcontext=system_u:object_r:ldconfig_exec_t:s0 tclass=file Expected results: Additional info: Note we do not think we want this application reading the shadow file and it appears to function with out it. Current local policy is: module my_spamc 1.0; require { type spamc_t; type proc_net_t; type shadow_t; type rpm_exec_t; type init_exec_t; type ldconfig_exec_t; class file { read getattr execute }; class capability { dac_read_search dac_override net_admin }; } #============= spamc_t ============== #allow spamc_t self:capability { dac_read_search dac_override net_admin }; #allow spamc_t proc_net_t:file read; allow spamc_t init_exec_t:file getattr; allow spamc_t ldconfig_exec_t:file { execute getattr }; dontaudit spamc_t shadow_t:file { read }; dontaudit spamc_t rpm_exec_t:file { getattr };