Bug 506

Summary: bootloader-utils-0.1-alt2: configuration options are not read correctly (NOLINK & NOLAUNCH)
Product: Sisyphus Reporter: imz <vanyaz>
Component: altlinux-releaseAssignee: Ivan Zakharyaschev <imz>
Status: CLOSED DUPLICATE QA Contact:
Severity: critical    
Priority: P4    
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
0000506-installkernel-yesparams.patch none

Description imz 2002-02-01 23:37:05 MSK
The file /etc/sysconfig/installkernel describes the options NOLINK &amp; NOLAUNCH; there is said that one should set them to \&quot;yes\&quot; if he wants to enable them.

But the script /sbin/installkernel doesn\'t treat these values correctly: it expects some arguments like \&quot;-n\&quot; rather than \&quot;yes\&quot; as their values.

As a result /sbin/installkernel doesn\'t work correctly when NOLINK=\&quot;yes\&quot; is set in the config file: it tries to make an InitRD image for the kernel version \&quot;yes\&quot; instead of the real version and fails to do so. So no InitRD is created (even when it is needed) and the installed kernel can\'t be booted.

---
Set NOLINK=\&quot;yes\&quot; in /etc/sysconfig/installkernel and install a kernel that requires InitRD on your system.


---
A patch to fix it is attached.
Comment 1 imz 2002-02-02 00:16:23 MSK
Sorry for duplicates, re-sent the report many times because got timeouts from the server.
Comment 2 imz 2002-02-02 00:16:23 MSK
Sorry for duplicates, re-sent the report many times because got timeouts from the server.