Difference between revisions of "Mitigating Systemd"

m (codify.)
m (codify.)
 
(No difference)

Latest revision as of 21:56, December 8, 2014

Funtoo currently has no plans to migrate or adopt systemd as it's default init system. This does not prevent you from using systemd on your system. CoreOS, for example, is a systemd based system build on Gentoo.

For users not seeking to use systemd, that is, most Funtoo users, this page will serve both as the Funtoo development team's planning for the future, and information on how to avoid systemd in your system.

Components of systemd

systemd

Provides replacements for the following daemons or utilities:

consoled

Provides a user console daemon and handles Linux Virtual terminal support.

hostnamed

This is a tiny daemon that can be used to control the host name and related machine meta data from user programs. It currently offers access to five variables:

  • The current host name (Example: dhcp-192-168-47-11)
  • The static (configured) host name (Example: lennarts-computer)
  • The pretty host name (Example: Lennart's Computer)
  • A suitable icon name for the local host (Example: computer-laptop)
  • A chassis type (Example: "tablet")

journald

Provides logging functionality.

Provides replacement for the system logger.

machined

The daemon provides both a C library interface (which is shared with logind) as well as a D-Bus interface. The library interface may be used to introspect and watch the state of virtual machines/containers. The bus interface provides the same but in addition may also be used to register or terminate machines.

localed

This is a tiny daemon that can be used to control the system locale and keyboard mapping from user programs.

logind

Manages user logins and seats. Replaces sys-auth/consolekit (package not on wiki - please add).

networkd

A system service that manages networks. It detects and configures network devices as they appear, as well as creating virtual network devices.

resolved

A system service that manages network name resolution. It implements a caching DNS stub resolver and an LLMNR resolver and responder. It also generates /run/systemd/resolve/resolv.conf for compatibility which may be symlinked from /etc/resolv.conf.

systemd-shutdown

TODO.

timedated

This is a tiny daemon that can be used to control the system time and related settings. It currently offers access to four settings:

  • The system time
  • The system timezone
  • A boolean controlling whether the system RTC is in local or UTC timezone
  • Whether the systemd-timesyncd.service (NTP) services is enabled/started or disabled/stopped.

timesyncd

A system service that may be used to synchronize the local system clock with a remote Network Time Protocol server. It also saves the local time to disk every time the clock has been synchronized and uses this to possibly advance the system realtime clock on subsequent reboots to ensure it monotonically advances even if the system lacks a battery-buffered RTC chip.

Alternatives:

  • net-misc/ntp (package not on wiki - please add)
  • net-misc/openntpd (package not on wiki - please add)
  • net-misc/ntpclient (package not on wiki - please add)
  • sys-libs/timezone-data (package not on wiki - please add)


udevd & libudev

sys-fs/udev (package not on wiki - please add) is a successor to hotplug and devfsd. It's primary task is to manage device nodes in /dev.

Alternatives: