I’m on Qubes 4.3, I upgraded all the things, including dom0, and rebooted. I paid attention to the Linux kernel versions that were being changed and noticed that the kernel I am using (6.19.x) was not updated, rather other older and newer versions were changed. As expected, I get an “ERROR: Boot Hash Mismatch 30 files failed the verification process! This could indicate a compromise! Hit OK to review the list of files. Type “q” to exit the list and return.” All well and good, I choose “OK”, review the list of files, and it looks about as expected. Type “q”. As expected I now have the option to “Investigate Discrepancies –>”, to “Update checksums now”, or to “Return to main menu”.
When I choose “Update checksums now” it gives “ERROR Failed to update checksums / sign default config” and I can then choose “OK”. If I choose OK I am back to the three options before, so I choose “Investigate Discrepancies –>” and it says “Integrity Investigation Integrity mismatches were detected. Detached signature on /boot/kexec.sig verified successfully. Choose an action:” and then offers “Show mismatch details –>”, “Show detached signed output –>”, “Update checksums now”, “Drop to recovery shell (view discrepancies)”, or “Continue”, so again I choose “Update checksums now”, and it gives me “Update Checksums and sign all files in /boot You have chosen to update the checksums … Do you want to continue?” I choose “Yes” and again “ERROR Failed to update checksums / sign default config” Why?
I instead choose “Continue” and then go to Main Menu, “Options –>” then “Update checksums and sign all files in /boot”, same story as before: “ERROR failed to update checksums / sign default config.” Suppose I wish to boot so I go back to “Options –>” then “Boot Options –>” then “Show OS boot menu” then it says “ERROR: Boot Hash Mismatch 30 files failed the verification process! This could indicate a compromise! Hit OK to review the list of files. Type “q” to exit the list and return.” Same for choosing “Default Boot” (I suppose as expected)
Oddly, one of these times it said 61 files, most times it says 30 files.
I see a little message on the console when it flashes between the heads menus. So I drop to the recovery shell to see that message. Here’s the error message on the console right before the recovery shell prompt:
“ >> Signing Dasharo boot hashes under /boot
sha256sum: can’t open ‘./xen-4.19.4.gz’: No such file or directory”
When I run ls /boot I in fact do not see xen-4.19.4.gz because it has apparently been replaced with xen-4.19.5.gz which I do see. Why would it need xen-4.19.4.gz when I am trying to update my boot hashes? How do I get out of this mess?