1242
Comment: Add link to french translation
|
1892
discuss the alternative init systems a bit, and at least attempt to describe the current state of affairs
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
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 processes are descended from init. For more information, see the manual page init(8). | 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. |
Line 9: | Line 9: |
The system initialization process is handled by the {{{init}}} daemon. In [[DebianJessie|jessie]] and later releases, {{{/sbin/int}}} is a symbolic link to one of the various init daemons: either {{{/lib/systemd/systemd}}} (see [[systemd]]) or {{{/lib/sysvinit/init}}} (see below), or some other init system. | |
Line 10: | Line 11: |
The system initialization process is handled by the {{{init}}} daemon. | 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. |
Line 12: | Line 13: |
The [[inittab|/etc/inittab]] configuration tells init what to do. Especially it contains the lines : | The remainder of this page describes the sysvinit init daemon, which was the default in [[DebianWheezy|wheezy]] and earlier releases, and which is a supported alternative in jessie and later releases. == Sysvinit configuration == The [[inittab|/etc/inittab]] configuration tells init what to do. Especially it contains the lines: |
Line 24: | Line 29: |
* [[http://node1.yo-linux.com/cgi-bin/man2html?cgi_command=init|Init man page]]. * [[http://linuxreviews.net/man/init/|Init(8) man page]]. |
* [[DebianMan:1/init|Init(1) man page]] (from [[systemd]]). * [[DebianMan:8/init|Init(8) man page]] (from sysvinit). |
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/int is a symbolic link to one of the various init daemons: either /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 ?/etc/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
Init(1) man page (from systemd).
Init(8) man page (from sysvinit).
http://www.yolinux.com/TUTORIALS/LinuxTutorialInitProcess.html
- update-rc.d, the equivalent to chkconfig