OpenRC
Original author(s) | Roy Marples |
---|---|
Developer(s) | OpenRC Developers |
Initial release | 5 April 2007 |
Stable release | 0.19.1 / 15 January 2016[1] |
Written in | C[2] |
Operating system | Linux, FreeBSD, NetBSD |
Size | ~900 KB |
Type | Init daemon |
License | 2-clause BSD license |
Website |
www |
On Unix-like systems, OpenRC is a dependency-based init system that works with the system-provided init program, normally /sbin/init
; however, it is not a replacement for /sbin/init
.
OpenRC is 100% compatible with Gentoo init scripts, which means one can probably find one for the daemons you want to start in the Gentoo Portage Tree. OpenRC, however, is not exclusively used by Gentoo Linux and can be used on different Linux and BSD systems. Its creator is a NetBSD developer, who started the Gentoo/FreeBSD project.
OpenRC provides the following features:
- Portable to non-Linux
- Parallel service startup (optional, in development)[3]
- Dependency based boot-up
- Process segregation through cgroups
- Per-service resource limits (ulimit)
- Separation of code and configuration (init.d / conf.d)
- Easily extensible startup scripts customizable by users
- Ability to include an unlimited variety of commands beyond basic "start, stop, and status"
- Stateful init scripts (is it started already?)
- Complex init scripts to start multiple components (Samba (smbd and nmbd), NFS (nfsd, portmap, etc.))
- Automatic dependency calculation and service ordering
- Proper integration into container/virtualization (Linux-VServer, OpenVZ, etc.)[4]
- Proper modular architecture and separation of optional components (Cron, syslog)
- Expressive and flexible network handling (including VPN, bridges, etc.)
- Support for bare-metal bare-dependency servers[5][6]
- Verbose debug mode
References
- ↑ "openrc-0.19.1". Retrieved January 15, 2016.
- ↑ "openrc", Analysis Summary (Ohloh), retrieved 2012-03-10
- ↑ Parallel startup in OpenRC was disabled by default due to bug 391945 (boot can hang when rc_parallel=yes)
- ↑ OpenRC
- ↑ gentoo-embedded post, 29 Jul 2011
- ↑ Using Mdev on Gentoo
External links
- Official website
- OpenRC git repositories at gentoo.org and GitHub
- Init systems comparison: part 1 and part 2 (LWN.net)
|
This article is issued from Wikipedia - version of the Sunday, April 10, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.