From bd85bd5b731463a42b7c82c66e9add251a280d26 Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Fri, 20 Dec 2024 18:38:46 +0100 Subject: [PATCH] fix: fix `Failed to initialize SELinux labeling handle` udev error Create a dummy SELinux file_contexts file to mitigate the warning. We do not rely on libselinux for labeling, so empty file suffices. Signed-off-by: Dmitry Sharshakov --- Dockerfile | 8 ++++---- hack/udevd/90-selinux.rules | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4c68e993ba..b2ca2a6314 100644 --- a/Dockerfile +++ b/Dockerfile @@ -732,7 +732,7 @@ COPY ./hack/cleanup.sh /toolchain/bin/cleanup.sh RUN <