Bug 905696
| Summary: | SELinux is preventing /usr/bin/perl from 'search' accesses on the directory net. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alan Hamilton <alanh> |
| 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: | 18 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:21a7dea037f6a9dd1e2b37a4a3b5f64c36e27a681a05fa2dd530d36fa95c853a | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-08 02:26:02 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: | |||
Fixed in selinux-policy-3.11.1-74.fc18.noarch selinux-policy-3.11.1-74.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-74.fc18 Package selinux-policy-3.11.1-74.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-74.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-1693/selinux-policy-3.11.1-74.fc18 then log in and leave karma (feedback). selinux-policy-3.11.1-74.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: Appears to be caused by amavisd. Shows at boot. SELinux is preventing /usr/bin/perl from 'search' accesses on the directory net. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that perl should be allowed search access on the net 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 /usr/sbin/amavi /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:amavis_t:s0 Target Context system_u:object_r:sysctl_net_t:s0 Target Objects net [ dir ] Source /usr/sbin/amavi Source Path /usr/bin/perl Port <Unknown> Host (removed) Source RPM Packages procps-ng-3.3.3-2.20120807git.fc18.x86_64 Target RPM Packages Policy RPM selinux-policy-3.11.1-73.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.7.4-204.fc18.x86_64 #1 SMP Wed Jan 23 16:44:29 UTC 2013 x86_64 x86_64 Alert Count 60 First Seen 2013-01-19 12:34:24 MST Last Seen 2013-01-29 17:25:24 MST Local ID b88116cd-4a8d-45d6-a373-6190a3de78c3 Raw Audit Messages type=AVC msg=audit(1359505524.121:404): avc: denied { search } for pid=1309 comm="sysctl" name="net" dev="proc" ino=10436 scontext=system_u:system_r:amavis_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=dir type=SYSCALL msg=audit(1359505524.121:404): arch=x86_64 syscall=stat success=no exit=EACCES a0=18ee070 a1=7fffa6bae530 a2=7fffa6bae530 a3=15 items=0 ppid=1306 pid=1309 auid=4294967295 uid=493 gid=490 euid=493 suid=493 fsuid=493 egid=490 sgid=490 fsgid=490 ses=4294967295 tty=(none) comm=sysctl exe=/usr/sbin/sysctl subj=system_u:system_r:amavis_t:s0 key=(null) Hash: /usr/sbin/amavi,amavis_t,sysctl_net_t,dir,search audit2allow #============= amavis_t ============== allow amavis_t sysctl_net_t:dir search; audit2allow -R #============= amavis_t ============== allow amavis_t sysctl_net_t:dir search; Additional info: hashmarkername: setroubleshoot kernel: 3.7.4-204.fc18.x86_64 type: libreport