[CentOS-devel] Centos9 - systemd with no tpm2

Tue Oct 26 19:10:48 UTC 2021
Patrick Riehecky <riehecky at fnal.gov>

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)
> > 
> > _______________________________________________
> > CentOS-devel mailing list
> > CentOS-devel at centos.org
> > https://lists.centos.org/mailman/listinfo/centos-devel
> 
> -- 
> PGP Key ID: 0xFB738CE27B634E4B
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> https://lists.centos.org/mailman/listinfo/centos-devel