From bb1f68a09a8da85c0380ff2916a17e9f566d6a5c Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 22 May 2024 13:25:21 +0000 Subject: [PATCH] import UBI tpm2-tss-2.3.2-6.el8 --- SPECS/tpm2-tss.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/SPECS/tpm2-tss.spec b/SPECS/tpm2-tss.spec index 9a767f5..10dd101 100644 --- a/SPECS/tpm2-tss.spec +++ b/SPECS/tpm2-tss.spec @@ -1,6 +1,6 @@ Name: tpm2-tss Version: 2.3.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: TPM2.0 Software Stack # The entire source code is under BSD except implementation.h and tpmb.h which @@ -71,9 +71,9 @@ find %{buildroot}%{_libdir} -type f -name \*.la -delete getent group tss >/dev/null || groupadd -f -g 59 -r tss if ! getent passwd tss >/dev/null ; then if ! getent passwd 59 >/dev/null ; then - useradd -r -u 59 -g tss -d /dev/null -s /sbin/nologin -c "Account used for TPM access" tss + useradd -r -u 59 -g tss -d / -s /sbin/nologin -c "Account used for TPM access" tss else - useradd -r -g tss -d /dev/null -s /sbin/nologin -c "Account used for TPM access" tss + useradd -r -g tss -d / -s /sbin/nologin -c "Account used for TPM access" tss fi fi exit 0 @@ -124,6 +124,10 @@ use tpm2-tss. %postun -p /sbin/ldconfig %changelog +* Wed Oct 18 2023 Štěpán Horáček - 2.3.2-6 +- Fix home directory of the tss user + Related: RHEL-14439 + * Wed Jun 7 2023 Štěpán Horáček - 2.3.2-5 - Ensure layer number is in bounds Resolves: rhbz#2160302