| Summary: | SELinux is preventing /sbin/modprobe from 'execute' accesses on the file /sbin/modprobe. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jason D. Clinton <me> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:6dba0cc3d82f5521829db1ac9053d720be0d496dcef24c36f693481ff95a0415 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-15 17:45:31 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Fixed in selinux-policy-3.10.0-4.fc16 |
SELinux is preventing /sbin/modprobe from 'execute' accesses on the file /sbin/modprobe. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that modprobe should be allowed execute access on the modprobe 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 modprobe /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:virtd_t:s0-s0:c0.c1023 Target Context system_u:object_r:insmod_exec_t:s0 Target Objects /sbin/modprobe [ file ] Source modprobe Source Path /sbin/modprobe Port <Unknown> Host (removed) Source RPM Packages module-init-tools-3.16-1.fc16 Target RPM Packages module-init-tools-3.16-1.fc16 Policy RPM selinux-policy-3.10.0-3.fc16 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.0-0.rc7.git0.1.fc16.x86_64 #1 SMP Tue Jul 12 12:57:40 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen Fri 15 Jul 2011 08:52:43 AM CDT Last Seen Fri 15 Jul 2011 08:52:43 AM CDT Local ID bc3636ec-969c-4dfc-9896-a918b1d69a3d Raw Audit Messages type=AVC msg=audit(1310737963.611:43): avc: denied { execute } for pid=1358 comm="ip6tables" name="modprobe" dev=dm-1 ino=920875 scontext=system_u:system_r:virtd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:insmod_exec_t:s0 tclass=file type=AVC msg=audit(1310737963.611:43): avc: denied { read open } for pid=1358 comm="ip6tables" name="modprobe" dev=dm-1 ino=920875 scontext=system_u:system_r:virtd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:insmod_exec_t:s0 tclass=file type=AVC msg=audit(1310737963.611:43): avc: denied { execute_no_trans } for pid=1358 comm="ip6tables" path="/sbin/modprobe" dev=dm-1 ino=920875 scontext=system_u:system_r:virtd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:insmod_exec_t:s0 tclass=file type=SYSCALL msg=audit(1310737963.611:43): arch=x86_64 syscall=execve success=yes exit=0 a0=1042010 a1=7fff9e1918e0 a2=7fff9e191ca0 a3=7fff9e191650 items=0 ppid=1356 pid=1358 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=modprobe exe=/sbin/modprobe subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 key=(null) Hash: modprobe,virtd_t,insmod_exec_t,file,execute audit2allow #============= virtd_t ============== allow virtd_t insmod_exec_t:file { read execute open execute_no_trans }; audit2allow -R #============= virtd_t ============== allow virtd_t insmod_exec_t:file { read execute open execute_no_trans };