[Fedora-livecd-list] RFC: Stop creating /etc/modprobe.conf

Warren Togami wtogami at redhat.com
Thu Oct 1 18:12:43 UTC 2009


mclasen noticed this is one of the last things creating modprobe.conf, 
which in turn causes many annoying deprecation warnings.  I'm committing 
this to livecd git and tagging a new build for F-12 later today unless 
there are any objections.

Warren Togami
wtogami at redhat.com

diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py
index 98db856..c926977 100644
--- a/imgcreate/kickstart.py
+++ b/imgcreate/kickstart.py
@@ -406,7 +406,7 @@ class SelinuxConfig(KickstartConfig):
      """A class to apply a kickstart selinux configuration to a system."""
      def relabel(self, ksselinux):
          # touch some files which get unhappy if they're not labeled 
correctly
-        for fn in ("/etc/modprobe.conf", "/etc/resolv.conf"):
+        for fn in ("/etc/resolv.conf"):
              path = self.path(fn)
              f = file(path, "w+")
              os.chmod(path, 0644)




More information about the Fedora-livecd-list mailing list