Comment 24 for bug 543506

Revision history for this message
Wout (wout-bliepbliep) wrote : Re: [Bug 543506] Re: Upstart not starting jobs on boot

A long way back in this thread it was reported that the below message would
appear in /var/log/messages when upstart had problems running
/etc/rc.sysinit. Is anyone still seeing this?

init: Failed to spawn rc-sysinit main process: unable to open console:
Input/output error

Wout

On Mon, May 17, 2010 at 09:57, Pascal W. <email address hidden> wrote:

> I'm also experiencing this problem on a fresh 10.04 desktop
> installation.
>
> Quite often non of my installed services (dropbear ssh, tightvncserver
> and sabnzbd) are started. This is very annoying to me because my Ubuntu
> box is running headless.
>
> --
> Upstart not starting jobs on boot
> https://bugs.launchpad.net/bugs/543506
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “upstart” package in Ubuntu: New
>
> Bug description:
> Binary package hint: upstart
>
> On Lucid with:
>
> # apt-cache policy upstart
> upstart:
> Installed: 0.6.5-4
> Candidate: 0.6.5-4
> Version table:
> *** 0.6.5-4 0
> 500 http://apt.interlinx.bc.ca lucid/main Packages
> 100 /var/lib/dpkg/status
>
> during boot, upstart just seems to stop starting jobs. A number of jobs
> are started but all of the jobs that should be started never gets complete.
> I end up (though having a job that starts a shell on a tty) having to
> manually:
>
> # service ssh start
> # service rc-sysinit start
> (at least)
>
> to get the system up into a semblance of a multi-user run-level.
>
> I'd be happy to provide more information but I'm at a bit of a loss as to
> how to debug this situation.
>
> FWIW, my "debug shell" job which gives me a shell that I can debug upstart
> from is:
>
> description "Start a debug shell"
>
> start on startup
>
> expect fork
>
> script
> exec /root/open -c 12 /bin/bash
> end script
>
> I have no doubt it's probably not 100% correct as I'm really only just
> cribbing it up from what I can see in other jobs. Hopefully I have not
> exacerbated the problem with that job.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/543506/+subscribe
>