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

workaround selinux issues with osbuild #3885

Merged
merged 2 commits into from
Sep 18, 2024

Commits on Sep 17, 2024

  1. vmdeps: add reset and clear to supermin VM

    These are extremely useful when dealing with a limited serial
    console to try to restore some order to the output.
    dustymabe committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    199ba5a View commit details
    Browse the repository at this point in the history
  2. workaround selinux issues with osbuild

    We have a few issues right now where files in our images
    don't have any selinux context (i.e. end up unlabeled_t).
    Here we workaround the hidden mountpoints issue [1] with
    a patch to OSBuild to hardcode some chcon calls. We
    workaround the "bunch of files under /sysroot are unlabeled"
    issue [2] by backported a proposed upstream change to
    the org.osbuild.selinux stage [3] and then using it to
    explicitly set the context on the root of the tree to
    `root_t`. We also add a fix [4] for another issue where
    '/boot/coreos/platforms.json' would end up with the
    wrong label.
    
    [1] coreos/fedora-coreos-tracker#1771
    [2] coreos/fedora-coreos-tracker#1772
    [3] osbuild/osbuild#1889
    [4] osbuild/osbuild#1888
    dustymabe committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    92c1083 View commit details
    Browse the repository at this point in the history