Created attachment 1905478 [details]
Defective version of GRUB2 in Fedora 36 Silverblue
Description of problem:
Hi, after updating GRUB2 to the 1:2.06-47.fc36 version, every time I update the system I always boot the latest image I ran again, so I think that GRUB2 isn't updating the list.
If I come back to the system image previous to the GRUB2 update I can update the system, but not after.
Version-Release number of selected component (if applicable): GRUB2 1:2.06-47.fc36
Just update the system and install the GRUB2 1:2.06-47.fc36 packages. After that, the update process that rpm-ostree does always works correctly, but after reboot you see the same system image, so I think that GRUB2 isn't updating the list.
Steps to Reproduce:
1. Update GRUB2 to 1:2.06-47.fc36
2. Try to update the system again
3. You see that you always boot the image generated with GRUB2 1:2.06-47.fc36 packages.
You always boot the system image with GRUB2 1:2.06-47.fc36. You are forced to boot a previous image if you want to truly update the system.
To see GRUB2 updating the boot list correctly.
Created attachment 1905538 [details]
"rpm-ostree status" and "journalctl -b -1 -u ostree-finalize-staged.service"
I ran the following commands:
journalctl -b -1 -u ostree-finalize-staged.service
But journalctl says the next: Journal file /var/log/journal/faa09861a0f44f35a6c3387cc7a4d990/system~ is truncated, ignoring file.
I repaired the bug doing these things.
But I'm not sure yet. Tomorrow I will check and update to ensure if this is really fixed or not.
Users on Ask Fedora are also hitting what looks to be a very similar issue, as well as people on reddit.
I have tried the fixes proposed here and while it does work to resolve the issue in the moment, doing further upgrades or package layering returns to the broken behavior.
Appears to have been reported upstream as an rpm-ostree issue - https://github.com/coreos/rpm-ostree/issues/3925
FEDORA-2022-a3480ad0d3 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a3480ad0d3
FEDORA-2022-a3480ad0d3 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-a3480ad0d3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-a3480ad0d3
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
It seems the bug was fixed with "my" workaround.
FEDORA-2022-a3480ad0d3 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.