summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-09-24 11:28:54 +0000
committerFrancois Pons <fpons@mandriva.com>2001-09-24 11:28:54 +0000
commit936b6e839b9b57cc696da60b30862a249f1390e8 (patch)
tree7bf2097cd96ed2006e4914f3c606ec6a8489bba3
parent3f1a424f57a5331fe4639937045c5e5b7ba188f3 (diff)
downloaddrakx-936b6e839b9b57cc696da60b30862a249f1390e8.tar
drakx-936b6e839b9b57cc696da60b30862a249f1390e8.tar.gz
drakx-936b6e839b9b57cc696da60b30862a249f1390e8.tar.bz2
drakx-936b6e839b9b57cc696da60b30862a249f1390e8.tar.xz
drakx-936b6e839b9b57cc696da60b30862a249f1390e8.zip
disable wins in /etc/nsswitch.conf (after installed packages).
-rw-r--r--perl-install/install_steps.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 68d08c156..53946ee11 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -410,6 +410,10 @@ Consoles 1,3,4,7 may also contain interesting information";
any::writeandclean_ldsoconf($o->{prefix});
+ #- make sure wins is disabled in /etc/nsswitch.conf
+ #- else if eth0 is not existing, glibc get SEGV.
+ substInFile { s/^\s*(hosts\s*:.*)\s*wins(\s*.*)/$1$2/ } "$o->{prefix}/etc/nsswitch.conf";
+
#- make sure some services have been enabled (or a catastrophic restart will occur).
#- these are normally base package post install scripts or important services to start.
run_program::rooted($o->{prefix}, "chkconfig", "--add", $_) foreach