Bug 1555369 - SELinux is preventing dnssec-trigger- from 'module_request' accesses on the system Unknown.
Summary: SELinux is preventing dnssec-trigger- from 'module_request' accesses on the s...
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:659c9ed42a76d567e81985d31ca...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-14 14:52 UTC by David Jaša
Modified: 2018-03-26 22:31 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.14.1-18.fc28
Clone Of:
Environment:
Last Closed: 2018-03-26 22:31:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Jaša 2018-03-14 14:52:10 UTC
Description of problem:
This problem occurs at connection activation or deactivation when dnssec-trigger is used. The weird thing is that no module gets loaded when I switch SELinux to Permissive although the AVCs keep coming.
SELinux is preventing dnssec-trigger- from 'module_request' accesses on the system Unknown.

This AVC is generated when network connection is activated or deactivated. The weird thing is that no module gets actually loaded when I switch selinux to permissive altough the AVCs keep coming.

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

If you want to allow domain to kernel load modules
Then you must tell SELinux about this by enabling the 'domain_kernel_load_modules' boolean.

Do
setsebool -P domain_kernel_load_modules 1

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

If you believe that dnssec-trigger- should be allowed module_request 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 'dnssec-trigger-' --raw | audit2allow -M my-dnssectrigger
# semodule -X 300 -i my-dnssectrigger.pp

Additional Information:
Source Context                system_u:system_r:dnssec_trigger_t:s0
Target Context                system_u:system_r:kernel_t:s0
Target Objects                Unknown [ system ]
Source                        dnssec-trigger-
Source Path                   dnssec-trigger-
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.1-11.fc28.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.16.0-0.rc4.git0.1.fc28.x86_64 #1
                              SMP Mon Mar 5 04:54:32 UTC 2018 x86_64 x86_64
Alert Count                   326
First Seen                    2018-03-14 12:27:14 CET
Last Seen                     2018-03-14 12:44:00 CET
Local ID                      637fbf96-c3d1-46ff-ab1f-65d51fa07cda

Raw Audit Messages
type=AVC msg=audit(1521027840.281:1344): avc:  denied  { module_request } for  pid=28827 comm="dnssec-trigger-" kmod=6E65746465762DB058DEF99D7F scontext=system_u:system_r:dnssec_trigger_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system permissive=0


Hash: dnssec-trigger-,dnssec_trigger_t,kernel_t,system,module_request

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

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.16.0-0.rc4.git0.1.fc28.x86_64
type:           libreport

Comment 1 Fedora Update System 2018-03-25 13:12:43 UTC
selinux-policy-3.14.1-17.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b8cb71b345

Comment 2 Fedora Update System 2018-03-25 20:33:10 UTC
selinux-policy-3.14.1-17.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-b8cb71b345

Comment 3 Fedora Update System 2018-03-26 21:50:41 UTC
selinux-policy-3.14.1-18.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7821b2e7c4

Comment 4 Fedora Update System 2018-03-26 22:31:21 UTC
selinux-policy-3.14.1-18.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.