I don’t know if this makes sense, but perhaps someone can shed some light on it.

 

I am running Debian Sarge 2.6.8 and have installed the 3.5.3 release of SystemInstaller along with SystemConfigurator 2.2.2.  I chose the latest 3.5.3 release as I needed LVM support.  I have run it successfully on one machine, but it took a VERY long time in “si_prepareclient”.  When I tried it on another machine, “si_prepareclient” failed when building the initrd file.  The two machines seemed to do similar things when running “si_prepareclient”, but the unexpected behaviour was a whole load of modules being reloaded/restarted during the creation of initrd.  This took a long time on the first machine, but the script continued without error.  On the second machine, this caused a failure.

 

When I looked through the code in “UseYourOwnKernel.pm:_create_new_initrd()”, there was a line:

            run_cmd("find $staging_dir -depth -exec touch -t 196912311900 '{}' ';'");

 

It seemed to be this that was triggering the modules to be reloaded.  When I commented out this line, the problem disappeared and the “si_prepareclient” suddenly ran smoothly (and completed much more quickly).

 

I don’t understand what is going on.  As far as I can tell, all that this line does is change the date stamps on all the files in the staging directory.

 

Any ideas ?

 

Thanks,

 

Roger