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 622448 - incorrect label on boinc client init script
Summary: incorrect label on boinc client init script
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: selinux-policy
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-09 12:07 UTC by Milos Malik
Modified: 2012-10-16 12:30 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.7.19-37.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-10 21:36:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Milos Malik 2010-08-09 12:07:33 UTC
Description of problem:
boinc-client package (which is available from RHEL-6 EPEL repo) contains an init script with '-' in its name, but selinux-policy expects '_' in the name.

Version-Release number of selected component (if applicable):
selinux-policy-targeted-3.7.19-36.el6.noarch
selinux-policy-3.7.19-36.el6.noarch
boinc-client-6.10.45-1.r21128svn.el6

How reproducible:
always

Steps to Reproduce:
# ls -Z /etc/rc.d/init.d/boinc-client 
-rwxr-xr-x. root root system_u:object_r:initrc_exec_t:s0 /etc/rc.d/init.d/boinc-client
# ls -Z /etc/rc.d/init.d/boinc_client 
ls: cannot access /etc/rc.d/init.d/boinc_client: No such file or directory
# matchpathcon /etc/rc.d/init.d/boinc-client
/etc/rc.d/init.d/boinc-client   system_u:object_r:initrc_exec_t:s0
# matchpathcon /etc/rc.d/init.d/boinc_client
/etc/rc.d/init.d/boinc_client   system_u:object_r:boinc_initrc_exec_t:s0

  
Actual results:
the init script is labelled incorrectly

Expected results:
the init script is labelled correctly

Comment 1 Miroslav Grepl 2010-08-09 12:46:20 UTC
I am fixing the label to

/etc/rc\.d/init\.d/boinc-client     --  gen_context(system_u:object_r:boinc_initrc_exec_t,s0)

Comment 2 Miroslav Grepl 2010-08-10 18:13:14 UTC
Fixed in selinux-policy-3.7.19-37.el6.noarch

Comment 4 releng-rhel@redhat.com 2010-11-10 21:36:05 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


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