Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

hi i'm on ubuntu 10.10, and i've just joined linux world from os/x-apple. i'm learning about runlevels and rc directory in /etc/ and everywhere (manuals, tutorials, etc) i'm reading about inittab. but i don't find it in my ubuntu.. why? does ubuntu follow runlevel model? how rc and levels are loaded without inittab?

share|improve this question

3 Answers 3

up vote 11 down vote accepted

If you do man inittab in your terminal, all shall be revealed:

   The  /etc/inittab  file was the configuration file used by the original
   System V init(8) daemon.

   The Upstart init(8) daemon does not use this file,  and  instead  reads
   its  configuration  from  files  in  /etc/init.   See  init(5) for more
   details.
share|improve this answer
    
Worth to note, in /usr/share/doc/upstart/README.Debian.gz there is some other info. –  enzotib Apr 10 '11 at 6:17
    
but upstart keep using /etc/rc.* ? –  nkint Apr 10 '11 at 10:33
    
@nkint: upstart keep using /etc/rc.* for packages not aware of upstart –  enzotib Apr 10 '11 at 12:23

While searching this in various forum, I got to know that /etc/inittab is not anymore used in debian distro.

It uses /etc/init/rc-sysinit.conf

share|improve this answer

No, it does not follow the runlevel model. Ubuntu has moved away from sysV init to upstart instead. The main reason for this was to parallelize the initialization process to vastly reduce boot time.

share|improve this answer
    
runlevels continue to exist, for what I know –  enzotib Apr 10 '11 at 5:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.