RFC: Stop creating /etc/modprobe.conf
by Warren Togami
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(a)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)
14 years, 5 months