Systemd

systemd is a modern sysvinit & RC replacement for Linux systems. It is supported in Gentoo as an alternate init system.

= Installation =

Prerequisites: kernel
systemd makes use of many modern Linux kernel features. Right now, the lower bound on kernel version is set in the ebuild to 2.6.38. In addition to that, the following kernel configuration options should be enabled:

Prerequisites: udev
Newer versions of systemd (> 29) require newer udev than one available in Gentoo right now. In order to use them, you have to use live udev ebuild and masked systemd ebuilds:

You can still use systemd-29 without keywording those packages.

Installing
Installing systemd is as simple as emerging.

Enabling
Before doing this, please configure systemd first.

In order to run systemd, you have to switch the init executable kernel (or your initramfs) uses.

With simple kernels, the init=/bin/systemd argument should be added to the kernel command-line. An example excerpt from grub.conf would look like:

When using initramfs, other command-line argument will be needed. For example, genkernel uses real_init= there:

= Configuration =

To be written.