From: Jeremy Katz Subject: [PATCH] ensure paths set in vif scripts Date: Thu, 06 Oct 2005 11:00:00 -0400 Message-ID: <1128610800.12602.1.camel@bree.local.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-oEXszCRFXmk2My5C0nbI" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --=-oEXszCRFXmk2My5C0nbI Content-Type: text/plain Content-Transfer-Encoding: 7bit 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 Jeremy --=-oEXszCRFXmk2My5C0nbI Content-Disposition: attachment; filename=xen-script-paths.patch Content-Type: text/x-patch; name=xen-script-paths.patch; charset=UTF-8 Content-Transfer-Encoding: 7bit # HG changeset patch # User katzj@bree.local.net # Node ID 709301c07a9c0339df4780a039a3b0b405826ca8 # Parent f98c8238e9095a2dad33639211ba95a2a459af12 ensure path includes everything needed for our tools diff -r f98c8238e909 -r 709301c07a9c tools/examples/vif-bridge --- a/tools/examples/vif-bridge Wed Oct 5 18:15:56 2005 +++ b/tools/examples/vif-bridge Thu Oct 6 03:29:38 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 f98c8238e909 -r 709301c07a9c tools/examples/vif-nat --- a/tools/examples/vif-nat Wed Oct 5 18:15:56 2005 +++ b/tools/examples/vif-nat Thu Oct 6 03:29:38 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 f98c8238e909 -r 709301c07a9c tools/examples/vif-route --- a/tools/examples/vif-route Wed Oct 5 18:15:56 2005 +++ b/tools/examples/vif-route Thu Oct 6 03:29:38 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. --=-oEXszCRFXmk2My5C0nbI Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-oEXszCRFXmk2My5C0nbI--