Description of problem:
SELinux Security Context probe produces a flood of annoying messages
that look like this:
Can't get context ...
This makes the output hard to orient in.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.oscap xccdf eval --oval-results --report xccdf_org.ssgproject.content_profile_ospp42-draft.html --progress --profile xccdf_org.ssgproject.content_profile_ospp42-draft /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml
2. see the stderr
A lot of "Can't get context" messages are written on stderr.
These messages are displayed only in DEVEL verbosity level.
This was fixed upstream in https://github.com/OpenSCAP/openscap/pull/1222
Just a note (for testing purposes) this is triggered specifically by rule xccdf_org.ssgproject.content_rule_selinux_confinement_of_daemons
*** Bug 1676894 has been marked as a duplicate of this bug. ***
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 (openscap bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.