Bug 1046485 - SELinux is preventing /usr/bin/kmod from read, open access on the file /usr/bin/kmod.
Summary: SELinux is preventing /usr/bin/kmod from read, open access on the file /usr/b...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f6985041db52ae6b4a95f63dc46...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-25 18:32 UTC by ekrgbservice
Modified: 2014-11-21 12:56 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-21 12:56:09 UTC
Type: ---


Attachments (Terms of Use)

Description ekrgbservice 2013-12-25 18:32:49 UTC
Description of problem:
SELinux is preventing /usr/bin/kmod from read, open access on the file /usr/bin/kmod.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that kmod should be allowed read open access on the kmod 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:bumblebee_t:s0
Target Context                system_u:object_r:insmod_exec_t:s0
Target Objects                /usr/bin/kmod [ file ]
Source                        modprobe
Source Path                   /usr/bin/kmod
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           kmod-15-1.fc20.x86_64
Target RPM Packages           kmod-15-1.fc20.x86_64
Policy RPM                    selinux-policy-3.12.1-106.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.12.5-302.fc20.x86_64 #1 SMP Tue
                              Dec 17 20:42:32 UTC 2013 x86_64 x86_64
Alert Count                   3
First Seen                    2013-12-25 19:29:39 CET
Last Seen                     2013-12-25 19:31:39 CET
Local ID                      aeb5a927-3a77-4e96-8736-e7cde037ad25

Raw Audit Messages
type=AVC msg=audit(1387996299.980:572): avc:  denied  { read open } for  pid=3215 comm="bumblebeed" path="/usr/bin/kmod" dev="sdb3" ino=137728 scontext=system_u:system_r:bumblebee_t:s0 tcontext=system_u:object_r:insmod_exec_t:s0 tclass=file


type=AVC msg=audit(1387996299.980:572): avc:  denied  { execute_no_trans } for  pid=3215 comm="bumblebeed" path="/usr/bin/kmod" dev="sdb3" ino=137728 scontext=system_u:system_r:bumblebee_t:s0 tcontext=system_u:object_r:insmod_exec_t:s0 tclass=file


type=SYSCALL msg=audit(1387996299.980:572): arch=x86_64 syscall=execve success=yes exit=0 a0=4094e0 a1=7fff03f67e90 a2=7fff03f680c8 a3=7fff03f67c10 items=0 ppid=3214 pid=3215 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=modprobe exe=/usr/bin/kmod subj=system_u:system_r:bumblebee_t:s0 key=(null)

Hash: modprobe,bumblebee_t,insmod_exec_t,file,read,open

Additional info:
reporter:       libreport-2.1.10
hashmarkername: setroubleshoot
kernel:         3.12.5-302.fc20.x86_64
type:           libreport


Note You need to log in before you can comment on or make changes to this bug.