Bug 39239 - kerhel.h construction fragile
kerhel.h construction fragile
Status: CLOSED DUPLICATE of bug 36480
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-05-05 20:40 EDT by D. Hugh Redelmeier
Modified: 2014-03-16 22:20 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-05-07 09:53:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description D. Hugh Redelmeier 2001-05-05 20:40:18 EDT
I am using Red Hat's 2.2.19 kernel source package to build custom kernels
under RHL 7.0.  The builds get a lot of error messages because
/boot/kernel.h and aliases are malformed.
This file is built by fragile code in /etc/rc.d/rc.sysinit, from line 587
on.  The core of the problem is that the code tries to use the output of
"uname -r", and this is changed when I edit EXTRAVERSION in the kernel
Makefile.
This script really needs to be rethought.
Sample lines from my /boot/kernel.h:
	#ifndef __MODULE_KERNEL_package kernel2.2.19-7.0.1fs-2.2.19-7.0.1fs is not
installed
	#define __MODULE_KERNEL_package kernel2.2.19-7.0.1fs-2.2.19-7.0.1fs is not
installed 1

uname -r yields:
	2.2.19-7.0.1fs
Comment 1 Arjan van de Ven 2001-05-06 05:47:52 EDT
Said script is part of the initscripts package
Comment 2 Bill Nottingham 2001-05-07 09:53:15 EDT

*** This bug has been marked as a duplicate of 36558 ***
Comment 3 Bill Nottingham 2001-05-07 09:53:53 EDT

*** This bug has been marked as a duplicate of 36480 ***

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