initscripts hacking needed

Chuck Mead csm at lunar-linux.org
Tue Oct 28 20:56:42 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All: In order to prepare our new initscripts module and associated
packages and make them readiness for introduction into lunar there is a
bit of work left to do. I am going to need help hacking on these to get
them going.

Here is what you need to do...

1. cd $yoursandbox;cvs co init.d
2. lin pump
3. cp $yoursandbox/init.d/* /etc/init.d

It may seem odd to lin pump and not the initscripts module but actually
you need pump to get the netconfig tool installed so you can configure
networking and initscripts is a dependency of pump so it will be
installed anyway.

Once the pump and initscripts modules (along with a few other things
which will be built as deps) are installed you need to do step #3 (as it
shows above) to get the other required initscripts in place. Then you
need to run "chkconfig $servicename on" to set the services you need to
come up at boot time.

Once you have done all of this what you need to do then is start the
process of "lunarizing" the scripts you use and creating any which are
needed but not in the core set in the init.d checkout from cvs.

This new initscripts module is very, very solid and we are adopting it
as a clean fork so we will be making it our own code.

Please ask questions if you don't understand what to do.

The order of events with this set of scripts is as follows:

kernel --> init (reads inittab) --> rc.sysinit --> rc --> rc.local

The "rc" script executes a loop through the symbolic links in /etc/rcX.d
where X is the number declared in the initdefault line in /etc/inittab.

There are references to kudzu all over the place in some of these
scripts and we need to clean them up since kudzu is not going to be
included right now unless we make a joint decision to include it. Elaine
does not want it and I don't want it either...  other opinions will be
heard if you express them!

Those uncomfortable with editing this code are welcome to test this and
report bugs at bugs.lunar-linux.org.

- --
csm
Lunar Project Leader
Disclaimer: "I am not a curmudgeon! No... really..."
Addendum: "Bwahahaha! Fire up the orbital mind-control lasers!"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/nx5aq3bny/5+GAcRAs2dAJ9hSUv27rLCMjpsB/0CeFzJrsnuWQCfRLix
w0ehXMQ7pbu0wnX6JvIE6pM=
=KY+V
-----END PGP SIGNATURE-----



More information about the lunar-dev mailing list