turning off WriteModprobeConfig, which is (1) broken with recent
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 15 Feb 2013 08:06:52 +0000 (09:06 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 15 Feb 2013 08:06:52 +0000 (09:06 +0100)
kernels, and (2) most likely totally useless

source/BootManager.py
source/steps/WriteModprobeConfig.py
source/steps/__init__.py

index 3c3f1d4..68b05e0 100755 (executable)
@@ -229,7 +229,12 @@ class BootManager:
             InstallInit.Run( self.VARS, self.LOG )                    
             ret = ValidateNodeInstall.Run( self.VARS, self.LOG )
             if ret == 1:
-                WriteModprobeConfig.Run( self.VARS, self.LOG )
+# Thierry - feb. 2013 turning off WriteModprobeConfig for now
+# for one thing this won't work at all with f18, as modules.pcimap
+# has disappeared (Daniel suggested modules.aliases could be used instead)
+# and second, in any case it's been years now that modprobe.conf was deprecated
+# so most likely this code has no actual effect
+#                WriteModprobeConfig.Run( self.VARS, self.LOG )
                 WriteNetworkConfig.Run( self.VARS, self.LOG )
                 CheckForNewDisks.Run( self.VARS, self.LOG )
                 SendHardwareConfigToPLC.Run( self.VARS, self.LOG )
index 378802d..de55b96 100644 (file)
@@ -38,6 +38,8 @@ def Run( vars, log, filename = "/etc/modprobe.conf"):
 
     # make sure we have this class loaded
     
+    log.write( "\n\nStep: WriteModProbeConfig.\n" )
+
     try:
         SYSIMG_PATH= vars["SYSIMG_PATH"]
         if SYSIMG_PATH == "":
index bfef9bc..37e7ef7 100644 (file)
@@ -35,4 +35,5 @@ __all__ = ["ReadNodeConfiguration",
            "InstallWriteConfig",
            "MakeInitrd",
            "WriteNetworkConfig",
-           "WriteModprobeConfig"]
+#           "WriteModprobeConfig",
+           ]