Re: tpm2-abrmd installed by default, journald spammed every 5s

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello Chris,

On Tue, Dec 3, 2019 at 7:28 AM Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
>
> Gist is tpm2-abrmd expects to find a TPM2, since it doesn't, it fails
> ungracefully and restarts every 5s, thus spamming the journal.
> https://bugzilla.redhat.com/show_bug.cgi?id=1769215

This seems to be fixed in upstream:

https://github.com/tpm2-software/tpm2-abrmd/pull/669

I've cherry-picked the upstream patches and shared a tpm2-abrmd
scratch build in the bugzilla for you to test.

I'm not sure if I agree with the upstream solution though, since they
added a RestartPreventExitStatus= option to prevent restarting the
daemon in case of errors that they consider not recoverable. But I
don't understand why they have the Restart=always in the first place,
since the service is D-Bus activated anyways. So I think that all the
restart options should just be removed.

And I also think that the unit file should have a condition to check
if a TPM chardev exists (i.e: ConditionPathExistsGlob=/dev/tpm*) and
don't even attempt to start the service if that's not the case.

I've proposed both changes upstream, let's see what they say.

Best regards,
Javier
_______________________________________________
desktop mailing list -- desktop@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to desktop-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/desktop@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux