Comment 10 for bug 581941

Revision history for this message
AlexAD (alex-ad) wrote :

I have noticed the a number of daemons do not start in Ubuntu 10.04 - it seems the since version 6 Ubuntu users upstart. So I have created a temporary fix until it gets sorted.

as root in /etc/init create a file called temp-fix.conf with the following contents:
# Fixes failure to start a number of services in Ubuntu 10.04
#

description "10.04 fixer"

start on (local-filesystems
   and started dbus)
stop on stopping dbus

exec /usr/bin/temp-fix-startup.sh

#end of file

Now in /usr/bin create a file called temp-fix-startup.sh and it should look like

#!/bin/sh

# Give it a little time
sleep 15

exec /sbin/start statd & >> /dev/null 2>&1
exec /sbin/start mythtv-backend & >> /dev/null 2>&1
exec /sbin/start tty1 & >> /dev/null 2>&1
exec /sbin/start tty2 & >> /dev/null 2>&1
exec /sbin/start tty3 & >> /dev/null 2>&1

sleep 120

#end of file

I think that you can start up any of the services you may want including cron

I know this is a bit of a hack, but works for me