Hide Forgot
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
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