You are not logged in.

#1 2012-11-26 14:19:52

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 3,609
Website

Howto install openrc as replacement of systemd

See the Arch wiki: https://wiki.archlinux.org/index.php/OpenRC

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.

Installation

OpenRC is available in the AUR. You can choose to install either openrc or openrc-git package. You will also need to install openrc-arch-services-git (provides service files for use with openrc on arch)
and openrc-sysvinit (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.
Configuration

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.

You have to enable the openrc repo by putting it on top of your

/etc/pacman.conf:

[openrc4arch]
SigLevel = Never
Server = http://www.openrc4arch.site40.net/openrc4arch/os/x86_64

See also: http://bbs.archbang.org/viewtopic.php?id=3635

Last edited by pablokal (2012-11-26 14:36:56)


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#2 2012-11-27 01:34:47

scjet
Member
From: Canada
Registered: 2010-12-01
Posts: 1,463

Re: Howto install openrc as replacement of systemd

Nice, thanks Pablo.
you should definitely "Sticky" this..., and/or link it back or forth from the http://bbs.archbang.org/viewtopic.php?id=3635

Offline

Board footer

Powered by FluxBB