Bug 2174582
| Summary: | grub-customizer does not respect UnifyGrubConfig, updates the wrong grub.cfg, breaks updating of grub.cfg by new kernel updates | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | radu.fotescu | ||||
| Component: | grub-customizer | Assignee: | Vasiliy Glazov <vascom2> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 37 | CC: | bmj001, cheese, radu.fotescu, vascom2 | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | grub-customizer-5.2.2-3.fc38 grub-customizer-5.2.2-3.fc36 grub-customizer-5.2.2-3.fc37 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2023-03-11 03:14:11 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
radu.fotescu
2023-03-01 21:36:54 UTC
Thanks. I will do that. FEDORA-2023-e27869ad06 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e27869ad06 FEDORA-2023-0ebebf17ff has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0ebebf17ff FEDORA-2023-e27869ad06 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-2023-e27869ad06` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e27869ad06 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-85a4357c69 has been pushed to the Fedora 38 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-85a4357c69 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-0ebebf17ff has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-0ebebf17ff` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-0ebebf17ff See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-85a4357c69 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-e27869ad06 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-0ebebf17ff has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report. Perhaps it's just me, but after updating to grub-customizer-5.2.2-3.fc37,
the /etc/grub-customizer/grub.cfg wasn't updated, i.e. it remained as before,
with the bogus OUTPUT_DIR and OUTPUT_FILE paths.
That's presumably because it's tagged as a configuration file ('c').
Even after the upgrade, 'rpm -V grub-customizer' reported:
S.5....T. c /etc/grub-customizer/grub.cfg
And the mtime of that file was the time of the previous upgrade, when it was
tweaked by the (now gone) postinstall scriptlet.
(In reply to Bruce Jerrick from comment #10) > the /etc/grub-customizer/grub.cfg wasn't updated, i.e. it remained as before, > with the bogus OUTPUT_DIR and OUTPUT_FILE paths. Indeed, the fixed version is _not_ supposed to repair a broken configuration created by any previous version, but only to behave correctly as a fresh installation. It's better to uninstall, then reinstall grub-customizer. Alternatively, one can manually fix the paths and the other two grub.cfg by following the suggested workaround at the end of the original report. I think config file must not be corrected automatically by update. There can be other changes made by user. |