[prev in list] [next in list] [prev in thread] [next in thread]
List: xen-cvs
Subject: [Xen-changelog] [xen master] init/FreeBSD: set correct PATH for xl devd
From: patchbot () xen ! org
Date: 2016-12-25 6:07:08
Message-ID: E1cL1xc-0000Kp-L6 () xenbits ! xenproject ! org
[Download RAW message or body]
commit 1d52073334d7615934fe804bc656b7aab0e92ebd
Author: Roger Pau Monne <roger.pau@citrix.com>
AuthorDate: Mon Dec 19 15:02:01 2016 +0000
Commit: Wei Liu <wei.liu2@citrix.com>
CommitDate: Wed Dec 21 16:32:30 2016 +0000
init/FreeBSD: set correct PATH for xl devd
FreeBSD init scripts don't have /usr/local/{bin/sbin} in it's PATH, which
prevents `xl devd` from working properly since hotplug scripts require the set
of xenstore cli tools to be in PATH.
While there also fix the usage of --pidfile, which according to the xl help
doesn't use "=", and add braces around XLDEVD_PIDFILE.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
---
tools/hotplug/FreeBSD/rc.d/xendriverdomain.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in \
b/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in index 8ece7c3..3917de2 100644
--- a/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in
+++ b/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in
@@ -29,7 +29,7 @@ xendriverdomain_startcmd()
{
printf "Starting xenservices: xl devd."
- ${sbindir}/xl devd --pidfile=$XLDEVD_PIDFILE ${XLDEVD_ARGS}
+ PATH="${bindir}:${sbindir}:$PATH" ${sbindir}/xl devd --pidfile ${XLDEVD_PIDFILE} \
${XLDEVD_ARGS}
printf "\n"
}
--
generated by git-patchbot for /home/xen/git/xen.git#master
[Attachment #3 (text/plain)]
_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xen.org
https://lists.xenproject.org/xen-changelog
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic