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 1037459 - ipmiseld runs as init_t
Summary: ipmiseld runs as init_t
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On: nopolicy
Blocks: 848829 1042760
TreeView+ depends on / blocked
 
Reported: 2013-12-03 08:47 UTC by Milos Malik
Modified: 2014-06-18 02:31 UTC (History)
1 user (show)

Fixed In Version: selinux-policy-3.12.1-110.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 13:13:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Milos Malik 2013-12-03 08:47:56 UTC
Description of problem:
 * ipmiseld uses too powerful SELinux domain

Version-Release number of selected component (if applicable):
freeipmi-ipmiseld-1.2.9-2.el7.x86_64
selinux-policy-3.12.1-105.el7.noarch
selinux-policy-devel-3.12.1-105.el7.noarch
selinux-policy-doc-3.12.1-105.el7.noarch
selinux-policy-minimum-3.12.1-105.el7.noarch
selinux-policy-mls-3.12.1-105.el7.noarch
selinux-policy-targeted-3.12.1-105.el7.noarch

How reproducible:
always

Steps to Reproduce:
# service ipmiseld status
Redirecting to /bin/systemctl status  ipmiseld.service
ipmiseld.service - IPMI SEL syslog logging daemon
   Loaded: loaded (/usr/lib/systemd/system/ipmiseld.service; disabled)
   Active: inactive (dead)

# service ipmiseld start
Redirecting to /bin/systemctl start  ipmiseld.service
# service ipmiseld status
Redirecting to /bin/systemctl status  ipmiseld.service
ipmiseld.service - IPMI SEL syslog logging daemon
   Loaded: loaded (/usr/lib/systemd/system/ipmiseld.service; disabled)
   Active: active (running) since Tue 2013-12-03 09:44:10 CET; 1s ago
  Process: 4987 ExecStart=/usr/sbin/ipmiseld (code=exited, status=0/SUCCESS)
 Main PID: 4989 (ipmiseld)
   CGroup: /system.slice/ipmiseld.service
           └─4989 /usr/sbin/ipmiseld

Dec 03 09:44:10 rhel70.localdomain systemd[1]: Started IPMI SEL syslog loggi....
Hint: Some lines were ellipsized, use -l to show in full.
# ps -efZ | grep ipmiseld
system_u:system_r:init_t:s0     root      4989     1 38 09:44 ?        00:00:03 /usr/sbin/ipmiseld
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 root 5003 2416  0 09:44 pts/0 00:00:00 grep --color=auto ipmiseld
#

Actual results:
 * ipmiseld runs as init_t

Expected results:
 * ipmiseld runs in its own SELinux domain

Comment 1 Miroslav Grepl 2013-12-10 13:30:00 UTC
commit dee0ab128c1730828e041645811da995a2929f0b
Author: Miroslav Grepl <mgrepl>
Date:   Thu Dec 5 17:11:53 2013 +0100

    Add policy for freeipmi services

Comment 4 Miroslav Grepl 2013-12-12 14:02:06 UTC
commit 635d073c3124218716c94266a511366d3cb69de6
Author: Miroslav Grepl <mgrepl>
Date:   Thu Dec 12 15:00:06 2013 +0100

    Update freeipmi policy

Comment 7 Ludek Smid 2014-06-13 13:13:27 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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