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 sysvinit. It is not a replacement for sysvinit.
OpenRC is available in the AUR. You can choose to install either AUR or AUR package. You will also need to install AUR (provides service files for use with openrc on arch) and AUR (a slightly patched version of traditional sysvinit). For the sake of compatibility with initscripts, AUR installs the sysvinit init binary as /sbin/init-openrc.
For booting with OpenRC add
init=/sbin/init-openrc to the kernel line in your bootloader configuration. If you want to switch back to systemd, change it to
It is worth noting that the udev service is not enabled by default. In order to enable it, do:
# rc-update add udev sysinit
If you use syslog-ng, comment out the following line in
unix-dgram("/run/systemd/journal/syslog")and add this line instead:
OpenRC's boot logging is disabled by default. To enable it, uncomment the following line in
OpenRC sets the hostname from
Here is an example file:
OpenRC doesn't use /etc/modules-load.d/ folder, instead it uses
add a line like this to that file :
tmp umount error
When shutting the system down, you might get an error message such as
Unmounting /tmp, in use but fuser finds nothing!!
This can be fixed by adding