Repository navigation
fix: remove stale mariadb SELinux module from local policy store - #2768
Closed
HuntedRaven7 wants to merge 1 commit into
Closed
HuntedRaven7 wants to merge 1 commit into
HuntedRaven7 wants to merge 1 commit into
Conversation
The mariadb-cracklib-password-check package (pulled in by the kinoite base via akonadi-server-mysql) installs the mariadb-plugin-cracklib-password-check SELinux module into the persistent /etc/selinux policy store. Remnants of it break ostree-finalize-staged during upgrades or rebases onto images that do not ship the package, leaving systems unable to complete updates. Add a oneshot systemd unit which removes the module from the local policy store at boot, including stale transaction leftovers, so that switching between images with and without the package finalizes cleanly. Closes ublue-os#2767
HuntedRaven7
requested review from
NiHaiden,
inffy,
ledif and
renner0e
as code owners
August 24, 2026 23:39
Up to standards ✅🟢 Issues
|
renner0e
requested changes
Aug 24, 2026
renner0e
left a comment
Member
There was a problem hiding this comment.
I'm very hesitant to the very idea of this.
This needs to be reported upstream.
Contributor
Author
|
That is a fair point, I can go do that if need be. |
Member
That would be great. I'm not sure where to actually report this. Seems like ostree itself to me? |
Contributor
Author
|
Uh no clue tbh it would make sense to do it there though. |
Contributor
Author
|
ostreedev/ostree#3563 (comment) did a comment on a already made issue for this |
Contributor
Author
|
Hey wanted to make an update! I made a pr over at ostreedev/ostree#3649 |
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.
Fixes issue 2767
The mariadb-cracklib-password-check package (pulled in by the kinoite base via akonadi-server-mysql) installs the
mariadb-plugin-cracklib-password-check SELinux module into the persistent /etc/selinux policy store. Remnants of it break ostree-finalize-staged during upgrades or rebases onto images that do not ship the package, leaving systems unable to complete updates.
Add a oneshot systemd unit which removes the module from the local policy store at boot, including stale transaction leftovers, so that switching between images with and without the package finalizes cleanly.