Bug 36480
Summary: | rc.sysinit creates defective /boot/kernel.h | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | josip |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | cra, rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-04-21 02:52:52 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: |
Description
josip
2001-04-18 13:51:42 UTC
This is fixed in 7.1. Additionally, even if you make a customized kernel RPM, if the release has an 's' or 'e' in it, this /etc/rc.d/rc.sysinit (and /sbin/mkkerneldoth in RH 7.1) line causes a bad /boot/kernel.h to be generated: KERNEL_TYPE=`uname -r | sed 's_^[^se]*\(\|smp\|enterprise\)$_-\1_;s_^-$__'` For example, this works: >echo "2.2.19-7.0.1smp" | sed 's_^[^se]*\(\|smp\|enterprise\)$_-\1_;s_^-$__' -smp but this doesn't: >echo "2.2.19-7.0.1specialsmp" | sed \ 's_^[^se]*\(\|smp\|enterprise\)$_-\1_;s_^-$__' 2.2.19-7.0.1specialsmp A fix for this is: KERNEL_TYPE=`uname -r | sed 's_^.*\(smp\|enterprise\)$_-\1_;t;s_.*__;'` "This is fixed in 7.1" means that it is NOT fixed in 7.0 -- therefore, I would not call this bug "resolved". BTW, this bug was introduced in 7.0 (our 6.2 machines seem to be unaffected). Although 7.1 is only days from the initial shipment, many of us will continue using 7.0 for months (e.g. because some specialized drivers are not yet converted to kernel 2.4). Sure, we can fix rc.sysinit ourselves, but it would be better if corrected initscripts were available as 7.0 errata. It's resolved in 7.1. 7.1 is the current release. In that case, can 7.1 initscripts /sbin/mkkerneldoth be fixed as I mentioned above? Thanks. Sure, will be in 5.84-1. |