From 9069f4dffd358a3338fbda5d6f9b7509a60d4475 Mon Sep 17 00:00:00 2001 From: immarvin Date: Sat, 9 Aug 2014 04:24:42 -0700 Subject: [PATCH] fix defect #4238 [FVT]: xcat installation on sles gives out /sbin/SuSEfirewall2: line 507: /proc/net/ip_tables_names: No such file or directory --- xCAT/postscripts/configfirewall | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/xCAT/postscripts/configfirewall b/xCAT/postscripts/configfirewall index 22a5bf5e6..24fe8bf88 100755 --- a/xCAT/postscripts/configfirewall +++ b/xCAT/postscripts/configfirewall @@ -141,16 +141,14 @@ elsif (-f "/etc/SuSE-release") # restart firewall #my $cmd = "service SuSEfirewall2_setup restart"; #system($cmd); - xCAT::Utils->restartservice("SuSEfirewall2_setup"); + xCAT::Utils->restartservice("firewall"); # SuSEfirewall2_setup should be stared on reboot #$cmd = "chkconfig SuSEfirewall2_init on"; #system($cmd); #$cmd = "chkconfig SuSEfirewall2_setup on"; #system($cmd); - xCAT::Utils->enableservice("SuSEfirewall2_init"); - xCAT::Utils->enableservice("SuSEfirewall2_setup"); - + xCAT::Utils->enableservice("firewall"); } else {