Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
I have RHEL 6 beta installed alongside Fedora 12. The default stanza in
grub.conf is the latest Fedora 12 kernel (see attached grub.conf). This
is causing grubby to segfault:
[root@localhost ~]# grubby --default-kernel
grubby recieved SIGSEGV! Backtrace (7):
grubby[0x40800f]
/lib64/libc.so.6[0x3ef0c32a40]
/lib64/libc.so.6[0x3ef0d2799a]
grubby[0x40695e]
grubby[0x407b56]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x3ef0c1ec5d]
grubby[0x401709]
I tried installing the relevant debuginfo packages and getting a back-
trace, but I didn't get anything useful:
[root@localhost ~]# gdb /sbin/grubby
GNU gdb (GDB) Red Hat Enterprise Linux (7.1-18.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /sbin/grubby...Reading symbols from /usr/lib/debug/sbin/grubby.debug...done.
done.
(gdb) set args --default-kernel
(gdb) run
Starting program: /sbin/grubby --default-kernel
Program received signal SIGSEGV, Segmentation fault.
__strcmp_ssse3 () at ../sysdeps/x86_64/strcmp.S:107
107 movlpd (%rsi), %xmm2
(gdb) bt
#0 __strcmp_ssse3 () at ../sysdeps/x86_64/strcmp.S:107
#1 0x000000000040695e in suitableImage (entry=<value optimized out>, bootPrefix=<value optimized out>,
skipRemoved=<value optimized out>, flags=<value optimized out>) at grubby.c:1297
#2 0x0000000000407b56 in main (argc=<value optimized out>, argv=<value optimized out>) at grubby.c:3168
If I edit grub.conf and set the default to the RHEL 6 stanza, grubby
works:
[root@localhost ~]# grubby --default-kernel
/boot/vmlinuz-2.6.32-19.el6.x86_64
Version-Release number of selected component (if applicable):
grubby-7.0.15-1.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Install attached grub.conf
2. Run "grubby --default-kernel"
Actual results:
segfault
Expected results:
Should return /boot/vmlinuz-2.6.32.11-99.fc12.x86_64
Additional info:
Comment 3RHEL Program Management
2010-05-14 15:55:04 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
inclusion.
*** Bug 599962 has been marked as a duplicate of this bug. ***
Comment 6Alexander Todorov
2010-07-20 15:03:42 UTC
Tested with snap #8 (0715.0) - a system where both Fedora and RHEL6 are installed .I can boot into both OSes without traceback. When making Fedora the default boot is happy. Moving to VERIFIED.
*** Bug 625306 has been marked as a duplicate of this bug. ***
Comment 10releng-rhel@redhat.com
2010-11-10 20:36:26 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.