[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 10/13] tools/hotplug: create XEN_LOCK_DIR at runtime
Create XEN_LOCK_DIR because it is a compiletime setting. Also /var/lock might be empty on startup because it is a tmpfs mount point. Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- tools/hotplug/Linux/init.d/xencommons.in | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/hotplug/Linux/init.d/xencommons.in b/tools/hotplug/Linux/init.d/xencommons.in index 2326a9c..0b14568 100644 --- a/tools/hotplug/Linux/init.d/xencommons.in +++ b/tools/hotplug/Linux/init.d/xencommons.in @@ -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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |