Closed iyanmv closed 10 months ago
I suspect this is a side effect of https://github.com/fwupd/fwupd/commit/9b68d00d454d7170924d75fa34eb8deb3eff6104 if it's new to 1.9.7.
Now I'm pretty sure this started with 1.9.7 and not something else (e.g. a kernel update). I have downgraded everything that got updated in between fwupd versions and I still get those messages.
So I guess two things can be done here:
fwupdmgr get-host-security-events
?Right; the messages come from the history database, here: https://github.com/fwupd/fwupd/blob/2ee11e88d55044a03ceb65bcb05dffa1a3b405ab/src/fu-engine.c#L7588
I think what's going on is that every time you restart the daemon the attribute is changing because of how it starts out Invalid
after CPU plugin runs and goes to Valid
after either PCI-PSP or MEI plugins run.
Is that right, you get a new message every time the daemon is restarted?
I can take a look at this later -- I think we actually have two attributes with the same ID (one failed, obsoleted, one success) and it's confusing various things.
Is that right, you get a new message every time the daemon is restarted?
No, that's not true. If I do sudo systemctl restart fwupd.service
I don't see an additional entry.
Huh, then why is there a new entry for each day? That's confusing to me. But yeah I think Richard is right this is probably related to logic used for obsoletes.
Describe the bug I think since last update to 1.9.7, the Host Security Events list when running
fwupdmgr security
is full of eventsSupported CPU changed: Invalid → Valid
.Also, is it possible to read all the security events? I couldn't find how.
Steps to Reproduce Not sure if this is reproducible or is a combination of my CPU model, kernel version and fwupd version.
Expected behavior I want to see the relevant security events
fwupd version information
Please note how you installed it (
apt
,dnf
,pacman
, source, etc):Additional questions