OpenRC is available in the [[AUR]]. You can choose to install either {{AUR|openrc}} or {{AUR|openrc-git}} package. You will also need to install {{AUR|openrc-arch-services-git}} (provides service files for use with openrc on arch) and {{AUR|openrc-sysvinit}} (a slightly patched version of traditional sysvinit). For the sake of compatibility with initscripts, {{AUR|openrc-sysvinit}} installs the sysvinit init binary as /sbin/init-openrc.

+

OpenRC is available in the [[AUR]]. You can choose to install either {{AUR|openrc}} or {{AUR|openrc-git}} package. You will also need to install {{AUR|openrc-arch-services-git}} (provides service files for use with openrc on arch) and {{AUR|openrc-sysvinit}} (a slightly patched version of traditional sysvinit). For the sake of compatibility with initscripts, {{AUR|openrc-sysvinit}} installs the sysvinit init binary as {{ic|/sbin/init-openrc}}.

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

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

Line 33:

Line 33:

The network service is added to the boot runlevel by default, so no further action is required.

The network service is added to the boot runlevel by default, so no further action is required.

−

You can also use [[NetworkManager]], [[Dhcpcd]] or [[netcfg]] by enabling the respective services.

+

You can also use [[NetworkManager]], [[Dhcpcd]] or {{AUR|netcfg}} by enabling the respective services.

Take a look at [[Network Configuration]] for a detailed look at networking in general.

Take a look at [[Network Configuration]] for a detailed look at networking in general.

Line 93:

Line 93:

net.ipv6.conf.all.disable_ipv6 = 1

net.ipv6.conf.all.disable_ipv6 = 1

in a file (with a .conf extension) under {{Ic|/etc/openrc/sysctl.d}}

in a file (with a .conf extension) under {{Ic|/etc/openrc/sysctl.d}}

+

+

=== Remounting root as read-only at shutdown fails ===

+

+

If the above happens, edit the {{ic|/etc/openrc/init.d/mount-ro}} file and put:

Revision as of 05:30, 10 October 2013

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 sysvinit. It is not a replacement for sysvinit.

Installation

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). For the sake of compatibility with initscripts, openrc-sysvinitAUR installs the sysvinit init binary as /sbin/init-openrc.

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.

Configuration

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 init=/usr/lib/systemd/systemd.