Bug 820454
Summary: | Installation of new kernel via yum ignores entry in /etc/default/grub and in /etc/sysconfig/kernel to not update default boot | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sergio Basto <sergio> | ||||||||
Component: | grubby | Assignee: | Peter Jones <pjones> | ||||||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 16 | CC: | bcl, dennis, elbin.p, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mads, pjones | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | 808821 | Environment: | |||||||||
Last Closed: | 2012-05-14 11:45:06 UTC | Type: | --- | ||||||||
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
Sergio Basto
2012-05-10 00:46:58 UTC
/etc/default/grub is _only_ used when grub2-mkconfig is run. That will not happen when new kernels are installed. grubby is responsible for patching grub.cfg when new kernels are installed. There are known bugs that do that it might change the default boot target in unfortunate ways. This bug is probably a duplicate of an existing bug, but for now I will just reassign to grubby. Created attachment 583405 [details]
grub.cfg before yum update
Created attachment 583406 [details]
grub.cfg after yum update
(In reply to comment #1) > /etc/default/grub is _only_ used when grub2-mkconfig is run. That will not > happen when new kernels are installed. > > grubby is responsible for patching grub.cfg when new kernels are installed. > There are known bugs that do that it might change the default boot target in > unfortunate ways. This bug is probably a duplicate of an existing bug, but for > now I will just reassign to grubby. where grubby reads the defaults ? also doesn't read /etc/sysconfig/kernel "Grubby" do read /etc/sysconfig/kernel for some purposes, and /usr/sbin/grubby try to read and understand the boot loader file and patch it correctly. this in a side effect of bug 768106 , which grubbt replace my default entry with "0" I will study bug 768106 to understand if I got a better work around than edit grub.cfg, after every kernel update. *** This bug has been marked as a duplicate of bug 768106 *** |