From 7a95c3e64cd25de2cccb766ba1d94b822053b2fc Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 2 Dec 2021 16:17:04 -0500 Subject: [PATCH] Set selinux context of fakecmdline --- .../coreos/initramfs/opt/confluent/bin/initconfluent.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_osdeploy/coreos/initramfs/opt/confluent/bin/initconfluent.sh b/confluent_osdeploy/coreos/initramfs/opt/confluent/bin/initconfluent.sh index a34ca2f5..c249f6c1 100755 --- a/confluent_osdeploy/coreos/initramfs/opt/confluent/bin/initconfluent.sh +++ b/confluent_osdeploy/coreos/initramfs/opt/confluent/bin/initconfluent.sh @@ -102,6 +102,7 @@ if [ -e /lib/nm-lib.sh ]; then fi fi cat /proc/cmdline /etc/cmdline.d/01-confluent.conf | tr '\n' ' ' > /run/fakecmdline +chcon system_u:object_r:proc_t:s0 /run/cmdline mount -o bind /run/fakecmdline /proc/cmdline curl -sf https://$confluent_mgr/confluent-public/os/$confluent_profile/rootfs.img | rdcore stream-hash /etc/coreos-live-want-rootfs | bsdtar -xf - -C /