Версия пакета: swtpm-tools-0.8.0-alt1 Шаги воспроизведения: # apt-get install swtpm-tools # swtpm_bios -v; echo "exit code:$?" Ожидаемый результат: Исходя из описания параметра в справке "-v display version and exit" должно написать версию и выйти с кодом выхода 0 (без ошибок). Получаемый результат: Выводится полная справка, код выхода 1: # swtpm_bios -v; echo "exit code: $?" TPM emulator BIOS emulator version 0.8.0, Copyright (c) 2015 IBM Corp. swtpm_bios [options] Runs TPM_Startup (unless -n), then (unless -o) sets PP, enable, activate and finally (using -u) gives up physical presence (PP) The following options are supported: --tpm-device <device> use the given device; default is /dev/tpm0 --tcp [<host>]:[<prt>] connect to TPM on given host and port; default host is 127.0.0.1, default port is 6545 --unix <path> connect to TPM using UnixIO socket --tpm2 initialize a TPM2 -c startup clear (default) -s startup state -d startup deactivate (no effect on TPM2) -n no startup -o startup only -cs run TPM_ContinueSelfTest on TPM1.2 run TPM2_IncrementalSelfTest on TPM2 -ea make sure that the TPM 1.2 is activated; terminate with exit code 129 if the TPM needs to be reset -u give up physical presence on TPM 2 set the platform hierarchy to a random password -v display version and exit -h display this help screen and exit exit code: 1