Bug 743119
| Summary: | wrong kernel version in "Loading ... " output of grub after kernel upgrade | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | igor.redhat <igor.redhat> | ||||||
| Component: | grubby | Assignee: | Peter Jones <pjones> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 16 | CC: | bcl, dennis, erinn.looneytriggs, joachim.backes, mads, mattia.verga, mishu, pjones, robatino, tilmann | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-10-17 16:32:51 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: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 713566 | ||||||||
| Attachments: |
|
||||||||
|
Description
igor.redhat@gmail.com
2011-10-03 21:54:27 UTC
Created attachment 526146 [details]
my /boot/grub2/grub.cfg
Same issue after upgrading to 3.1.0-0.rc8.git0.1:
menuentry 'Fedora (3.1.0-0.rc8.git0.1.fc16.x86_64)' --class fedora --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root d2531571-bb88-4675-9d82-9a415f060210
echo 'Loading Fedora (3.1.0-0.rc6.git0.3.fc16.x86_64)'
linux /vmlinuz-3.1.0-0.rc8.git0.1.fc16.x86_64 root=UUID=c07db0f8-16c8-4d06-9f59-5a04a34fb2b1 ro rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.1.0-0.rc8.git0.1.fc16.x86_64.img
}
I can confirm this. This seems to be a bug in grubby, because grubby is used in kernel-updates through %post with /sbin/new-kernel-pkg Created attachment 527772 [details]
Patch based upon grubby-8.3 to fix the problem.
This is a bug in grubby-8.3. Please find attached a patch which fixed this problem. What went wrong? grubby searches the template file for lines containing "Loading Linux" and will append the version number after that text. However, Fedora does not contain "Loading Linux", but "Loading Fedora". So this line is never detected as such a "special" line and therefore the current linux version number is never appended. Instead the line is copied unchanged. Therefore you will stick with the message generated at install time from anaconda. It will never change. How was it fixed? We now detect "Loading Linux" AND "Loading Fedora" as such "special" lines. Therefore the version number is appended. Feel free to apply upstream. *** Bug 732654 has been marked as a duplicate of this bug. *** Nominating for F16 NTH. /me polishes his ego: Bug 732654 already had a patch for this when this duplicate issue was filed. Closed as a duplicate since essentially the same exact patch was already available in https://bugzilla.redhat.com/show_bug.cgi?id=732654#c9 . *** This bug has been marked as a duplicate of bug 732654 *** |