how to debug upstart scripts?

Posted by poolie on Ask Ubuntu See other posts from Ask Ubuntu or by poolie
Published on 2011-04-21T00:01:47Z Indexed on 2012/09/02 15:51 UTC
Read the original article Hit count: 260

Filed under:
|

For some reason I'm getting an error during apport upgrades, the cause of which is

% sudo service apport start
start: Job failed to start

Under sysvinit, I could debug this kind of problem by running eg

sudo sh -x /etc/init.d/whatever start

but that doesn't seem to map over to upstart. What should I try next?

update: it turns out there is a workaround that will let the install proceed. But I'm still interested in the general question of how you would trace the script.

© Ask Ubuntu or respective owner

Related posts about upstart

Related posts about debugging