Skip to content

sysext: relabel in prep pipeline - #2740

Merged
supakeen merged 1 commit into
osbuild:mainfrom
supakeen:sysext-relabeling
Oct 5, 2026
Merged

supakeen merged 1 commit into
osbuild:mainfrom
supakeen:sysext-relabeling

Conversation

@supakeen

@supakeen supakeen commented Oct 5, 2026

Copy link
Copy Markdown
Member

The labels on exported extensions are wrong, this is probably due to the way the difference tree is created. We should relabel against the policy that's available on the parent tree as that's the one that's loaded on the system at runtime and the sysext itself does not contain the policy.

The labels on exported extensions are wrong, this is probably due to the
way the difference tree is created. We should relabel against the policy
that's available on the parent tree as that's the one that's loaded on
the system at runtime and the sysext itself does *not* contain the
policy.

Signed-off-by: Simon de Vlieger <[email protected]>
@supakeen
supakeen requested a review from a team as a code owner October 5, 2026 10:53

@croissanne croissanne left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nice ty!

Do you think different sysexts might need different policies in future? Regardless this should/would be solved in the selinux policies pacakges I guess.

@supakeen

supakeen commented Oct 5, 2026

Copy link
Copy Markdown
Member Author

nice ty!

Do you think different sysexts might need different policies in future? Regardless this should/would be solved in the selinux policies pacakges I guess.

If a package carries its own policies then this currently just breaks, since those are stored in /var and the file contexts in /etc those are not part of sysexts. I'm still trying to find nice ways for that 🙂

@supakeen
supakeen enabled auto-merge October 5, 2026 14:24
@supakeen
supakeen added this pull request to the merge queue Oct 5, 2026
Merged via the queue into osbuild:main with commit 91532de Oct 5, 2026
54 checks passed
@supakeen
supakeen deleted the sysext-relabeling branch October 5, 2026 16:49
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.

2 participants