how to debug upstart scripts?
- by poolie
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.