Adjusted RPM packaging to be avoid failed installs when selinux-policy version is not sufficient (3.24)#2037
Draft
craigcomstock wants to merge 4 commits intocfengine:3.24.xfrom
Draft
Adjusted RPM packaging to be avoid failed installs when selinux-policy version is not sufficient (3.24)#2037craigcomstock wants to merge 4 commits intocfengine:3.24.xfrom
craigcomstock wants to merge 4 commits intocfengine:3.24.xfrom
Conversation
Contributor
Author
|
@cf-bottom jenkins with exotics please |
|
Sure, I triggered a build: (with exotics) Jenkins: https://ci.cfengine.com/job/pr-pipeline/13013/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-13013/ |
vpodzime
requested changes
Nov 14, 2025
Contributor
vpodzime
left a comment
There was a problem hiding this comment.
Looks like we need a different approach. :-/
0a46cb1 to
5f1d431
Compare
…y version is not sufficient We have two fallback strategies: 1) try to install a cfengine-enterprise-unconfined selinux module 2) instruct user to install semanage and run label-binaries-unconfined.sh script Ticket: ENT-12980 Changelog: title (cherry picked from commit 190c974)
5f1d431 to
52a2151
Compare
…o install new enterprise policy
Contributor
Author
Contributor
Author
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.
As a workaround, if the cfengine-enterprise selinux module fails to install we set binaries to unconfined domain with bin_t type.
Ticket: ENT-12980
Changelog: title
(cherry picked from commit 190c974)
together
#2037
cfengine/core#5945