Submitted 12-Jul-00 by Bob Puff@NLE:
> > kheader is an initscript that creates a dummy header file in /boot if
> > you're running a stock mdk kernel.  If you recompiled your kernel
> > without an mdk extension and have an older (more than say 2 months)
> > version of the initscripts RPM, it erroneously reports failed
> > (somebody left off the exit code in the script).
> 
> Yes, I did recently recompile the kernel.  That must be it!  Now, how
> do I go about fixing the error, or should I just disregard it?
> 

Near the top of the script /etc/rc.d/init.d/kheader is a section that
looks like:

 : ${HEADERFILE:=/boot/kernel.h}
 [ -d $(dirname $HEADERFILE) ] || exit 0
 uname -r|grep -q mdk || exit # we assume if it is not a mdk kernel all

That third line in there (uname . . .) should have a 0 after the exit.
As I said earlier, Chmouel has corrected this in newer initscripts rpms
(undoubtedly the one available via MandrakeUpdate has a patched
version), but just inserting the zero should fix you right up :)

-- 
       _
     _|_|_
      ( )   *    Anton Graham
      /v\  /     <[EMAIL PROTECTED]>
    /(   )X
     (m_m)       GPG ID: 18F78541
Penguin Powered!

Reply via email to