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

[Xen-changelog] [xen-3.4-testing] xend: create /var/lock/subsys at startup



# 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


 


Rackspace

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