RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1441081 - ipmievd service wants to load certain kernel modules but SELinux complains
Summary: ipmievd service wants to load certain kernel modules but SELinux complains
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks: 1381083 1486256
TreeView+ depends on / blocked
 
Reported: 2017-04-11 08:08 UTC by Milos Malik
Modified: 2018-04-10 12:32 UTC (History)
7 users (show)

Fixed In Version: selinux-policy-3.13.1-170.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1486256 (view as bug list)
Environment:
Last Closed: 2018-04-10 12:29:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0763 0 None None None 2018-04-10 12:32:07 UTC

Description Milos Malik 2017-04-11 08:08:16 UTC
Description of problem:

Version-Release number of selected component (if applicable):
selinux-policy-minimum-3.13.1-141.el7.noarch
selinux-policy-devel-3.13.1-140.el7.noarch
selinux-policy-mls-3.13.1-141.el7.noarch
selinux-policy-targeted-3.13.1-141.el7.noarch
selinux-policy-3.13.1-141.el7.noarch

How reproducible:
* always

Steps to Reproduce:
0. get a RHEL-7.4 machine (targeted policy is active)
1. install and enable the ipmievd service
2. reboot the machine
3. search for SELinux denials

Actual results (enforcing mode):
----
type=PROCTITLE msg=audit(04/11/2017 09:01:28.932:99) : proctitle=modprobe ipmi_msghandler 
type=SYSCALL msg=audit(04/11/2017 09:01:28.932:99) : arch=x86_64 syscall=finit_module success=yes exit=0 a0=0x3 a1=0x41a2d8 a2=0x0 a3=0x3 items=0 ppid=1027 pid=1041 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=modprobe exe=/usr/bin/kmod subj=system_u:system_r:ipmievd_t:s0 key=(null) 
type=AVC msg=audit(04/11/2017 09:01:28.932:99) : avc:  denied  { module_load } for  pid=1041 comm=modprobe path=/usr/lib/modules/4.10.0-6.el7.x86_64/kernel/drivers/char/ipmi/ipmi_msghandler.ko dev="vda2" ino=25535880 scontext=system_u:system_r:ipmievd_t:s0 tcontext=system_u:object_r:modules_object_t:s0 tclass=system permissive=1 
----
type=PROCTITLE msg=audit(04/11/2017 09:01:28.992:102) : proctitle=modprobe ipmi_msghandler 
type=SYSCALL msg=audit(04/11/2017 09:01:28.992:102) : arch=x86_64 syscall=finit_module success=yes exit=0 a0=0x4 a1=0x41a2d8 a2=0x0 a3=0x4 items=0 ppid=1027 pid=1041 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=modprobe exe=/usr/bin/kmod subj=system_u:system_r:ipmievd_t:s0 key=(null) 
type=AVC msg=audit(04/11/2017 09:01:28.992:102) : avc:  denied  { module_load } for  pid=1041 comm=modprobe path=/usr/lib/modules/4.10.0-6.el7.x86_64/kernel/drivers/char/ipmi/ipmi_devintf.ko dev="vda2" ino=25535879 scontext=system_u:system_r:ipmievd_t:s0 tcontext=system_u:object_r:modules_object_t:s0 tclass=system permissive=1 
----

Expected results:
* no SELinux denials

Comment 5 errata-xmlrpc 2018-04-10 12:29:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0763


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