-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSTree boot links can get out of sync #2283
Comments
OK I actually saw this once or twice when doing |
This is also related to #1951 |
Was looking at this code more closely today to investigate issues related to bootlink mismatches (ostreedev#2283).
Was looking at this code more closely today to investigate issues related to bootlink mismatches (ostreedev#2283).
Was looking at this code more closely today to investigate issues related to bootlink mismatches (ostreedev#2283).
So here is another case: https://bugzilla.redhat.com/show_bug.cgi?id=1933116
In this case, the bootversion in |
To expand, somehow this is what looks like happened:
So maybe this is related to ostree operating on a freshly bootconfig swapped state, but before rebooting? Maybe we're not reloading all the state somehow and think that Anyway, I've asked for the full logs to try to get more info on the order of operations. |
Another possible instance of this downstream - https://bugzilla.redhat.com/show_bug.cgi?id=1985913 |
I'm 93% certain this is coreos/fedora-coreos-tracker#976 |
Today I did run into the same problem today after installing an RPM from copr with rpm-ostree --apply-live install -y opentelemetry-collector-0.99.0-1.20240514165826437302.pr63.7.g984bf2a.fc40.x86_64 After restarting my machine I ended up in the rescue shell. Showing a similar message to that one mentioned here: #2283 (comment) The path Comparing the paths that existed on my machine and the path required by the ostree service, I noticed that the paths were quite similar. The only difference was that these files were not in the Editing this in the grub config solved it for me. |
@cgwalters Can this ticket be reopened? It is either not fixed or has resurfaced. I'm seeing reports of this issue, with an identical error to the first message in this thread. This is pretty bad as it results in ostensibly soft-bricked machines (booting into the prior deployment doesn't work either). |
I had this issue back in april as well, no layers or rebases, my custom image of Fedora Silverblue had just updated to F40. I could also confirm that one other user with a similar setup had encountered a similar issue back then. Clearly there are still problems... Thanks! |
We've had one instance recently in RHCOS where a system failed to boot with:
And digging deeper it seemed to be due to the bootversion being out of sync between the bootloader and the sysroot:
So the bootversion in the sysroot is 0, but the bootloader is pointing to 1. Looking at the logs for the previous boot (where the update happened, which did a bootconfig swap), we can tell that the previous bootversion was 1, which means that the
boot.0
symlink is correct, which means the bootloader symlink must be the one out of sync.Maybe some bug in the
FIFREEZE
/FITHAW
code which caused/boot
to remain unsynced?Original RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1921217
The text was updated successfully, but these errors were encountered: