[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Downgrade the failure to change the iptables settings from fatal to an error.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 3867d93d86f7bf962035f3fdcedfed50f8648a01
# Parent  50dcb6266990fa932e9952037940fddf7424017b
Downgrade the failure to change the iptables settings from fatal to an error.
Even though we are checking for a working iptables installation, it is still
possible that the user does not have the PHYSDEV matcher installed, so just
issue a diagnostic instead.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 50dcb6266990 -r 3867d93d86f7 tools/examples/vif-common.sh
--- a/tools/examples/vif-common.sh      Wed Nov 16 11:37:29 2005
+++ b/tools/examples/vif-common.sh      Wed Nov 16 14:25:22 2005
@@ -63,7 +63,9 @@
   fi
 
   iptables "$c" FORWARD -m physdev --physdev-in "$vif" "$@" -j ACCEPT ||
-    fatal "iptables $c FORWARD -m physdev --physdev-in $vif $@ -j ACCEPT 
failed"
+    log err \
+     "iptables $c FORWARD -m physdev --physdev-in $vif $@ -j ACCEPT failed.
+If you are using iptables, this may affect networking for guest domains."
 }
 
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.