[lug] Ubuntu question

Carl Wagner carl.wagner at verbalworld.com
Mon Jan 25 13:54:37 MST 2010


Hi,

My startup scripts don't appear to be running under Ubuntu 9.10.

It looks like the init scripts have been replaced by upstart.
Upstart has a script to run the old SysV Init scripts: /etc/init/rc.conf,
which runs /etc/init.d/rc.

The problem is that it calls /etc/init.d/rc with an argument of $RUNLEVEL.
But $RUNLEVEL does  not appear to be defined:
  echo $RUNLEVEL
  (nothing)
  runlevel
  (responds with "unknown")


if I run the command
   start rc
I get:
   start: Job failed to start

But if I run "/etc/init.d/rc 2"
Everything starts up fine.

Does anyone know where the runlevel is supposed to be set so 
/etc/inti/rc.conf can pass it 
to /etc/init.d/rc ?
Am I missing something?

Thanks,
Carl.






More information about the LUG mailing list