From 1f314efad1d658afa8694ec675bf409e2a294b9e Mon Sep 17 00:00:00 2001 From: Karel Srot Date: Tue, 21 Oct 2025 08:07:49 +0200 Subject: [PATCH] Run restorecon in Containerfile --- setup/bootc_configure_kernel_ima_module/Containerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/bootc_configure_kernel_ima_module/Containerfile b/setup/bootc_configure_kernel_ima_module/Containerfile index 36a3bcb8..847fc630 100644 --- a/setup/bootc_configure_kernel_ima_module/Containerfile +++ b/setup/bootc_configure_kernel_ima_module/Containerfile @@ -8,3 +8,4 @@ COPY yum.repos.d/* /etc/yum.repos.d/ ARG KEYLIME_BOOTC_INSTALL_PACKAGES="rsync beakerlib selinux-policy-devel swtpm swtpm-tools nmap keylime expect" RUN dnf -y install ${KEYLIME_BOOTC_INSTALL_PACKAGES} RUN sed -i '/tss/ d' /usr/lib/group; ls -ld /etc/keylime /var/lib/keylime; ls -l /etc/keylime /var/lib/keylime; /bin/true +RUN restorecon -Rv /usr /etc; /bin/true