注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Mitigating Systemd"

From Funtoo
Jump to navigation Jump to search
m (→‎hostnamed: Added description.)
m (codify.)
 
(6 intermediate revisions by the same user not shown)
Line 42: Line 42:
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.
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 ===
=== [http://www.freedesktop.org/wiki/Software/systemd/localed/ localed] ===


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


=== [http://www.freedesktop.org/wiki/Software/systemd/logind/ logind] ===
=== [http://www.freedesktop.org/wiki/Software/systemd/logind/ logind] ===
Line 50: Line 50:
Manages user logins and seats. Replaces {{Package|sys-auth/consolekit}}.
Manages user logins and seats. Replaces {{Package|sys-auth/consolekit}}.


=== networkd ===
=== [http://www.freedesktop.org/software/systemd/man/systemd-networkd.html networkd] ===


Provides the facilities to perform various network configurations.
A system service that manages networks. It detects and configures network devices as they appear, as well as creating virtual network devices.


=== resolved ===
=== [http://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html resolved] ===


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


=== [http://www.freedesktop.org/software/systemd/man/systemd-halt.service.html systemd-shutdown] ===
=== [http://www.freedesktop.org/software/systemd/man/systemd-halt.service.html systemd-shutdown] ===
Line 64: Line 64:
=== [http://www.freedesktop.org/wiki/Software/systemd/timedated/ timedated]  ===
=== [http://www.freedesktop.org/wiki/Software/systemd/timedated/ timedated]  ===


Used to control various time related settings. Accessible through D-Bus.
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.
 
=== [http://www.freedesktop.org/software/systemd/man/systemd-timesyncd.service.html timesyncd] ===


=== 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.


TOD.
Alternatives:


=== udevd ===
* {{Package|net-misc/ntp}}
* {{Package|net-misc/openntpd}}
* {{Package|net-misc/ntpclient}}
* {{Package| sys-libs/timezone-data}}


udev was merged into the systemd source tree.


=== libudev ===
=== udevd & libudev ===


The standard library for using {{Package|sys-fs/udev}}.
{{Package|sys-fs/udev}} is a successor to <tt>hotplug</tt> and <tt>devfsd</tt>. It's primary task is to manage device nodes in <tt>/dev</tt>.


Alternatives:
Alternatives:
* {{Package|sys-fs/eudev}}
* {{Package|sys-fs/eudev}}

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 No results.

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:


udevd & libudev

No results is a successor to hotplug and devfsd. It's primary task is to manage device nodes in /dev.

Alternatives:

  • No results