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-devel

[Xen-devel] [patch] create /var/lock/subsys at startup

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [patch] create /var/lock/subsys at startup
From: Jun Koi <junkoi2004@xxxxxxxxx>
Date: Thu, 25 Jun 2009 13:07:26 +0900
Delivery-date: Wed, 24 Jun 2009 21:07:50 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=hjb6A3dW9Sm9qaCj2YSiUPj2Vmqj4ueFEZISyB1PVSc=; b=fxM3rS9LKhk8243eP1mxybyTmfyK0LwxN+J0Eb/QlFsOkDwPfmXIxv5fvNyJGynxlq Ce7+Lsv2UGhodxQ3UL+SER0GPfQKv/f6vxjNn2qefcB8UWV/Ms+qw4Psq06Wz8h7Gmcc N525XVfjdSq6G1eggV5lH3zngvkp69/wxLmZQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=n37IYScD0q87CumRlm0tibvweLYPIz3j4XxSi16XtSuuA7RNARRywNpa0rfrq84wtt QawOnzQHxa14A3EUouALJEglRKKs5t1HrU/V5bF5BKyx+qFoJ9sbhfWH8vAP77nUDRHx 50Hrm41VhLFVdToMeJl1ibqk/bKlMhAissyBo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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>


diff -r 90391e2247fc tools/hotplug/Linux/init.d/xend
--- a/tools/hotplug/Linux/init.d/xend   Tue Jun 23 11:40:27 2009 +0100
+++ b/tools/hotplug/Linux/init.d/xend   Thu Jun 25 13:05:13 2009 +0900
@@ -39,6 +39,7 @@

 case "$1" in
   start)
+       mkdir -p /var/lock/subsys
        touch /var/lock/subsys/xend
        xend start
        await_daemons_up

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [patch] create /var/lock/subsys at startup, Jun Koi <=