Skip to content
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

Incorrect check for static configs with bootupd #3295

Closed
travier opened this issue Sep 10, 2024 · 0 comments · Fixed by #3300
Closed

Incorrect check for static configs with bootupd #3295

travier opened this issue Sep 10, 2024 · 0 comments · Fixed by #3300
Labels

Comments

@travier
Copy link
Member

travier commented Sep 10, 2024

#3205 added a check that looks for "static-configs" in bootupd state file: /boot/bootupd-state.json.

Unfortunately, bootup will always write this entry (even if null) since coreos/bootupd#609.

This is likely the source of fedora-silverblue/issue-tracker#595.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2312453

@travier travier added the bug label Sep 10, 2024
travier added a commit to travier/ostree that referenced this issue Sep 13, 2024
In ostreedev#3205, we introduced a check to skip re-generating the GRUB config if
we detect that static configs are in used by looking at bootupd's state.

Unfortunately this check is incomplete and does not account for present
but null entries in the JSON state file.

A proper fix would be to parse the JSON but this requires a larger code
change.

Fixes: ostreedev#3295
Fixes: ostreedev#3205
travier added a commit to travier/ostree that referenced this issue Sep 13, 2024
In ostreedev#3205, we introduced a check to skip re-generating the GRUB config if
we detect that static configs are in used by looking at bootupd's state.

Unfortunately this check is incomplete and does not account for present
but null entries in the JSON state file.

A proper fix would be to parse the JSON but this requires a larger code
change.

Fixes: ostreedev#3295
Fixes: ostreedev#3205
travier added a commit to travier/ostree that referenced this issue Sep 13, 2024
In ostreedev#3205, we introduced a check to skip re-generating the GRUB config if
we detect that static configs are in used by looking at bootupd's state.

Unfortunately this check is incomplete and does not account for present
but null entries in the JSON state file.

A proper fix would be to parse the JSON but this requires a larger code
change.

Fixes: ostreedev#3295
Fixes: ostreedev#3205
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant