Init is the parent of all processes. Its primary role is to create processes from a script stored in the file /etc/inittab. This package also contains well known and used utilities like reboot, shutdown, killall, poweroff, tellinit, sulogin, wall, etc.
| Licenses | GPL |
|---|
Recent releases


No changes have been submitted for this release.


No changes have been submitted for this release.


Release Notes: This release doesn't use /etc/initlvl interface for telinit; it only use /dev/initctl, and gives a clear error when that fails. The -i/--init command line flag has been added to init, which tells init "behave as system init even if you're not PID#1". This is useful for testing in chroot/jail type environments.


Release Notes: /etc/init.d/rc was updated. The -C argument was added to fsck. Files in /var/run and /var/lock that are newer than /etc/mtab are no longer removed. This may fix the dhcpcd problems. Kernel messages are now saved in /var/log/dmesg. Shutdown now calls sync before switching the runlevel to 0 or 6, or before unmounting filesystems if -n was used. umount is now called with the -f option to force NFS umounts. The TMPTIME documentation in rcS(5) was fixed. Some cosmetic changes were made to 'init.c'. Certain files were moved to /usr/share to comply with latest policy.


Release Notes: Several fixes were made to wall. Several extra boundary checks were added. /dev/console is now used as the controlling tty. Stricter checks on tty ownership are now implemented in mesg(1). The -n option to wall(1) was documented and restricted. Changes were made for compatibility with glibc 2.2.2. I/O redirection is now documented in the wall manpage. The README was updated. The init(8) manpage was corrected, as was a typo in the halt(8) manpage. The time argument of shutdown(8) is now checked for correctness. last(1) now checks for stale sessions.
Recent comments
14 Nov 2009 20:49
The sysvinit project is now being developed on
savannah.nongnu.org/pr... .
10 Mar 2003 03:41
Bug in main() of init.c?
A colleague of mine found a place that looks like a bug:
isinit = (getpid() == 1);
for (f = 1; f < argc; f++) {
if (!strcmp(argv[f], "-i") || !strcmp(argv[f], "--init"))
isinit = 1;
break;
}
..So, this only accepts "-" or "--init" as first argument due "break;". Braces should be added.
Normal GNU/[place your favorite kernel here] -users using readily built distros will never need this to be fixed, nor.. well most likely.. anybody.