Repository navigation
fix(integration-tests): label test proxy ports as squid_port_t - #630
Merged
Merged
Conversation
SELinux AVC denials caused test_connect_proxy[False] and test_connect_proxy[True] to fail on RHEL-10-Nightly: the insights-core SELinux policy no longer allows insights_core_t to connect to http_cache_port_t, only to squid_port_t, http_port_t, websm_port_t, and ephemeral ports. Label both the auth and no-auth test proxy ports as squid_port_t, and run the semanage labeling for both proxy branches (previously it only ran for the authenticated proxy). * Card ID: CCT-3095 Signed-off-by: Archana Pandey <arpandey@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SELinux AVC denials caused test_connect_proxy[False] and test_connect_proxy[True] to fail on RHEL-10-Nightly: the insights-core SELinux policy no longer allows insights_core_t to connect to http_cache_port_t, only to squid_port_t, http_port_t, websm_port_t, and ephemeral ports.
Label both the auth and no-auth test proxy ports as squid_port_t, and run the semanage labeling for both proxy branches (previously it only ran for the authenticated proxy).