Problem with building an image of RHEL 10.2 containing firewalld
Hello everyone,
I am struggling with building an image of RHEL used with bootc (image mode).
I am trying to build a simple image using containerfile:
FROM registry.redhat.io/rhel10/rhel-bootc:latest RUN dnf install -y firewalld && \ dnf -y clean all RUN systemctl enable firewalld.service RUN bootc container lint
I use podman for building images and the virtual machine used for building images is on RHEL 10.2. This exact containerfile worked until early July. After some change I am not able to pinpoint it fails with the error:
error: Linting: Unexpected runtime error running lint kernel: Found multiple subdirectories in usr/lib/modules Error: building at STEP "RUN bootc container lint": while running runtime: exit status 1
What am I doing wrong?
Thanks, Martin
Responses