WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] The hotplug agent sets the path now, but that's not as practical to do
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 07 Oct 2005 12:16:11 +0000
Delivery-date: Fri, 07 Oct 2005 12:13:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] The hotplug agent sets the path now, but that's not as practical to do, Xen patchbot -unstable <=