Bug 1562383 - SELinux is preventing tlp from 'module_request' accesses on the system Unknown.
Summary: SELinux is preventing tlp from 'module_request' accesses on the system Unknown.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f08e6db76f1279330181cc39c7e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-30 12:55 UTC by Heiko Adams
Modified: 2018-04-19 22:07 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.14.1-21.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-19 22:07:26 UTC
Type: ---


Attachments (Terms of Use)

Description Heiko Adams 2018-03-30 12:55:41 UTC
Description of problem:
SELinux is preventing tlp from 'module_request' accesses on the system Unknown.

*****  Plugin catchall_boolean (89.3 confidence) suggests   ******************

Sie folgendes tun möchten: allow domain to kernel load modules
Then sie müssen SELinux darüber benachrichtigen, indem Sie die 	boolesche Variable »domain_kernel_load_modules« aktivieren.

Do
setsebool -P domain_kernel_load_modules 1

*****  Plugin catchall (11.6 confidence) suggests   **************************

If you believe that tlp should be allowed module_request access on the Unknown system by default.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
allow this access for now by executing:
# ausearch -c 'tlp' --raw | audit2allow -M my-tlp
# semodule -X 300 -i my-tlp.pp

Additional Information:
Source Context                system_u:system_r:tlp_t:s0
Target Context                system_u:system_r:kernel_t:s0
Target Objects                Unknown [ system ]
Source                        tlp
Source Path                   tlp
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.1-18.fc28.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.16.0-0.rc6.git0.2.fc28.x86_64 #1
                              SMP Mon Mar 19 17:05:43 UTC 2018 x86_64 x86_64
Alert Count                   152
First Seen                    2018-03-29 21:09:41 CEST
Last Seen                     2018-03-30 13:58:42 CEST
Local ID                      8f98d8a4-85b3-47de-90cc-c6904f6ef3d1

Raw Audit Messages
type=AVC msg=audit(1522411122.843:268): avc:  denied  { module_request } for  pid=5491 comm="tlp" kmod="netdev-" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system permissive=0


Hash: tlp,tlp_t,kernel_t,system,module_request

Version-Release number of selected component:
selinux-policy-3.14.1-18.fc28.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.4
hashmarkername: setroubleshoot
kernel:         4.16.0-0.rc6.git0.2.fc28.x86_64
type:           libreport

Comment 1 Fedora Update System 2018-04-16 11:34:47 UTC
selinux-policy-3.14.1-21.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1148ada2a3

Comment 2 Fedora Update System 2018-04-17 03:03:59 UTC
selinux-policy-3.14.1-21.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-1148ada2a3

Comment 3 Fedora Update System 2018-04-19 22:07:26 UTC
selinux-policy-3.14.1-21.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


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