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 1731451 - mlscolor-test fails with example configuration (mls only)
Summary: mlscolor-test fails with example configuration (mls only)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: mcstrans
Version: 8.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 8.2
Assignee: Vit Mojzis
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks: 1770270
TreeView+ depends on / blocked
 
Reported: 2019-07-19 12:45 UTC by Vit Mojzis
Modified: 2020-04-28 16:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1770270 (view as bug list)
Environment:
Last Closed: 2020-04-28 16:51:58 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1656304 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Product Errata RHBA-2020:1839 0 None None None 2020-04-28 16:52:01 UTC

Description Vit Mojzis 2019-07-19 12:45:19 UTC
Description of problem:
mlscolor-test fails with example configuration (/usr/share/mcstrans/examples/urcsts)

Version-Release number of selected component (if applicable):
mcstrans-2.9-1.2.el8

Steps to Reproduce:
On an mls rhel 8.1 system:
# pushd /usr/share/mcstrans/examples/urcsts
# cp -f secolor.conf /etc/selinux/mls/secolor.conf
# cp -f setrans.conf /etc/selinux/mls/setrans.conf
# systemctl restart mcstrans
# python3 /usr/share/mcstrans/util/mlscolor-test urcsts.color

Actual results:

For 'system_u:system_r:inetd_t:SystemLow' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #008000'
For 'system_u:system_r:inetd_t:s0' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #008000'
For 'system_u:system_r:inetd_t:s0:c1' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #008000'
For 'system_u:system_r:inetd_t:UNCLASSIFIED' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #008000'
For 'system_u:system_r:inetd_t:s1' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #008000'
For 'system_u:system_r:inetd_t:s1:c2' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #008000'
For 'system_u:system_r:inetd_t:RESTRICTED' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #d2b48c'
For 'system_u:system_r:inetd_t:s3' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #d2b48c'
For 'system_u:system_r:inetd_t:s3:c3' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #d2b48c'
For 'system_u:system_r:inetd_t:CONFIDENTIAL' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #ffffff #0000ff'
For 'system_u:system_r:inetd_t:s5' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #ffffff #0000ff'
For 'system_u:system_r:inetd_t:s5:c0.c5' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #ffffff #0000ff'
For 'system_u:system_r:inetd_t:SECRET' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #ff0000'
For 'system_u:system_r:inetd_t:s7' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #ff0000'
For 'system_u:system_r:inetd_t:s7:c200.c300' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #ff0000'
For 'system_u:system_r:inetd_t:TOP SECRET' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #ffa500'
For 'system_u:system_r:inetd_t:s9' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #ffa500'
For 'system_u:system_r:inetd_t:s9:c1023' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #ffa500'
For 'system_u:system_r:inetd_t:s15' got
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000' expected
	'#000000 #000000 #000000 #000000 #000000 #000000 #000000 #ffff00'
mlscolor-test done with 19 errors

Expected results:
mlscolor-test done with 0 errors

Comment 6 errata-xmlrpc 2020-04-28 16:51:58 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-2020:1839


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