False alarm tpm error messages since last update

Bug #1966364 reported by David Civera
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Committed
Medium
Unassigned
fwupd (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Fix Released
Low
Unassigned
Impish
Won't Fix
Low
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

Recently, fwupd is throwing two new (to me) error messages in /var/log/syslog

 fwupd[100718]: 22:11:50:0717 FuPluginTpm failed to load eventlog: Failed to open file "/sys/kernel/security/tpm0/binary_bios_measurements": No such file or directory

and

 fwupd[100718]: 22:11:50:0882 FuEngine failed to record HSI attributes: failed to get historical attr: json-glib version too old

The first one seems to have been solved on the GitHub (https://github.com/fwupd/fwupd/issues/4290) so not sure if I should just wait for an update.

The second is more puzzling as I seem to have the latest version of json-glib for Ubuntu 20.04 LTS.

Hope this helps.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-04-23 (700 days ago)
InstallationMedia: Ubuntu-Server 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Package: fwupd 1.7.5-3~20.04.1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.4.0-105.119-generic 5.4.174
Tags: focal third-party-packages
Uname: Linux 5.4.0-105-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: sudo www-data
_MarkForUpload: True

Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1966364

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

tags: added: focal
Revision history for this message
David Civera (dcivera) wrote : Dependencies.txt

apport information

tags: added: apport-collected third-party-packages
description: updated
Revision history for this message
David Civera (dcivera) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
David Civera (dcivera) wrote : ProcEnviron.txt

apport information

Revision history for this message
David Civera (dcivera) wrote : Re: Error messages since last update

Thank you so much Chris for your help and for your willingness to walk a complete noob through this process :) I've read the link and have a quick question:

I first started this particular journey by asking a question as I wasn't sure it was really a bug. https://answers.launchpad.net/ubuntu/+source/fwupd/+question/700933

After a couple of back and forths I was told filing an bug was an option, so I just "converted" that question into a bug report. In that particular case, should I use "ubuntu-bug PACKAGE" or should I do what you advised: "apport-collect BUGID". I'm assuming that running ubuntu-bug would create a new bug report, so apport-collect works best here, but I prefer to ask :)

Again, thank you so much. Your willingness to walk someone like me through the process is really rewarding and gratifying.

Revision history for this message
Mario Limonciello (superm1) wrote :

FYI both of these are harmless. They just mean HSI security attributes won't be able to measure and keep track of history. HSI security attributes is still under development anyway.

> fwupd[100718]: 22:11:50:0717 FuPluginTpm failed to load eventlog: Failed to open file "/sys/kernel/security/tpm0/binary_bios_measurements": No such file or directory

Do you have TPM enabled in your firmware?

>The second is more puzzling as I seem to have the latest version of json-glib for Ubuntu 20.04 LTS.

The message means the version in 20.04 is too old for this feature. There are newer ones upstream.

Changed in fwupd (Ubuntu Focal):
status: New → Triaged
importance: Undecided → Low
Changed in fwupd (Ubuntu Impish):
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Elfranne (elfranne) wrote :

Issues have been fixed upstream:

"binary_bios_measurements": https://github.com/fwupd/fwupd/pull/4292 (fixed in 1.7.6)
"json-glib": https://github.com/fwupd/fwupd/pull/4100 (cannot see when/if this is fixed)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in fwupd (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fwupd - 1.7.7-1ubuntu2

---------------
fwupd (1.7.7-1ubuntu2) kinetic; urgency=medium

  * d/t/ci: don't stderr-fail the autopkgtest on modprobe error
    + it's optional as tests can be skipped, if mtdram module isn't there

 -- Lukas Märdian <email address hidden> Wed, 18 May 2022 09:34:56 +0200

Changed in fwupd (Ubuntu):
status: Confirmed → Fix Released
Changed in fwupd (Ubuntu Impish):
status: Triaged → Won't Fix
Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello David, or anyone else affected,

Accepted fwupd into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/fwupd/1.8.3-1~22.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in fwupd (Ubuntu Jammy):
status: Confirmed → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (fwupd/1.8.3-1~22.04.1)

All autopkgtests for the newly accepted fwupd (1.8.3-1~22.04.1) for jammy have finished running.
The following regressions have been reported in tests triggered by the package:

fwupd/1.8.3-1~22.04.1 (armhf)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/jammy/update_excuses.html#fwupd

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Steve Langasek (vorlon) wrote : Re: Error messages since last update

This package can't go into jammy-updates; it makes the libfwupdplugin5 package in the jammy release pocket uninstallable, which breaks all image builds due to the way tasks work.

tags: added: verification-failed-jammy
removed: verification-needed verification-needed-jammy
tags: added: oem-priority
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

Hmm, libfwupdplugin5: Depends: libfwupd2 (= 1.7.5-3)
It seems a dummy libfwupdplugin5 shall work.

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

As I use a jammy and add ppa by

> sudo add-apt-repository ppa:ycheng-twn/fwupd-jammy-6

the I do a apt-get dist-upgrade, it can properly upgrade and it will remove libfwupdplugin5.

Per check,

1. now libprotobuf-c1 shall be already copy to jammy/main.
2. libfwupdplugin7 now live in jammy-proposed/main

I think with above, image build shall works now.

Could you please kindly confirmed again if we do need an dummy/transitional libfwupdplugin5?

Ref: Per the information I got, below is the failed log of image build due to this fwupd SRU:
 fwupd : Depends: libprotobuf-c1 (>= 1.3.1) but it is not installable
 libfwupdplugin5 : Depends: libfwupd2 (= 1.7.5-3) but 1.8.3-1~22.04.1 is to be installed

Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (fwupd/1.8.3-1~22.04.1)

All autopkgtests for the newly accepted fwupd (1.8.3-1~22.04.1) for jammy have finished running.
The following regressions have been reported in tests triggered by the package:

fwupd/1.8.3-1~22.04.1 (armhf)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/jammy/update_excuses.html#fwupd

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello David, or anyone else affected,

Accepted fwupd into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/fwupd/1.7.9-1~22.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

tags: added: verification-needed verification-needed-jammy
removed: verification-failed-jammy
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (fwupd/1.7.9-1~22.04.1)

All autopkgtests for the newly accepted fwupd (1.7.9-1~22.04.1) for jammy have finished running.
The following regressions have been reported in tests triggered by the package:

fwupd/1.7.9-1~22.04.1 (armhf)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/jammy/update_excuses.html#fwupd

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello David, or anyone else affected,

Accepted fwupd into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/fwupd/1.7.9-1~20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in fwupd (Ubuntu Focal):
status: Triaged → Fix Committed
tags: added: verification-needed-focal
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (fwupd/1.7.9-1~20.04.1)

All autopkgtests for the newly accepted fwupd (1.7.9-1~20.04.1) for focal have finished running.
The following regressions have been reported in tests triggered by the package:

fwupd/1.7.9-1~20.04.1 (armhf)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/focal/update_excuses.html#fwupd

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Changed in oem-priority:
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

The autopkgtest error is harmless. Please kindly update your test result
for the fwupd from focal / jammy proposed channel.

summary: - Error messages since last update
+ False alarm tpm error messages since last update
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

As this is more like "Happened to be fix in this SRU round", I'll just mark
verification-done to unblock SRU release.

tags: added: verification-done verification-done-focal verification-done-jammy
removed: verification-needed verification-needed-focal verification-needed-jammy
Changed in oem-priority:
status: In Progress → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for fwupd has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fwupd - 1.7.9-1~20.04.1

---------------
fwupd (1.7.9-1~20.04.1) focal; urgency=medium

  * New upstream release, and drop all patches since they are merged.
  * Properly fall back to use DMI instead of /sys/class/dmi interface.
    (LP: #1982103)
  * Build depends on mondemmanager 1.8 and libxmlb 0.3.6 to support
    EM120/160. (LP: #1980334)
  * Don't stderr-fail the autopkgtest on modprobe error as they are
    optional. (LP: #1966364)
  * Run fwupd-refresh under a dedicated fwupd-refresh user. This is
    fixed in 1.1.7, so it's automatically included. (LP: #1969976)

 -- Yuan-Chen Cheng <email address hidden> Sun, 03 Jul 2022 03:18:51 +0000

Changed in fwupd (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fwupd - 1.7.9-1~22.04.1

---------------
fwupd (1.7.9-1~22.04.1) jammy; urgency=medium

  * New upstream release, and drop all patches since they are merged.
  * Properly fall back to use DMI instead of /sys/class/dmi interface.
    (LP: #1982103)
  * Don't stderr-fail the autopkgtest on modprobe error as they are
    optional. (LP: #1966364)
  * Run fwupd-refresh under a dedicated fwupd-refresh user. This is
    fixed in 1.7.7, so it's automatically included. (LP: #1969976)

 -- Yuan-Chen Cheng <email address hidden> Tue, 20 Sep 2022 03:18:51 +0000

Changed in fwupd (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (fwupd/1.7.9-1~20.04.1)

All autopkgtests for the newly accepted fwupd (1.7.9-1~20.04.1) for focal have finished running.
The following regressions have been reported in tests triggered by the package:

fwupd/1.7.9-1~20.04.1 (armhf)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/focal/update_excuses.html#fwupd

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (fwupd/1.7.9-1~22.04.1)

All autopkgtests for the newly accepted fwupd (1.7.9-1~22.04.1) for jammy have finished running.
The following regressions have been reported in tests triggered by the package:

fwupd/1.7.9-1~22.04.1 (armhf)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/jammy/update_excuses.html#fwupd

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.