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] [xen-3.4-testing] xend: create /var/lock/subsys at start

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] xend: create /var/lock/subsys at startup
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 29 Jun 2009 03:21:33 -0700
Delivery-date: Mon, 29 Jun 2009 03:23:55 -0700
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1246270251 -3600
# Node ID aef39f4d0a59f7463bb22a6059de693c60355dc2
# Parent  1bc7dd5572333855838aa051534271ee52770343
xend: create /var/lock/subsys at startup

Ubuntu puts /var/lock on tmpfs, so we should create /var/lock at
startup, rather than at installation time.

Signed-off-by: Jun Koi <junkoi2004@xxxxxxxxx>
xen-unstable changeset:   19839:1b90659add64
xen-unstable date:        Thu Jun 25 13:14:03 2009 +0100
---
 tools/hotplug/Linux/init.d/xend |    1 +
 1 files changed, 1 insertion(+)

diff -r 1bc7dd557233 -r aef39f4d0a59 tools/hotplug/Linux/init.d/xend
--- a/tools/hotplug/Linux/init.d/xend   Mon Jun 29 11:10:20 2009 +0100
+++ b/tools/hotplug/Linux/init.d/xend   Mon Jun 29 11:10:51 2009 +0100
@@ -39,6 +39,7 @@ function await_daemons_up
 
 case "$1" in
   start)
+       mkdir -p /var/lock/subsys
        touch /var/lock/subsys/xend
        xend start
        await_daemons_up

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.4-testing] xend: create /var/lock/subsys at startup, Xen patchbot-3.4-testing <=