Bug 768468 - coinstalling older kernels on RHEL6.2 breaks ldconfig
Summary: coinstalling older kernels on RHEL6.2 breaks ldconfig
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.2
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Red Hat Kernel Manager
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-16 18:14 UTC by Stephan Wiesand
Modified: 2013-02-15 13:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-15 13:17:25 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Stephan Wiesand 2011-12-16 18:14:43 UTC
Description of problem:
The 6.2 kernels change the content of /etc/ld.so.conf.d/kernel-`uname -r`.conf from
"hwcap 0 nosegneg" to "hwcap 1 nosegneg". In %post, there's an attempt to fix the issue of contradictory settings breaking ldconfig:

if grep --silent '^hwcap 0 nosegneg$' /etc/ld.so.conf.d/kernel-*.conf 2> /dev/null; then
  sed -i '/^hwcap 0 nosegneg$/ s/0/1/' /etc/ld.so.conf.d/kernel-*.conf
fi

Alas, this won't work if an older kernel is coinstalled afterwards.

Version-Release number of selected component (if applicable):
2.6.32-220.el6

How reproducible:
100%

Steps to Reproduce:
1. install RHEL 6.2
2. coinstall a kernel from RHEL 6.1
3. run ldconfig
  
Actual results:
ldconfig aborts with "ldconfig: /etc/ld.so.conf.d/kernel-2.6.32-220.el6.x86_64.conf:6: hwcap index 1 already defined as nosegneg"

Comment 3 RHEL Program Management 2012-05-03 05:27:40 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 4 Jes Sorensen 2013-02-15 13:17:25 UTC
Installing older kernels than the version of RHEL installed isn't supported


Note You need to log in before you can comment on or make changes to this bug.