Bug 28881 - Updates to 2.2.17-14 provided, but no headers
Summary: Updates to 2.2.17-14 provided, but no headers
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 6.2
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brock Organ
URL:
Whiteboard:
: 29150 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-02-22 17:01 UTC by Daniel Senie
Modified: 2007-04-18 16:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-05-03 22:07:51 UTC
Embargoed:


Attachments (Terms of Use)
a simple patch to provide kernel-headers from kernel-source (294 bytes, patch)
2001-03-29 04:37 UTC, Arenas Belon, Carlo Marcelo
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2001:047 0 normal SHIPPED_LIVE : Linux kernel 2.2.19 now available, provides security fixes, enhancements 2001-04-10 04:00:00 UTC

Description Daniel Senie 2001-02-22 17:01:33 UTC
Errata updates have been made available for 6.1, 6.2 and 7.0 to use the 
2.2.17-40 kernel to fix some security bugs and add support for some new 
devices.

Binaries for all CPU types were provided, sources were provided but the 
kernel-headers package was not. Normally it's a bad idea to try to build 
custom kernels with headers from a different kernel.

Could you folks put the kernel-headers RPM into each of the update areas 
(6.1, 6.2, 7.0) please?

Thanks

Dan

Comment 1 phostetl 2001-02-22 17:12:49 UTC
I found the following in boot after updating the kernel to 2.2.17-14:

# rpm -qf /boot/kernel.h-2.2.17
kernel-source-2.2.17-14
# rpm -qf /boot/kernel.h-2.2.16
kernel-headers-2.2.16-3
# rpm -e kernel-headers-2.2.16-3
error: removing these packages would break dependencies:
	kernel-headers   is needed by glibc-devel-2.1.3-22
	kernel-headers >= 2.2.1 is needed by glibc-devel-2.1.3-22
	kernel-headers   is needed by glibc-devel-2.1.3-22
	kernel-headers >= 2.2.1 is needed by glibc-devel-2.1.3-22

Looks like a dependency problem created when the file shifted from one package
to another. causing

Comment 2 Daniel Senie 2001-03-01 05:58:17 UTC
I raised the severity of this. With this mismatch, it's impossible to compile 
new device drivers (modules) and install them into the running kernel. In the 
instance I faced today (and didn't solve) I was trying to add the Intel e100 
driver into a machine running the 2.2.17-14 kernel. Since the headers 
mismatched the kernel, the resulting e100.o that got built couldn't be loaded 
by insmod because of missing symbols.

THIS IS SERIOUS, FOLKS. I'm about to back out to 2.2.16-3 for all my clients, 
regardless of security risks, since the risk of non-functional machines is 
worse.


Comment 3 Arenas Belon, Carlo Marcelo 2001-03-06 00:42:53 UTC
the kernel-headers package could be missing and the corresponding RPM
dependencie broken but there is notting more than a dependency problem

all the files that should be on a kernel-header package are inside the
kernel-source package and the links that are needed could be just be added.

in order to install a package where there is a broken dependency use the
--nodeps option for rpm.

to use the installed kernel headers just do the following :

  rpm -ev --nodeps kernel-headers 
  rpm -ivh kernel-source-2.2.17-14.i386.rpm
  cd /usr/src
  ln -snf linux-2.2.17 linux
  cd /usr/include
  ln -snf ../src/linux/include/linux linux
  ln -snf ../src/linux/include/asm asm
  cd /boot
  ln -snf kernel.h-2.2.17 kernel.h
 
just be sure that you have the correct link on /usr/src/linux -> linux-2.2.17

for sure, adding the missing functionality of -headers to -source and adding
"Provides: kernel-headers" would be better.

Comment 4 R P Herrold 2001-03-06 17:38:46 UTC
This is of course a description of part of the kernel-headers post-process -- I
think the point is to fix the need for this -- a well formed upgrade from RedHat
of an official Red Hat release should NOT require --force or --nodeps to a admin
who can list all the relevant RPMs to update in a command line -- that is:

   rpm kernel-2.2.*-rpm 

should be sufficient.

Comment 5 Arenas Belon, Carlo Marcelo 2001-03-29 04:37:52 UTC
Created attachment 14066 [details]
a simple patch to provide kernel-headers from kernel-source

Comment 6 Arenas Belon, Carlo Marcelo 2001-03-29 04:45:01 UTC
the attached patch should fix the problem, at least on theory (sorry no 6.2
system to test now).
for sure QA should be needed to verify that there is no missing funcionality.

if a kernel-headers package is preferred (no bloat with all the kernel sources
as only the headers are needed) the old packaging behaviour could be put in
place (again only in theory) just by changing :

  %define headersinsource 0

for sure (as i explained before), not using a broken dependency package should
be better than a --force install, but what i meant with that is that it wasn't a
real problem of missing functionality but just a packaging problem.

Comment 7 Daniel Senie 2001-03-29 04:50:11 UTC
I'm still waiting for someone from RedHat to change this bug from NEW to ASSIGNED, and put out a new patch. I take it they're so focused on 7.0 and 
later, that they have stopped testing the patches they put out on earlier releases? The face that this bug has been sitting as NEW for over a month 
shows the level of commitment to existing releases which are in production use (i.e. nil). Sure makes me wonder why I spend so much time providing 
beta test input to RedHat.

Comment 8 Arenas Belon, Carlo Marcelo 2001-03-29 04:57:33 UTC
*** Bug 29150 has been marked as a duplicate of this bug. ***

Comment 9 Arjan van de Ven 2001-03-29 16:12:05 UTC
The packaging change needed between 6.2 and 7.0 is nasty but there will be a
corrected
kernel out shortly

Comment 10 Daniel Senie 2001-05-03 22:07:46 UTC
The 2.2.19 kernel packages include headers for RedHat 6.2, thanks.

Now if we could get a 6.2 and 7.0 boot.img that use the 2.2.19 kernel, I'll be 
a VERY happy camper (2.2.19 includes a much updated DAC960 driver which 
actually works with products now on the market. The DAC960 driver in 2.2.16/17 
doesn't support any current products).


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