ia64/xen-unstable

changeset 19839:1b90659add64

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@gmail.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 25 13:14:03 2009 +0100 (2009-06-25)
parents 95f051cb70b4
children e94691561b48
files tools/hotplug/Linux/init.d/xend
line diff
     1.1 --- a/tools/hotplug/Linux/init.d/xend	Thu Jun 25 13:12:32 2009 +0100
     1.2 +++ b/tools/hotplug/Linux/init.d/xend	Thu Jun 25 13:14:03 2009 +0100
     1.3 @@ -39,6 +39,7 @@ function await_daemons_up
     1.4  
     1.5  case "$1" in
     1.6    start)
     1.7 +	mkdir -p /var/lock/subsys
     1.8  	touch /var/lock/subsys/xend
     1.9  	xend start
    1.10  	await_daemons_up