From d51d8a3c86731dc2686f432776809a6512a43c05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Mon, 12 Jun 2023 19:30:36 +0200 Subject: [PATCH] bookworm tcsd wants /etc/tcsd.conf root:tss --- initrd/install.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initrd/install.h b/initrd/install.h index c0ee7f4..16638df 100644 --- a/initrd/install.h +++ b/initrd/install.h @@ -15,7 +15,7 @@ if [ -e /etc/tcsd.conf ]; then INST_CFG /etc/tcsd.conf - chown tss:tss "${TARGET_DIR:-MUST_EXIST}/etc/tcsd.conf" + chown root:tss "${TARGET_DIR:-MUST_EXIST}/etc/tcsd.conf" system_ps_file="$(awk -F '[[:space:]]*=[[:space:]]*' '!/^[[:space:]]*#/ && !/^$/ && $1 ~ /system_ps_file$/ {gsub(/[[:space:]]*$/, "", $2); print $2}' /etc/tcsd.conf)" system_ps_file="${system_ps_file:-/var/lib/tpm/system.data}" fi