I already know that init
is the magical program that is needed for booting your computer and managing runlevels, but what is it's real purpose?
Why do we even need init
in the first place? Why can't the bootloader tell Upstart what programs to run and not run?
This question in (late) response to my What would happen if init
was deleted? question.
See the manual for
init
on Unix systems.This is a post from the Wikipedia entry on
init
:Hope this helps to explain it to you; it’s a lot of reading.
upstart
andsystemd
areinit
systems. By convention (and perhaps other constraints), the program is still calledinit
, irrespective of whethersystemd
orupstart
or something else is at play. Don't let the process name fool you. PID1 is not SysVinit
any longer. It hasn't been for quite some time on Ubuntu.