View Issue Details

IDProjectCategoryView StatusLast Update
0015856CentOS-7selinux-policypublic2019-05-07 01:16
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0015856: SELinux is preventing /usr/bin/nvidia-modprobe from 'read' accesses on the file modprobe.
DescriptionDescription of problem:
SELinux is preventing /usr/bin/nvidia-modprobe from 'read' accesses on the file modprobe.

***** Plugin restorecon_source (99.5 confidence) suggests *****************

If you want to fix the label.
/usr/bin/nvidia-modprobe default label should be xserver_exec_t.
Then you can run restorecon.
# /sbin/restorecon -v /usr/bin/nvidia-modprobe

***** Plugin catchall (1.49 confidence) suggests **************************

If you believe that nvidia-modprobe should be allowed read 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.
allow this access for now by executing:
# ausearch -c 'nvidia-modprobe' --raw | audit2allow -M my-nvidiamodprobe
# semodule -i my-nvidiamodprobe.pp

Additional Information:
Source Context system_u:system_r:boinc_t:s0
Target Context system_u:object_r:usermodehelper_t:s0
Target Objects modprobe [ file ]
Source nvidia-modprobe
Source Path /usr/bin/nvidia-modprobe
Port <Unknown>
Host (removed)
Source RPM Packages
Target RPM Packages
Policy RPM selinux-policy-3.13.1-229.el7_6.9.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-957.5.1.el7.x86_64 #1 SMP
                              Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64
Alert Count 2
First Seen 2019-02-21 19:08:39 EST
Last Seen 2019-02-21 19:08:39 EST
Local ID 29f4c74e-fdac-4cb7-a437-a5c8c95a8dd6

Raw Audit Messages
type=AVC msg=audit(1550794119.338:186): avc: denied { read } for pid=9144 comm="nvidia-modprobe" name="modprobe" dev="proc" ino=40523 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:usermodehelper_t:s0 tclass=file permissive=0

Hash: nvidia-modprobe,boinc_t,usermodehelper_t,file,read

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 3.10.0-957.5.1.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-02-22 00:27 petmal New Issue