[CentOS-devel] Centos9 - systemd with no tpm2

Wed Oct 27 15:13:07 UTC 2021
lejeczek <peljasz at yahoo.co.uk>


On 27/10/2021 12:43, lejeczek via CentOS-devel wrote:
>
>
> On 26/10/2021 20:10, Patrick Riehecky wrote:
>> If you could post the BZ id here once you've got it, I'll 
>> subscribe
>> myself (I've got some interest on the TPM2 front).
>>
>> Pat
>>
>> On Tue, 2021-10-26 at 19:55 +0200, František Šumšal wrote:
>>> Apologies, the build support is indeed not enabled, I 
>>> confused the `-
>>> Dtpm=`
>>> option with `-Dtpm2=`, which is the one that matters 
>>> here. And since
>>> we don't
>>> have a BuildRequires for tpm2-tss, it gets disabled 
>>> automagically
>>> during
>>> the build.
>>>
>>> So, as Gordon pointed out, please open a BZ for systemd.
>>>
>>> On 10/26/21 19:46, Gordon Messmer wrote:
>>>> On 10/26/21 09:50, lejeczek via CentOS-devel wrote:
>>>>> Nope, tpm2-tss is present in system.
>>>>> Should this go into Bugzilla perhaps?
>>>>
>>>> Possibly.  The message "TPM2 not supported on this 
>>>> build" indicates
>>>> that support was disabled at build time:
>>>>
>>>> https://github.com/systemd/systemd/blob/main/src/shared/tpm2-util.c#L1122 
>>>>
>>>>
>>>> (HAVE_TPM2 was not defined)
>>>>
>>>> _______________________________________________
>>>>
> https://bugzilla.redhat.com/show_bug.cgi?id=2017541
>
ps. at the moment Stream 9 is kind of tpm2-fcuked, for 
clevis too do not do tpm2 :)