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

[Xen-changelog] The hotplug agent sets the path now, but that's not as practical to do



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID e31e64e00ac33ba4069f8fe39c77a2243c1b98fb
# Parent  5eda9308b0ca7282b452d142873ab7d6755ed006
The hotplug agent sets the path now, but that's not as practical to do
with udev rules.  So instead, make sure that the path is set in the vif
scripts themselves.

Signed-off-by: Jeremy Katz <katzj@xxxxxxxxxx>

diff -r 5eda9308b0ca -r e31e64e00ac3 tools/examples/vif-bridge
--- a/tools/examples/vif-bridge Fri Oct  7 10:54:38 2005
+++ b/tools/examples/vif-bridge Fri Oct  7 12:11:41 2005
@@ -33,6 +33,7 @@
 
 # Exit if anything goes wrong
 set -e 
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:$PATH
 
 echo "*vif-bridge $*" >&2
 
diff -r 5eda9308b0ca -r e31e64e00ac3 tools/examples/vif-nat
--- a/tools/examples/vif-nat    Fri Oct  7 10:54:38 2005
+++ b/tools/examples/vif-nat    Fri Oct  7 12:11:41 2005
@@ -22,7 +22,7 @@
 
 # Exit if anything goes wrong
 set -e 
-
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:$PATH
 echo "*vif-nat $*" >&2
 
 # Operation name.
diff -r 5eda9308b0ca -r e31e64e00ac3 tools/examples/vif-route
--- a/tools/examples/vif-route  Fri Oct  7 10:54:38 2005
+++ b/tools/examples/vif-route  Fri Oct  7 12:11:41 2005
@@ -23,7 +23,7 @@
 
 # Exit if anything goes wrong
 set -e 
-
+export PATH=/sbin:/bin:/usr/bin:/usr/sbin:$PATH
 echo "*vif-route $*" >&2
 
 # Operation name.

_______________________________________________
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®.