From 01d2a8785e610e749681fda25464c24fa3ff5a6a Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Thu, 2 May 2024 12:54:00 +0300 Subject: [PATCH] Trigger full system relablel on the 1st boot restorecon didn't work in appliance-tools setup. There is nothing in the logs and the issue persist. Full system relabeling on the 1st boot solves the problem, but will take a bit of time. Thankfully execution is with -T0 thus it was fast (~1 min) on 4 core VM. Signed-off-by: David Abdurachmanov --- fedora-riscv64-minimal-f40.ks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-riscv64-minimal-f40.ks b/fedora-riscv64-minimal-f40.ks index 4847696..97bb1c7 100644 --- a/fedora-riscv64-minimal-f40.ks +++ b/fedora-riscv64-minimal-f40.ks @@ -100,7 +100,7 @@ echo fedora_rocks! | passwd --stdin riscv #/usr/sbin/usermod -aG mock riscv # Relabel after creating a new user -/sbin/restorecon -T0 -R -v /home +touch /.autorelabel # Create Fedora RISC-V repo cat << EOF > /etc/yum.repos.d/fedora-riscv.repo