[Lxc-users] Ubuntu (maverick) container won't start (hangs at init)
Thomas Schweikle
tps at vr-web.de
Wed Dec 29 14:27:44 UTC 2010
Am 29.12.2010 14:37, schrieb Wilhelm:
> Start init with --verbose to see if the events are all generated.
--- snip ----
root at lxcn:~# LANG="C" lxc-start -n tps -- /sbin/init --verbose
init: Handling startup event
init: lxc goal changed from stop to start
init: lxc state changed from waiting to starting
init: hostname goal changed from stop to start
init: hostname state changed from waiting to starting
init: Handling starting event
init: lxc state changed from starting to pre-start
init: lxc state changed from pre-start to spawned
init: lxc main process (2)
init: lxc state changed from spawned to post-start
init: lxc state changed from post-start to running
init: Handling starting event
init: hostname state changed from starting to pre-start
init: hostname state changed from pre-start to spawned
init: hostname main process (3)
init: hostname state changed from spawned to post-start
init: hostname state changed from post-start to running
init: Handling started event
init: Handling started event
init: hostname main process (3) exited normally
init: hostname goal changed from start to stop
init: hostname state changed from running to stopping
init: Handling stopping event
init: hostname state changed from stopping to killed
init: hostname state changed from killed to post-stop
init: hostname state changed from post-stop to waiting
init: Handling stopped event
init: Connection from private client
init: Handling stopped event
init: Connection from private client
init: Handling started event
init: lxc main process (2) exited normally
init: lxc goal changed from start to stop
init: lxc state changed from running to stopping
init: Handling stopping event
init: lxc state changed from stopping to killed
init: lxc state changed from killed to post-stop
init: lxc state changed from post-stop to waiting
init: Handling stopped event
--- snap ----
in lxc.conf I have:
--- snip ----
# fake some events needed for correct startup other services
description "Container Upstart"
start on startup
script
rm -rf /var/run/*.pid
rm -rf /var/run/network/*
/sbin/initctl emit stopped JOB=udevtrigger --no-wait
/sbin/initctl emit started JOB=udev --no-wait
end script
--- snap ----
--
Thomas
More information about the lxc-users
mailing list