| Summary: | SELinux is preventing /usr/bin/perl from 'setattr' accesses on the sock_file munin-master-processmanager-20902.sock. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Till Maas <opensource> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 15 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:ddd2ddade141d0670c608ece8d3108c8848352723808ebb3540281353bf83dd5 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-09 17:54:17 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 729135 *** |
SELinux is preventing /usr/bin/perl from 'setattr' accesses on the sock_file munin-master-processmanager-20902.sock. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that perl should be allowed setattr access on the munin-master-processmanager-20902.sock sock_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 munin-update /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:munin_t:s0-s0:c0.c1023 Target Context system_u:object_r:var_run_t:s0 Target Objects munin-master-processmanager-20902.sock [ sock_file ] Source munin-update Source Path /usr/bin/perl Port <Unbekannt> Host (removed) Source RPM Packages perl-5.12.4-159.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-35.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.40-4.fc15.x86_64 #1 SMP Fri Jul 29 18:46:53 UTC 2011 x86_64 x86_64 Alert Count 1095 First Seen Do 04 Aug 2011 08:15:02 CEST Last Seen Mo 08 Aug 2011 21:40:02 CEST Local ID 78324a74-01a5-458d-bfef-22515dd0a5c8 Raw Audit Messages type=AVC msg=audit(1312832402.187:2915): avc: denied { setattr } for pid=20902 comm="munin-update" name="munin-master-processmanager-20902.sock" dev=tmpfs ino=895609 scontext=system_u:system_r:munin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=sock_file type=SYSCALL msg=audit(1312832402.187:2915): arch=x86_64 syscall=chmod success=yes exit=0 a0=300a670 a1=1c0 a2=4000 a3=0 items=0 ppid=20901 pid=20902 auid=487 uid=487 gid=470 euid=487 suid=487 fsuid=487 egid=470 sgid=470 fsgid=470 tty=(none) ses=309 comm=munin-update exe=/usr/bin/perl subj=system_u:system_r:munin_t:s0-s0:c0.c1023 key=(null) Hash: munin-update,munin_t,var_run_t,sock_file,setattr audit2allow #============= munin_t ============== allow munin_t var_run_t:sock_file setattr; audit2allow -R #============= munin_t ============== allow munin_t var_run_t:sock_file setattr;