Bug 1517239

Summary: SELinux is preventing modprobe from 'module_load' accesses on the system Unknown.
Product: [Fedora] Fedora Reporter: Allan Poulsen <apo>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: brad.inch, dwalsh, lvrabec, mgrepl, plautrba, pmoore
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:66817961f7246011bb5678f9346ca47eea7b65f5a20382c8854f58b24547d841;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-13 12:43:38 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:

Description Allan Poulsen 2017-11-24 11:26:37 UTC
Description of problem:
Having OpenVSwitch started on an upgraded fedora 27 system
SELinux is preventing modprobe from 'module_load' accesses on the system Unknown.

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

If you believe that modprobe should be allowed module_load access on the Unknown system 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:
# ausearch -c 'modprobe' --raw | audit2allow -M my-modprobe
# semodule -X 300 -i my-modprobe.pp

Additional Information:
Source Context                system_u:system_r:openvswitch_t:s0
Target Context                system_u:system_r:openvswitch_t:s0
Target Objects                Unknown [ system ]
Source                        modprobe
Source Path                   modprobe
Port                          <Ukendt>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-225.22.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.12.13-200.fc25.x86_64 #1 SMP Thu
                              Sep 14 16:12:37 UTC 2017 x86_64 x86_64
Alert Count                   177
First Seen                    2017-02-27 20:58:55 CET
Last Seen                     2017-10-03 10:02:22 CEST
Local ID                      76fe997e-3222-421d-b8dd-3f48755791df

Raw Audit Messages
type=AVC msg=audit(1507017742.764:120): avc:  denied  { module_load } for  pid=1335 comm="modprobe" scontext=system_u:system_r:openvswitch_t:s0 tcontext=system_u:system_r:openvswitch_t:s0 tclass=system permissive=1


Hash: modprobe,openvswitch_t,openvswitch_t,system,module_load

Version-Release number of selected component:
selinux-policy-3.13.1-225.22.fc25.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.13.13-300.fc27.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2017-12-13 12:43:38 UTC

*** This bug has been marked as a duplicate of bug 1513399 ***