Differences between revisions 27 and 28
Revision 27 as of 2017-08-16 14:08:48
Size: 1932
Editor: Brian Potkin
Comment: Spelling: "int". Removed unneeded "either". Added links to packages containing init(1), init(8) and the manual for /etc/inittab.
Revision 28 as of 2018-04-06 08:37:27
Size: 1962
Editor: ?RenatBildanov
Comment: add ru version
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[fr/Init|Français]] - [[it/Init|Italiano]]-~ ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[fr/Init|Français]] - [[it/Init|Italiano]] - [[ru/Init|Русский]] -~

Translation(s): English - Français - Italiano - Русский


BootProcess > init


Init is the first program to run after your system is booted, and continues to run as process number 1 until your system halts. Init's job is to start other programs that are essential to the operation of your system. All other processes are descended from init.

Overview

The system initialization process is handled by the init daemon. In jessie and later releases, /sbin/init is a symbolic link to one of the various init daemons: /lib/systemd/systemd (see systemd) or /lib/sysvinit/init (see below), or some other init system.

Only systemd is fully supported; sysvinit is mostly supported, but Debian packages are not required to provide sysvinit start scripts. runit is also packaged, but has not received the same level of testing and support as the others.

The remainder of this page describes the sysvinit init daemon, which was the default in wheezy and earlier releases, and which is a supported alternative in jessie and later releases.

Sysvinit configuration

The inittab configuration tells init what to do. Especially it contains the lines:

  • id:2:initdefault:
    
    si::sysinit:/etc/init.d/rcS
    
    l2:2:wait:/etc/init.d/rc 2

Which causes the files /etc/init.d/rcS to run initialization scripts (in /etc/rcS.d/*), then scripts for requested runlevel (in /etc/rcS.[0-9]/*).

See also


CategoryBootProcess