Bug 848745 - openhpid runs as initrc_t
Summary: openhpid runs as initrc_t
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy
Version: 5.9
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks: 848708
TreeView+ depends on / blocked
 
Reported: 2012-08-16 10:50 UTC by Milos Malik
Modified: 2013-04-18 16:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-20 08:40:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Milos Malik 2012-08-16 10:50:14 UTC
Description of problem:


Version-Release number of selected component (if applicable):
selinux-policy-minimum-2.4.6-331.el5
selinux-policy-devel-2.4.6-331.el5
selinux-policy-targeted-2.4.6-331.el5
selinux-policy-2.4.6-331.el5
selinux-policy-strict-2.4.6-331.el5
selinux-policy-mls-2.4.6-331.el5
openhpi-2.14.0-5.el5

How reproducible:
always

Steps to Reproduce:
# run_init service openhpid status
Authenticating root.
Password: 
Checking for openhpid daemon: 
openhpid is stopped
# run_init service openhpid start
Authenticating root.
Password: 
Starting openhpid:                                         [  OK  ]
# ps -efZ | grep openhpid
user_u:system_r:initrc_t        root     12819     1  0 12:42 ?        00:00:00 /usr/sbin/openhpid -c /etc/openhpi/openhpi.conf
root:system_r:unconfined_t:SystemLow-SystemHigh root 12825 2823  0 12:42 pts/0 00:00:00 grep openhpid
# 

Actual results:
* openhpid runs as initrc_t

Expected results:
* openhpid runs in its own SELinux domain

Comment 1 Miroslav Grepl 2012-08-20 08:40:01 UTC
I believe we should stay with initrc_t for all these services for RHEL5. 

Basically I can backport policies but we would need to make this policy as unconfined.

Also we don't see any issues with these services running as initrc.


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