Am 29.12.2010 14:37, schrieb Wilhelm:

> Start init with --verbose to see if the events are all generated.

--- snip ----
r...@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


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to