Skip to content

Ensure no-selinux case is at least e2e tested periodically #419

Closed

Description

@cgwalters

This issue tracks our "full" support for installing SELinux-enabled targets from SELinux-disabled hosts.

Activity

  1. added
    enhancement
    area/install
    on Mar 22, 2024
  2. albertofaria commented on Apr 22, 2024

    @albertofaria
    Contributor

    FWIW, crun-vm will make use of this as part of its support for running bootc containers.

  3. larsks commented on Sep 17, 2024

    @larsks

    Running a bootc build (on a Fedora 40 system)...

    root@host:~# podman run \
      --rm \
      -it \
      --privileged \
      --pull=newer \
      --security-opt label=type:unconfined_t \
      -v "$PWD/output:/output" \
      -v /var/lib/containers/storage:/var/lib/containers/storage \
      registry.redhat.io/rhel9/bootc-image-builder:latest \
      --type qcow2 \
      --local \
      bootc-test-image
    

    ...I was directed here by this warning:

    Host kernel does not have SELinux support, but target enables it by default; this is less well tested.  See https://github.com/containers/bootc/issues/419
    

    And yet selinux is both present and enabled on the host:

    root@host:~# getenforce
    Enforcing
    

    What's going on here?

    (NB: I see the same message using quay.io/centos-bootc/bootc-image-builder:latest)

  4. cgwalters commented on Sep 17, 2024

    @cgwalters
    MemberAuthor

    PR in #790

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

    area/installenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions