||This article's tone or style may not reflect the encyclopedic tone used on Wikipedia. (December 2012) (Learn how and when to remove this template message)|
|Original author(s)||Roy Marples|
|Initial release||5 April 2007|
0.27 / 8 June 2017
|Operating system||Linux, FreeBSD, NetBSD, TrueOS|
|License||2-clause BSD license|
OpenRC is the default init system of Gentoo, Alpine Linux and other Linux distributions, which means that the software packages and daemons of those distributions support it, coming with or using the available scripts. As well as Linux, OpenRC can also be used on several BSD systems. It was created by a NetBSD developer, who started the Gentoo/FreeBSD project. TrueOS, a FreeBSD based system is also using OpenRC as its default in its default configuration.
OpenRC provides the following features:
- Portable to non-Linux
- Parallel service startup (optional, in development)
- 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.)
- 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
- Verbose debug mode
- "openrc-0.27". Retrieved June 8, 2017.
- "openrc", Analysis Summary, Ohloh, retrieved 2012-03-10
- "4. Post Installation Configuration — TrueOS® User Guide". www.trueos.org. Retrieved 2017-03-12.
- Parallel startup in OpenRC was disabled by default due to bug 391945 (boot can hang when rc_parallel=yes)
- gentoo-embedded post, 29 Jul 2011
- Using Mdev on Gentoo