From: Ian Campbell Subject: Re: [PATCH 10/12] tools/hotplug: create XEN_LOCK_DIR at runtime Date: Fri, 2 May 2014 11:56:04 +0100 Message-ID: <1399028164.32736.36.camel@kazak.uk.xensource.com> References: <1398328615-28461-1-git-send-email-olaf@aepfle.de> <1398328615-28461-11-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398328615-28461-11-git-send-email-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Ian.Jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-04-24 at 10:36 +0200, Olaf Hering wrote: > XEN_LOCK_DIR is a compile-time setting and may not exist on the target > host. Maybe insert some words to the affect that it might be in a tmpfs and therefore need creating on boot (otherwise the question becomes why isn't this done at install time) > Signed-off-by: Olaf Hering With that clarified: Acked-by: Ian Campbell > --- > tools/hotplug/Linux/init.d/xencommons | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/hotplug/Linux/init.d/xencommons b/tools/hotplug/Linux/init.d/xencommons > index 2326a9c..0b14568 100644 > --- a/tools/hotplug/Linux/init.d/xencommons > +++ b/tools/hotplug/Linux/init.d/xencommons > @@ -73,6 +73,7 @@ do_start () { > modprobe xen-acpi-processor 2>/dev/null > modprobe blktap2 2>/dev/null || modprobe blktap 2>/dev/null > mkdir -p ${XEN_RUN_DIR} > + mkdir -p ${XEN_LOCK_DIR} > > if ! `${BINDIR}/xenstore-read -s / >/dev/null 2>&1` > then