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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1245932043 -3600
# Node ID 1b90659add647bf32e9b1c968ecc88c81423eef6
# Parent  95f051cb70b49cc3b4be8c6f0b0a8ed16e4cedda
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>
---
 tools/hotplug/Linux/init.d/xend |    1 +
 1 files changed, 1 insertion(+)

diff -r 95f051cb70b4 -r 1b90659add64 tools/hotplug/Linux/init.d/xend
--- a/tools/hotplug/Linux/init.d/xend   Thu Jun 25 13:12:32 2009 +0100
+++ b/tools/hotplug/Linux/init.d/xend   Thu Jun 25 13:14:03 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®.