Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
* ipmidetectd uses too powerful SELinux domain
Version-Release number of selected component (if applicable):
freeipmi-ipmidetectd-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:
# echo "host 127.0.0.1" >> /etc/freeipmi/ipmidetectd.conf
# service ipmidetectd status
Redirecting to /bin/systemctl status ipmidetectd.service
ipmidetectd.service - IPMI Node Detection Monitoring Daemon
Loaded: loaded (/usr/lib/systemd/system/ipmidetectd.service; disabled)
Active: failed (Result: exit-code) since Tue 2013-12-03 10:07:51 CET; 3min 4s ago
Process: 14560 ExecStart=/usr/sbin/ipmidetectd (code=exited, status=1/FAILURE)
Main PID: 14208 (code=exited, status=1/FAILURE)
Dec 03 10:07:51 rhel70 ipmidetectd[14560]: ipmidetectd: No nodes configured
Dec 03 10:07:51 rhel70 systemd[1]: ipmidetectd.service: control process exi...=1
Dec 03 10:07:51 rhel70 systemd[1]: Failed to start IPMI Node Detection Moni...n.
Dec 03 10:07:51 rhel70 systemd[1]: Unit ipmidetectd.service entered failed ...e.
Hint: Some lines were ellipsized, use -l to show in full.
# service ipmidetectd start
Redirecting to /bin/systemctl start ipmidetectd.service
# service ipmidetectd status
Redirecting to /bin/systemctl status ipmidetectd.service
ipmidetectd.service - IPMI Node Detection Monitoring Daemon
Loaded: loaded (/usr/lib/systemd/system/ipmidetectd.service; disabled)
Active: active (running) since Tue 2013-12-03 10:10:58 CET; 919ms ago
Process: 14724 ExecStart=/usr/sbin/ipmidetectd (code=exited, status=0/SUCCESS)
Main PID: 14726 (ipmidetectd)
CGroup: /system.slice/ipmidetectd.service
└─14726 /usr/sbin/ipmidetectd
Dec 03 10:10:58 rhel70 systemd[1]: Starting IPMI Node Detection Monitoring .....
Dec 03 10:10:58 rhel70 systemd[1]: Started IPMI Node Detection Monitoring D...n.
Hint: Some lines were ellipsized, use -l to show in full.
# ps -efZ | grep ipmidetectd
system_u:system_r:init_t:s0 root 14726 1 0 10:10 ? 00:00:00 /usr/sbin/ipmidetectd
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 root 14749 12632 0 10:11 pts/1 00:00:00 grep --color=auto ipmidetectd
#
Actual results:
* ipmidetectd runs as init_t
Expected results:
* ipmidetectd runs in its own SELinux domain
Excerpt from ipmidetectd.conf man page:
ipmidetectd_server_port port
Specify the alternate default port the ipmidetectd server
should listen for requests off of. Default is 9225.
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.
Description of problem: * ipmidetectd uses too powerful SELinux domain Version-Release number of selected component (if applicable): freeipmi-ipmidetectd-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: # echo "host 127.0.0.1" >> /etc/freeipmi/ipmidetectd.conf # service ipmidetectd status Redirecting to /bin/systemctl status ipmidetectd.service ipmidetectd.service - IPMI Node Detection Monitoring Daemon Loaded: loaded (/usr/lib/systemd/system/ipmidetectd.service; disabled) Active: failed (Result: exit-code) since Tue 2013-12-03 10:07:51 CET; 3min 4s ago Process: 14560 ExecStart=/usr/sbin/ipmidetectd (code=exited, status=1/FAILURE) Main PID: 14208 (code=exited, status=1/FAILURE) Dec 03 10:07:51 rhel70 ipmidetectd[14560]: ipmidetectd: No nodes configured Dec 03 10:07:51 rhel70 systemd[1]: ipmidetectd.service: control process exi...=1 Dec 03 10:07:51 rhel70 systemd[1]: Failed to start IPMI Node Detection Moni...n. Dec 03 10:07:51 rhel70 systemd[1]: Unit ipmidetectd.service entered failed ...e. Hint: Some lines were ellipsized, use -l to show in full. # service ipmidetectd start Redirecting to /bin/systemctl start ipmidetectd.service # service ipmidetectd status Redirecting to /bin/systemctl status ipmidetectd.service ipmidetectd.service - IPMI Node Detection Monitoring Daemon Loaded: loaded (/usr/lib/systemd/system/ipmidetectd.service; disabled) Active: active (running) since Tue 2013-12-03 10:10:58 CET; 919ms ago Process: 14724 ExecStart=/usr/sbin/ipmidetectd (code=exited, status=0/SUCCESS) Main PID: 14726 (ipmidetectd) CGroup: /system.slice/ipmidetectd.service └─14726 /usr/sbin/ipmidetectd Dec 03 10:10:58 rhel70 systemd[1]: Starting IPMI Node Detection Monitoring ..... Dec 03 10:10:58 rhel70 systemd[1]: Started IPMI Node Detection Monitoring D...n. Hint: Some lines were ellipsized, use -l to show in full. # ps -efZ | grep ipmidetectd system_u:system_r:init_t:s0 root 14726 1 0 10:10 ? 00:00:00 /usr/sbin/ipmidetectd unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 root 14749 12632 0 10:11 pts/1 00:00:00 grep --color=auto ipmidetectd # Actual results: * ipmidetectd runs as init_t Expected results: * ipmidetectd runs in its own SELinux domain