Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: bail out if no policycoreutils-python-utils #5363

Conversation

ricardomaraschini
Copy link
Member

What this PR does / why we need it:

bails the installation if the installer detects that we have selinux rules to apply but the underlying system does not provide us with the semanage command (policycoreutils-python-utils).

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Steps to reproduce

Does this PR introduce a user-facing change?


Does this PR require documentation?

bails the installation if the installer detects that we have selinux
rules to apply but the underlying system does not provide us with the
semanage command (policycoreutils-python-utils).
@ricardomaraschini ricardomaraschini added type::bug Something isn't working bug::normal labels Aug 26, 2024
@ricardomaraschini ricardomaraschini requested a review from a team as a code owner August 26, 2024 11:41
@@ -301,6 +301,12 @@ function apply_selinux_config() {
return
fi

if is_amazon_2023 ; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This package should be added to the deps list, not checked for here

@ricardomaraschini ricardomaraschini merged commit 5342445 into main Aug 26, 2024
7 checks passed
@ricardomaraschini ricardomaraschini deleted the ricardomaraschini/sc-106636/require-policycoreutils-python-utils-for-selinux-rules branch August 26, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug::normal type::bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants