Bug 887042
| Summary: | SELinux is preventing /usr/bin/perl from 'create' accesses on the file MS.ownertest.z36Ypx. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jose Mendoza <joseomendoza> |
| 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: | 17 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:7fc621f1c79498fb7ef8003245d692667f66950ef8218267671d45e0e4cdce55 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-01-07 04:04:38 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: | |||
added.
commit fe9713c6d7af04692613be117142ec692f9f2436
Author: Miroslav Grepl <mgrepl>
Date: Fri Dec 14 10:17:17 2012 +0100
Backport mscan policy from F18
selinux-policy-3.10.0-165.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-165.fc17 Package selinux-policy-3.10.0-165.fc17: * should fix your issue, * was pushed to the Fedora 17 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.10.0-165.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-165.fc17 then log in and leave karma (feedback). Package selinux-policy-3.10.0-166.fc17: * should fix your issue, * was pushed to the Fedora 17 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.10.0-166.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-166.fc17 then log in and leave karma (feedback). selinux-policy-3.10.0-166.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: SELinux is preventing /usr/bin/perl from 'create' accesses on the file MS.ownertest.z36Ypx. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that perl should be allowed create access on the MS.ownertest.z36Ypx 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 4D61696C5363616E6E65723A207374 /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:mscan_t:s0 Target Context system_u:object_r:tmp_t:s0 Target Objects MS.ownertest.z36Ypx [ file ] Source 4D61696C5363616E6E65723A207374 Source Path /usr/bin/perl Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.10.0-161.fc17.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.6.7-4.fc17.x86_64 #1 SMP Tue Nov 20 19:40:01 UTC 2012 x86_64 x86_64 Alert Count 290516 First Seen 2012-11-26 18:49:05 PST Last Seen 2012-12-13 14:25:07 PST Local ID 2b97077a-a7ca-4838-8475-db42cacc3054 Raw Audit Messages type=AVC msg=audit(1355437507.786:301928): avc: denied { create } for pid=27761 comm=4D61696C5363616E6E65723A207374 name="MS.ownertest.z36Ypx" scontext=system_u:system_r:mscan_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=file type=SYSCALL msg=audit(1355437507.786:301928): arch=x86_64 syscall=open success=no exit=EACCES a0=2fa67b0 a1=200c2 a2=180 a3=0 items=0 ppid=1542 pid=27761 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=4D61696C5363616E6E65723A207374 exe=2F7573722F62696E2F7065726C202864656C6574656429 subj=system_u:system_r:mscan_t:s0 key=(null) Hash: 4D61696C5363616E6E65723A207374,mscan_t,tmp_t,file,create audit2allow #============= mscan_t ============== allow mscan_t tmp_t:file create; audit2allow -R #============= mscan_t ============== allow mscan_t tmp_t:file create; Additional info: hashmarkername: setroubleshoot kernel: 3.6.7-4.fc17.x86_64 type: libreport