Comment 1 for bug 1277737

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Main process has finished, before post-start managed to complete. Arguably, we should only emit "started" if there still was a main process still around. The job is quite artificial as it's not a long running process/daemon. But even with "task" stanza started is not emitted.

<xnox> tedg: what's the real-world usecase ?
<tedg> The case I'm seeing it is in the security confinement tests.
<tedg> They test to ensure that the started applications are confined. But they do so rather quicly.
<tedg> xnox, https://wiki.ubuntu.com/Touch/Testing#Running_Security_tests

So i believe we should fix those tests suites to not be racy and actually leave the main process around for long enough to be inspected & validated.