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

images: Add workaround for fedora-42 systemd selinux tmp regression #7425

Merged
merged 3 commits into from
Feb 11, 2025

Conversation

allisonkarlitskaya
Copy link
Member

@allisonkarlitskaya allisonkarlitskaya commented Feb 11, 2025

eb3cedd ("images: Add workaround for RHEL 10 systemd SELinux tmp context regression") fixed this issue for RHEL and CentOS, but we're setting it on Fedora 42 now, so copy the hack.

  • image-refresh fedora-42

eb3cedd ("images: Add workaround for RHEL 10 systemd SELinux tmp
context regression") fixed this issue for RHEL and CentOS, but we're
setting it on Fedora 42 now, so copy the hack.
@cockpituous cockpituous changed the title images: Add workaround for fedora-42 systemd selinux tmp regression WIP: 2865612faefe: [no-test] images: Add workaround for fedora-42 systemd selinux tmp regression Feb 11, 2025
@cockpituous
Copy link
Contributor

@cockpituous cockpituous changed the title WIP: 2865612faefe: [no-test] images: Add workaround for fedora-42 systemd selinux tmp regression images: Add workaround for fedora-42 systemd selinux tmp regression Feb 11, 2025
@cockpituous
Copy link
Contributor

Cockpituous and others added 2 commits February 11, 2025 14:01
@allisonkarlitskaya allisonkarlitskaya marked this pull request as ready for review February 11, 2025 13:01
@allisonkarlitskaya
Copy link
Member Author

From the image build log:

+ '[' fedora-42 '!=' fedora-42 ']'
+ '[' fedora-42 = fedora-42 ']'
+ cat
+ checkmodule -M -m -o hack-systemd-tmp.mod hack-systemd-tmp.te
+ semodule_package -o hack-systemd-tmp.pp -m hack-systemd-tmp.mod
+ semodule -X 300 -i hack-systemd-tmp.pp

Copy link
Member

@martinpitt martinpitt left a comment

Choose a reason for hiding this comment

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

Amazing!

@martinpitt martinpitt merged commit 8262e02 into main Feb 11, 2025
12 checks passed
@martinpitt martinpitt deleted the hack-fedora-42-selinux branch February 11, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants