Skip to content

Better handle moved SELinux policy in RPM-based bootable containers #35

Closed

Description

@jlebon

Since ~forever, in RPM-based image composes, we've moved the SELinux policy from /var/lib/selinux to /etc/selinux to be compatible with the OSTree model. chunkah is totally oblivious to this and so all those policy files end up unclaimed when they really should be bundled with selinux-policy-targeted.

Could obviously hardcode this in, though it's worth investigating a more generic approach that would catch this and others (another one for example is the various EFI binaries moved from /boot to /usr).

Activity

  1. jlebon commented on Mar 11, 2026

    @jlebon
    MemberAuthor

    Done with #84.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions