Services not starting on boot in 10.04.1 LTS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Expired
|
Medium
|
Unassigned | ||
Lucid |
Won't Fix
|
Medium
|
Canonical Foundations Team |
Bug Description
I've had an issue for awhile now where on system reboot, certain services don't automatically start. Some affected include: nginx and a few custom CGI init scripts. These are all set to automatically start on boot, according to rcconf. Nothing interesting is logged to /var/log/
I'd believed this was an upstart issue and related to bug 554172 (https:/
I tried the workarounds until an official fix was release, but neither the workarounds nor the official patch solved the issue for me.
I've also tried disabling plymouth as described in the upstart bug thread, by first removing 'quiet splash' from the GRUB menu, and then by purging the plymouth package. This likewise had no effect on my issue.
Another possibly related observance is 'shutdown -r now' doesn't work. Upon running it, I get the console message "System is going down for reboot", but my shell isn't logged out, and it never reboots. If I do the 'reboot' command that works, but it hangs the SSH session, so it doesn't seem like a proper reboot has occurred.
The bug as reported in Bug #554172 is definitely not fixed!
The workaround to direct output to /dev/null if console is not available is just a fake. Or would you leave users with a black screen in case X-server does not start?
The result is - besides some services not starting reliable - that randomly a lot of boot messages get lost. Can be easily seen, if plymouth has been purged to display boot messages. This definitely is a bug in upstart, as upstart claims to start services whenever all prerequisites are met.
So instead of just dumping the output, upstart should wait for the console to be available.
In Bug #554172 it is stated to be a kernel-bug, where can I follow the kernel-bug, or is it rather a known feature of the kernel in case of SMP-systems?