[Lunar Linux 0000405]: kernel module loading in new init system

noreply at bugs.lunar-linux.org noreply at bugs.lunar-linux.org
Mon Nov 10 09:15:17 GMT 2003


The following NEW bug has been ADDED.
=======================================================================
http://bugs.lunar-linux.org/view_bug_page.php?f_id=405
=======================================================================
Reporter:                   huysmans
Handler:                    
=======================================================================
Project:                    Lunar Linux
Bug ID:                     0000405
Category:                   initscripts (boot system)
Reproducibility:            N/A
Severity:                   feature
Priority:                   none
Status:                     new
=======================================================================
Date Submitted:             2003-11-10 09:15 GMT
Last Modified:              2003-11-10 09:15 GMT
=======================================================================
Summary:                    kernel module loading in new init system
Description: 
The 'old' lunar init system had a modultils init script in /etc/rcS.d to
load all modules in /etc/modules. The new system has no such thing.

The rc.sysinit file does load several modules (usb) that may be required
for proper startup.

I'd like to hear other people's opinion on what to do here. I can think of
a few scenarios:

1. use the modutils script and put it in all runlevels, probably with a
very low number.

This doesn't entirely feel right, since kernel module loading is system
initialization to me.

2. call the script from or incorporate the script in rc.sysinit without
changing anything else.

This is a better solution than (1) IMO. rc.sysinit already contains code
to run /etc/rc.modules for backwards compatibility (with old redhat
versions I presume).

3. Put the module loading using /etc/modules in rc.sysinit and remove all
other module loading. 

This puts the reposibility for putting the modules required for startup in
/etc/modules in the hands of the user/admin. This is not necessarily a bad
thing. We can display a message after kernel compilation to remind the
user to update their /etc/modules if necessary.

What do you think?
=======================================================================



More information about the Lunar-bugs mailing list