[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Jun Koi <junkoi2004@xxxxxxxxx>
  • Date: Thu, 25 Jun 2009 13:07:26 +0900
  • Delivery-date: Wed, 24 Jun 2009 21:07:50 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.