[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kerneld/modutils



On Tue, Nov 14, 2000 at 11:51:22PM +0100, Moritz Schulte wrote:
> Kevin <cog@iwz.com> writes:
> 
> >   Am I supposed to continue running kerneld or not?  When it does run
> >   it says I don't want to run it with 2.2.x but everytime a fixed
> >   modutils deb is released it readds it to rc2.d
> 
> $ head -9 /etc/init.d/kerneld
> #!/bin/sh
> #
> # Start kerneld (on-demand loading of modules)
> # (see /usr/share/doc/modutils)
> 
> KDOPT=""
> 
> test -f /proc/sys/kernel/modprobe && exit 0

the problem is this test is broken, if you don't compile kernel module
support into a 2.2 kernel there won't be a /proc/sys/kernel/modprobe
and this script will proceed to run kerneld on a 2.2 kernel.  IMO it
should use uname -r and look for 2.0.*

> test -f /sbin/kerneld || exit 0
> $
> 	moritz
> -- 
> /* Moritz Schulte <moritz@hp9001.fh-bielefeld.de>
>  * http://hp9001.fh-bielefeld.de/~moritz/
>  * PGP-Key available, encrypted Mail is welcome.
>  */
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgppX0s7GYft9.pgp
Description: PGP signature


Reply to: