Skip to content

cfs/finalize: Rebuild selinux policy on finalize - #2686

Open
Johan-Liebert1 wants to merge 2 commits into
bootc-dev:mainfrom
Johan-Liebert1:composefs-selinux-recomp
Open

Johan-Liebert1 wants to merge 2 commits into
bootc-dev:mainfrom
Johan-Liebert1:composefs-selinux-recomp

Conversation

@Johan-Liebert1

Copy link
Copy Markdown
Member

cfs/finalize: Rebuild selinux policy on finalize

If the local SeLinux policy has changed then rebuild the final SeLinux
policy on staged deployment finalization, otherwise we might end up
overwriting incoming SeLinux updates.

Closes: #2511


tmt: Add tests for selinux policy update

Also enable custom-selinux-policy test for composefs backend

@Johan-Liebert1
Johan-Liebert1 requested review from cgwalters and jmarrero and a balanced review from Copilot November 24, 2026 10:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@Johan-Liebert1

Johan-Liebert1 commented Nov 25, 2026 •

Copy link
Copy Markdown
Member Author

Some weird failures on c10s. The same tests pass locally. Re-ran

Edit: Was an issue with chroot PATH env. Fixed

If the local SeLinux policy has changed then rebuild the final SeLinux
policy on staged deployment finalization, otherwise we might end up
overwriting incoming SeLinux updates.

Closes: bootc-dev#2511

Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
Also enable custom-selinux-policy test for composefs backend

Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
@Johan-Liebert1
Johan-Liebert1 force-pushed the composefs-selinux-recomp branch from 178e032 to d40afd7 Compare November 25, 2026 10:49

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

composefs: Add selinux policy finalization

2 participants