From ArchWiki
Revision as of 00:34, 30 December 2012 by Lone Wolf (Talk | contribs) (Added notes to Configuration section)

Jump to: navigation, search
Note: Arch uses systemd by default. If you use OpenRC, please mention so while asking for help.

OpenRC is an alternate init system developed by Gentoo developers. OpenRC is a dependency based init system that works with the system provided init program, normally /sbin/init. It is not a replacement for /sbin/init.


OpenRC is available in the AUR. You can choose to install either openrcAUR or openrc-gitAUR package. You will also need to install openrc-arch-services-gitAUR (provides service files for use with openrc on arch) and openrc-sysvinitAUR (a slightly patched version of traditional sysvinit).

The packages will be installed under /etc/openrc instead of the default location of /etc, so that users can switch to initscripts or systemd when desired.


For booting with OpenRC add init=/sbin/init-openrc to the kernel line in your bootloader configuration. If you want to go back to systemd replace it with init=/usr/lib/systemd/systemd.

For detailed instructions on configuring OpenRC, read the man pages, visit the gentoo guide and the gentoo wiki.

It is worth noting that the udev service is not enabled by default. In order to enable it, do:

# rc-update add udev sysinit
Warning: The openrc package lacks networking support. You can use net-tools or netcfg to deal with that.

If you use syslog-ng , check etc/syslog-ng/syslog-ng.conf

Look for
, comment it out and add this line instead :
Note: If you do not do this, NOTHING will be logged !

The logging of openrc appears to be off by default edit /etc/openrc/rc.conf , and uncomment this line :


Hostname is set to localhost, and openrc doesn't use /etc/hostname . Edit /etc/openrc/conf.d/hostname and put your desired hostname there.

External Links