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

Refs #29069 - Install pulpcore-selinux if needed #482

Merged
merged 1 commit into from
Mar 6, 2020

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Mar 5, 2020

To work around PUP-2169, the selinux contexts need to be present before the main Puppet run. Because pulpcore-selinux depends on python3-pulpcore, the foreman-installer-katello package can't depend on it.

To work around PUP-2169, the selinux contexts need to be present before
the main Puppet run. Because pulpcore-selinux depends on
python3-pulpcore, the foreman-installer-katello package can't depend on
it.
Copy link
Member

@evgeni evgeni left a comment

Choose a reason for hiding this comment

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

You could argue pulpcore-selinux is not an SCL package, so the filename becomes "wrong", but I don't care too much.

Strictly speaking, we could also drop the pulpcore-selinuxpython3-pulpcore dependency, as the policy really doesn't apply to any files inside that package, it only labels content folders, that are not created by installing python3-pulpcore at all.

That all said, the given patch solves the issue at hand, so go forth and merge.

@ekohl
Copy link
Member Author

ekohl commented Mar 5, 2020

You could argue pulpcore-selinux is not an SCL package, so the filename becomes "wrong", but I don't care too much.

Fair point. Perhaps it should be 31_pup_2169_workarounds.rb

@ehelms ehelms merged commit 532e723 into theforeman:develop Mar 6, 2020
@ekohl ekohl deleted the 29069-install-pulpcore-selinux branch March 6, 2020 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants