Allow /etc/default/grub overriding via /etc/default/grub.d/
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
High
|
Colin Watson | ||
Precise |
Fix Released
|
High
|
Colin Watson | ||
Quantal |
Fix Released
|
High
|
Colin Watson |
Bug Description
[Impact] Various customised images have upgrade problems because they don't have a way to add grub-mkconfig configuration without editing /etc/default/grub directly.
[Test Case] Check that setting something in /etc/default/
[Regression Potential] I think the main thing is to make sure that nothing goes wrong when /etc/default/
Original report follows:
It would be good to be able to keep the settings in /etc/default/grub pristine, and allow overides via /etc/grub.d/.
The one of most interest is:
GRUB_DEFAULT=0 -> GRUB_DEFAULT=saved
Thanks.
Related bugs:
* bug 1179940: cloud-images build process should not modify /etc/default/grub
Changed in grub2 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
summary: |
- Allow /etc/default/grub overriding via /etc/grub.d/ + Allow /etc/default/grub overriding via /etc/default/grub.d/ |
Changed in grub2 (Ubuntu Quantal): | |
status: | In Progress → Fix Committed |
Changed in grub2 (Ubuntu Precise): | |
milestone: | none → ubuntu-12.04.2 |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in grub2 (Ubuntu Precise): | |
status: | Triaged → In Progress |
description: | updated |
description: | updated |
description: | updated |
This is related to bug #759545 and bug #1009294. 759545 is about a spurious prompt when /etc/default/grub is unmodified; that bug is probably fixed now and should be closed. Bug #1009294 is about a spurious prompt on cloud images because ucf's cache doesn't reflect the debconf settings used for /etc/default/grub within the image.
Because of this bug, however, the cloud images will continue to carry a delta to /etc/default/grub relative to what's in the grub2 package, and therefore any time there *is* a change to the template, users will continue to get a ucf prompt.
So a solution needs to be found that lets the cloud images override settings without triggering ucf pain.