[11:26] moin. [11:27] How do I tell upstart to stop foo before rc is stopped but only for runlevels 0 and 6? [12:46] With "stop on ((starting rc and runlevel [!2345]) or runlevel [2345])" in foo why does rc no longer start? [13:02] mrvn_: is that starting rc or stopping rc? [13:14] starting. [13:15] The system comes up, starts foo and rc stays stuck in "starting" and getties don't appear. [13:15] mrvn_: you said: " before rc is stopped" [13:16] rc is started on every runlevel change. [13:16] The background is that we start a kvm instance on boot and stop it on reboot. But while the kvm instance is shutting down the rc job kills all processes. [13:17] The rc job has to be delayed until the kvm job has finished stoping. [13:24] It looks like the above statement makes the rc job wait for a "stoped foo" event but for runlevel=2 that never comes. [13:30] mrvn_: right stop on starting foo, will block foo until the job is stopped [13:31] But "stop on ((starting rc and runlevel [!2345]) or runlevel [2345])" in foo makes rc block. [13:36] Is there a way to emit an event and wait till all jobs waiting for that event have finished processing it? [14:09] Is there a command to simulate what upstart would do for an event? [14:27] mrvn_: haven't tested, if that works: stop on starting rc RUNLEVEL=[06] [14:29] will do later. Need to finish something with higher priority currently. [14:58] mbiebl: Thanks, works. === ev_ is now known as ev