NEWS revision 7edecf218e5884ec8d1549707b4c7a0572c2d93b
d657c51f14601d0235434ffb78cf6ac0f27cc83cLennart Poetteringsystemd System and Service Manager
b72ddf0f4f552dd53d6404b6ddbc9f17d02b8e12Kay SieversCHANGES WITH 219:
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * Introduce a new API "sd-hwdb.h" for querying the hardware
b72ddf0f4f552dd53d6404b6ddbc9f17d02b8e12Kay Sievers metadata database. With this minimal interface one can query
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering and enumerate the udev hwdb, decoupled from the old libudev
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering library. libudev's interface for this is now only a wrapper
b72ddf0f4f552dd53d6404b6ddbc9f17d02b8e12Kay Sievers around sd-hwdb. A new tool systemd-hwdb has been added to
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering interface with and update the database.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * When any of systemd's tools copies files (for example due to
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering tmpfiles' C lines) a btrfs reflink will attempted first,
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering before bytewise copying is done.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * systemd-nspawn gained a new --ephemeral switch. When
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering specified a btrfs snapshot is taken of the container's root
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering directory, and immediately removed when the container
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering terminates again. Thus, a container can be started whose
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering changes never alter the container's root directory, and are
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering lost on container termination. This switch can also be used
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering for starting a container off the root file system of the
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering host without affecting the host OS. This switch is only
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering available on btrfs file systems.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * systemd-nspawn gained a new --template= switch. It takes the
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering path to a container tree to use as template for the tree
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering specified via --directory=, should that directory be
5f02e26ca7c039837dbaea63f3d3664fe45c26b9Thomas Hindoe Paaboel Andersen missing. This allows instantiating containers dynamically,
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering on first run. This switch is only available on btrfs file
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * When a .mount unit refers to a mount point on which multiple
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering mounts are stacked, and the .mount unit is stopped all of
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering the stacked mount points will now be unmounted until no
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering mount point remains.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * systemd now has an explicit notion of supported and
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering unsupported unit types. Jobs enqueued for unsupported unit
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering types will now fail with an "unsupported" error code. More
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering specifically .swap, .automount and .device units are not
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering supported in containers, .busname units are not supported on
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering non-kdbus systems. .swap and .automount are also not
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering supported if their respective kernel compile time options
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * machinectl gained support for two new "copy-from" and
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering "copy-to" commands for copying files from a running
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering container to the host or vice versa.
5f02e26ca7c039837dbaea63f3d3664fe45c26b9Thomas Hindoe Paaboel Andersen * machinectl gained support for a new "bind" command to bind
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering mount host directories into local containers. This is
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering currently only supported for nspawn containers.
a1a4a25e7f6b515d0c8c25257714299853f261aaDaniel Mack * networkd gained support for configuring bridge forwarding
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering database entries (fdb) from .network files.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * A new tiny daemon "systemd-importd" has been added that can
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering download container images in tar, raw, qcow2 or dkr formats,
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering and make them available locally in /var/lib/machines, so
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering that they can run as nspawn containers. The daemon can GPG
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering verify the downloads (not supported for dkr, since it has no
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering provisions for verifying downloads). It will transparently
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering decompress bz2, xz, gzip compressed downloads if necessary,
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering and restore sparse files on disk. The daemon uses privilege
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering separation to ensure the actual download logic runs with
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering fewer privileges than the deamon itself. machinectl has
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering gained new commands "pull-tar", "pull-raw" and "pull-dkr" to
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering make the functionality of importd available to the
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering user. With this in place the Fedora and Ubuntu "Cloud"
5f02e26ca7c039837dbaea63f3d3664fe45c26b9Thomas Hindoe Paaboel Andersen images can be downloaded and booted as containers unmodified
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering (the Fedora images lack the appropriate GPG signature files
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering currently, so they cannot be verified, but this will change
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering soon, hopefully). Note that downloading images is currently
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering only fully supported on btrfs.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * machinectl is now able to list container images found in
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering /var/lib/machines, along with some metadata about sizes of
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering disk and similar. If the directory is located on btrfs and
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering quota is enabled, this includes quota display. A new command
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering "image-status" has been added that shows additional
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering information about images.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * machinectl is now able to clone container images
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering efficiently, if the underlying file system (btrfs) supports
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering it, with the new "machinectl list-images" command. It also
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering gained commands for renaming and removing images, as well as
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering marking them read-only or read-write (supported also on
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering legacy file systems).
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * networkd gained support for collecting LLDP network
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering announcements, from hardware that supports this. This is
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering shown in networkctl output.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * systemd-run gained support for a new -t (--pty) switch for
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering invoking a binary on a pty whose input and output is
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering connected to the invoking terminal. This allows executing
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering processes as system services while interactively
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering communicating with them via the terminal. Most interestingly
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering this is supported across container boundaries. Invoking
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering "systemd-run -t /bin/bash" is an alternative to running a
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering full login session, the difference being that the former
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering will not register a session, nor go through the PAM session
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * tmpfiles gained support for a new "v" line type for creating
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering btrfs subvolumes. If the underlying file system is a legacy
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering file system, this automatically degrades to creating a
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering normal directory. Among others /var/lib/machines is now
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering created like this at boot, should it be missing.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * The directory /var/lib/containers/ has been deprecated and
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering been replaced by /var/lib/machines. The term "machines" has
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering been used in the systemd context as generic term for both
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering VMs and containers, and hence appears more appropriate for
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering this, as the directory can also contain raw images bootable
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * systemd-nspawn when invoked with -M but without --directory=
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering or --image= is now capable of searching for the container
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering root directory, subvolume or disk image automatically, in
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering /var/lib/machines. systemd-nspawn@.service has been updated
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering to make use of this, thus allowing it to be used for raw
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering disk images, too.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * A new machines.target unit has been introduced that is
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering supposed to group all containers/VMs invoked as services on
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering the system. systemd-nspawn@.service has been updated to
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering integrate with that.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * machinectl gained a new "start" command, for invoking a
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering container as a service. "machinectl start foo" is mostly
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering equivalent to "systemctl start systemd-nspawn@foo.service",
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering but handles escaping in a nicer way.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * systemd-nspawn will now mount most of the cgroupfs tree
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering read-only into each container, with the exception of the
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering container's own subtree in the name=systemd hierarchy.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * journald now sets the special FS_NOCOW file flag for its
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering journal files. This should improve performance on btrfs, by
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering avoiding heavy fragmentation when journald's write-pattern
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering is used on COW file systems. It degrades btrfs' data
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering integrity guarantees for the files to the same levels as for
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering ext3/ext4 however. This should be OK though as journald does
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering its own data integrity checks and all its objects are
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering checksummed on disk. Also, journald should handle btrfs disk
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering full events a lot more gracefully now, by processing SIGBUS
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering errors, and not relying on fallocate() anymore.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * When journald detects that journal files it is writing to
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering have been deleted it will immediately start new journal
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * systemd now provides a way to store file descriptors
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering per-service in PID 1.This is useful for daemons to ensure
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering that fds they require are not lost during a daemon
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering restart. The fds are passed to the deamon on the next
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering invocation in the same way socket activation fds are
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering passed. This is now used by journald to ensure that the
a1a4a25e7f6b515d0c8c25257714299853f261aaDaniel Mack various sockets connected to all the system's stdout/stderr
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering are not lost when journald is restarted. File descriptors
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering may be stored in PID 1 via the sd_pid_notify_with_fds() API,
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering an extension to sd_notify(). Note that a limit is enforced
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering on the number of fds a service can store in PID 1, and it
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering defaults to 0, so that no fds may be stored, unless this is
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering explicitly turned on.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * The default TERM variable to use for units connected to a
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering terminal, when no other value is explicitly is set is now
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering vt220 rather than vt102. This should be fairly safe still,
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering but allows PgUp/PgDn work.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * The /etc/crypttab option header= as known from Debian is now
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * "loginctl user-status" and "loginctl session-status" will
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering now show the last 10 lines of log messages of the
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering user/session following the status output. Similar,
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering "machinectl status" will show the last 10 log lines
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering associated with a virtual machine or container
b72ddf0f4f552dd53d6404b6ddbc9f17d02b8e12Kay Sievers service. (Note that this is usually not the log messages
3dff3e00e044e2d53c76fa842b9a4759d4a50e69Kay Sievers done in the VM/container itself, but simply what the
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering container manager logs. For nspawn this includes all console
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering output however.)
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * "loginctl session-status" without further argument will now
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering show the status of the session of the caller. Similar,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering "lock-session", "unlock-session", "activate",
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering "enable-linger", "disable-linger" may now be called without
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering session/user parameter in which case they apply to the
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * An X11 session scriptlet is now shipped that uploads
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering $DISPLAY and $XAUTHORITY into the environment of the systemd
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering --user daemon if a session begins. This should improve
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering compatibility with X11 enabled applications run as systemd
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering user services.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * Generators are now subject to masking via /etc and /run, the
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering same way as unit files.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * networkd .network files gained support for configuring
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering per-link IPv4/IPv6 packet forwarding as well as IPv4
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering masquerading. This is by default turned on for veth links to
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering containers, as registered by systemd-nspawn. This means that
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering nspawn containers run with --network-veth will now get
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering automatic routed access to the host's networks without any
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering further configuration or setup, as long as networkd runs on
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * systemd-nspawn gained the --port= (-p) switch to expose TCP
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering or UDP posts of a container on the host. With this in place
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering it is possible to run containers with private veth links
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering (--network-veth), and have their functionality exposed on
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering the host as if their services were running directly on the
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * systemd-nspawn's --network-veth switch now gained a short
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering version "-n", since with the changes above it is now truly
ce1dde29b92d1399ce502e0f7db790a99d14841fThomas Hindoe Paaboel Andersen useful out-of-the-box. The systemd-nspawn@.service has been
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering updated to make use of it too by default.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * systemd-nspawn will now maintain a per-image R/W lock, to
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering ensure that the same image is not started more than once
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering writable. (It's OK to run an image multiple times
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering simultaneously in read-only mode.)
3dff3e00e044e2d53c76fa842b9a4759d4a50e69Kay Sievers * systemd-nspawn's --image= option is now capable of
3dff3e00e044e2d53c76fa842b9a4759d4a50e69Kay Sievers dissecting and booting MBR and GPT disk images that contain
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering only a single active Linux partition. Previously it
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering supported only GPT disk images with proper GPT type
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering IDs. This allows running cloud images from major
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering distributions directly with systemd-nspawn, without
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * In addition to collecting mouse dpi data in the udev
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering hardware database, there's now support for collecting angle
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering information for mouse scroll wheels. The database is
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering supposed to guarantee similar scrolling behavior on mice
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering that it knows about. There's also support for collecting
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering information about Touchpad types.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * udev's input_id built-in will now also collect touch screen
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering dimension data and attach it to probed devices.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * /etc/os-release gained support for a Distribution Privacy
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Policy link field.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * networkd gained support for creating "ipvlan", "gretap",
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering "ip6gre", "ip6gretap" and "ip6tnl" network devices.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * systemd-tmpfiles gained support for "a" lines for setting
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering ACLs on files.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * systemd-nspawn will now mount /tmp in the container to
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering tmpfs, automatically.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * systemd now exposes the memory.usage_in_bytes cgroup
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering attribute and shows it for each service in the "systemctl
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering status" output, if available.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * When the user presses Ctrl-Alt-Del more than 7x within 2s an
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering immediate reboot is triggered. This useful if shutdown is
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering hung and is unable to complete, to expedite the
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering operation. Note that this kind of reboot will still unmount
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering all file systems, and hence should not result in fsck being
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering run on next reboot.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * A .device unit for an optical block device will now be
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering considered active only when a medium is in the drive. Also,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering mount units are now bound to their backing devices thus
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering triggering automatic unmounting when devices become
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering unavailable. With this in place systemd will now
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering automatically unmount left-over mounts when a CD-ROM is
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering ejected or an USB stick is yanked from the system.
ce1dde29b92d1399ce502e0f7db790a99d14841fThomas Hindoe Paaboel Andersen * networkd-wait-online now has support for waiting for
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering specific interfaces only (with globbing), and for giving up
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering after a configurable timeout.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * networkd now exits when idle. It will be automatically
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering restarted as soon as interfaces show up, are removed or
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering change state. networkd will stay around as long as there is
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering at least one DHCP state machine or similar around, that keep
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * networkd may now configure IPv6 link-local addressing in
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering addition to IPv4 link-local addressing.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * The IPv6 "token" for use in SLAAC may now be configured for
ce1dde29b92d1399ce502e0f7db790a99d14841fThomas Hindoe Paaboel Andersen each .network interface in networkd.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * Routes configured with networkd may now be assigned a scope
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering in .network files.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * networkd's [Match] sections now support globbing and lists
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering of multiple space-separated matches per item.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Contributions from: Alban Crequy, Alin Rauta, Andrey Chaser,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Bastien Nocera, Bruno Bottazzini, Carlos Garnacho, Carlos
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Morata Castillo, Chris Atkinson, Chris J. Arges, Christian
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Kirbach, Christian Seiler, Christoph Brill, Colin Guthrie,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Colin Walters, Cristian Rodríguez, Daniele Medri, Daniel Mack,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Dave Reisner, David Herrmann, Djalal Harouni, Erik Auerswald,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Filipe Brandenburger, Frank Theile, Gabor Kelemen, Gabriel de
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Perthuis, Harald Hoyer, Hui Wang, Ivan Shapovalov, Jan
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Engelhardt, Jan Synacek, Jay Faulkner, Johannes Hölzl, Jonas
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Ådahl, Jonathan Boulle, Josef Andersson, Kay Sievers, Ken
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Werner, Lennart Poettering, Lucas De Marchi, Lukas Märdian,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Lukas Nykryn, Lukasz Skalski, Luke Shumaker, Mantas Mikulėnas,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Manuel Mendez, Marcel Holtmann, Marc Schmitzer, Marko
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Myllynen, Martin Pitt, Maxim Mikityanskiy, Michael Biebl,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Michael Marineau, Michael Olbrich, Michal Schmidt, Mindaugas
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Baranauskas, Moez Bouhlel, Naveen Kumar, Patrik Flykt, Paul
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Martin, Peter Hutterer, Peter Mattern, Philippe De Swert,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Piotr Drąg, Rafael Ferreira, Rami Rosen, Robert Milasan, Ronny
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Chevalier, Sangjung Woo, Sebastien Bacher, Sergey Ptashnick,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Shawn Landden, Stéphane Graber, Susant Sahani, Sylvain
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Plantefève, Thomas Hindoe Paaboel Andersen, Tim JP, Tom
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Gundersen, Topi Miettinen, Torstein Husebø, Umut Tezduyar
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Lindskog, Veres Lajos, Vincent Batts, WaLyong Cho, Wieland
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Hoffmann, Zbigniew Jędrzejewski-Szmek
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering -- Berlin, 2015-02-16
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart PoetteringCHANGES WITH 218:
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * When querying unit file enablement status (for example via
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering "systemctl is-enabled"), a new state "indirect" is now known
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering which indicates that a unit might not be enabled itself, but
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering another unit listed in its Alias= setting might be.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * Similar to the various existing ConditionXYZ= settings for
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering units there are now matching AssertXYZ= settings. While
ce1dde29b92d1399ce502e0f7db790a99d14841fThomas Hindoe Paaboel Andersen failing conditions cause a unit to be skipped, but its job
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering to succeed, failing assertions declared like this will cause
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering a unit start operation and its job to fail.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * hostnamed now knows a new chassis type "embedded".
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * systemctl gained a new "edit" command. When used on a unit
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering file this allows extending unit files with .d/ drop-in
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering configuration snippets or editing the full file (after
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering copying it from /usr/lib to /etc). This will invoke the
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering user's editor (as configured with $EDITOR), and reload the
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering modified configuration after editing.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * "systemctl status" now shows the suggested enablement state
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering for a unit, as declared in the (usually vendor-supplied)
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering system preset files.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * nss-myhostname will now resolve the single-label host name
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering "gateway" to the locally configured default IP routing
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering gateways, ordered by their metrics. This assigns a stable
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering name to the used gateways, regardless which ones are
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering currently configured. Note that the name will only be
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering resolved after all other name sources (if nss-myhostname is
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering configured properly) and should hence not negatively impact
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering systems that use the single-label host name "gateway" in
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering other contexts.
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * systemd-inhibit now allows filtering by mode when listing
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * Scope and service units gained a new "Delegate" boolean
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering property, which when set allows processes running inside the
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering unit to further partition resources. This is primarily
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering useful for systemd user instances as well as container
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * journald will now pick up audit messages directly from
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering the kernel, and log them like any other log message. The
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering audit fields are split up and fully indexed. This means that
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering journalctl in many ways is now a (nicer!) alternative to
3058e017fced6d5c8712e10c8c1477421bc1e960Thadeu Lima de Souza Cascardo ausearch, the traditional audit client. Note that this
3058e017fced6d5c8712e10c8c1477421bc1e960Thadeu Lima de Souza Cascardo implements only a minimal audit client, if you want the
3058e017fced6d5c8712e10c8c1477421bc1e960Thadeu Lima de Souza Cascardo special audit modes like reboot-on-log-overflow, please use
3058e017fced6d5c8712e10c8c1477421bc1e960Thadeu Lima de Souza Cascardo the traditional auditd instead, which can be used in
3058e017fced6d5c8712e10c8c1477421bc1e960Thadeu Lima de Souza Cascardo parallel to journald.
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * The ConditionSecurity= unit file option now understands the
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering special string "audit" to check whether auditing is
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * journalctl gained two new commands --vacuum-size= and
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering --vacuum-time= to delete old journal files until the
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering remaining ones take up no more the specified size on disk,
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering or are not older than the specified time.
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * A new, native PPPoE library has been added to sd-network,
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering systemd's library of light-weight networking protocols. This
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering library will be used in a future version of networkd to
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering enable PPPoE communication without an external pppd daemon.
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * The busctl tool now understands a new "capture" verb that
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering works similar to "monitor", but writes a packet capture
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering trace to STDOUT that can be redirected to a file which is
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering compatible with libcap's capture file format. This can then
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering be loaded in Wireshark and similar tools to inspect bus
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering communication.
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * The busctl tool now understands a new "tree" verb that shows
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering the object trees of a specific service on the bus, or of all
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * The busctl tool now understands a new "introspect" verb that
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering shows all interfaces and members of objects on the bus,
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering including their signature and values. This is particularly
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering useful to get more information about bus objects shown by
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering the new "busctl tree" command.
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * The busctl tool now understands new verbs "call",
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering "set-property" and "get-property" for invoking bus method
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering calls, setting and getting bus object properties in a
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers * busctl gained a new --augment-creds= argument that controls
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers whether the tool shall augment credential information it
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers gets from the bus with data from /proc, in a possibly
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers race-ful way.
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers * nspawn's --link-journal= switch gained two new values
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers "try-guest" and "try-host" that work like "guest" and
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers "host", but do not fail if the host has no persistent
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers journalling enabled. -j is now equivalent to
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers --link-journal=try-guest.
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt * macvlan network devices created by nspawn will now have
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers stable MAC addresses.
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers * A new SmackProcessLabel= unit setting has been added, which
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers controls the SMACK security label processes forked off by
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering the respective unit shall use.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * If compiled with --enable-xkbcommon, systemd-localed will
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering verify x11 keymap settings by compiling the given keymap. It
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering will spew out warnings if the compilation fails. This
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering requires libxkbcommon to be installed.
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt * When a coredump is collected a larger number of metadata
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering fields is now collected and included in the journal records
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering created for it. More specifically control group membership,
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering environment variables, memory maps, working directory,
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering chroot directory, /proc/$PID/status, and a list of open file
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering descriptors is now stored in the log entry.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * The udev hwdb now contains DPI information for mice. For
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering http://who-t.blogspot.de/2014/12/building-a-dpi-database-for-mice.html
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * All systemd programs that read standalone configuration
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering files in /etc now also support a corresponding series of
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering .conf.d configuration directories in /etc/, /run/,
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering /usr/local/lib/, /usr/lib/, and (if configured with
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering --enable-split-usr) /lib/. In particular, the following
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering configuration files now have corresponding configuration
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering directories: system.conf user.conf, logind.conf,
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering journald.conf, sleep.conf, bootchart.conf, coredump.conf,
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering resolved.conf, timesyncd.conf, journal-remote.conf, and
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering journal-upload.conf. Note that distributions should use the
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering configuration directories in /usr/lib/; the directories in
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering /etc/ are reserved for the system administrator.
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt * systemd-rfkill will no longer take the rfkill device name
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering into account when storing rfkill state on disk, as the name
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering might be dynamically assigned and not stable. Instead, the
c54bed5d515771c21250b8e0c052cb6600e21d37Mantas Mikulėnas ID_PATH udev variable combined with the rfkill type (wlan,
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering bluetooth, ...) is used.
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt * A new service systemd-machine-id-commit.service has been
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt added. When used on systems where /etc is read-only during
cd14eda3212f9109c98a77cd5fee4168010d80daLennart Poettering boot, and /etc/machine-id is not initialized (but an empty
ef392da6c56cdfff35265403192f051af257b3f8Ansgar Burchardt file), this service will copy the temporary machine ID
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt created as replacement into /etc after the system is fully
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering booted up. This is useful for systems that are freshly
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering installed with a non-initialized machine ID, but should get
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering a fixed machine ID for subsequent boots.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * networkd's .netdev files now provide a large set of
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering configuration parameters for VXLAN devices. Similar, the
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering bridge port cost parameter is now configurable in .network
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering files. There's also new support for configuring IP source
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering routing. networkd .link files gained support for a new
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering OriginalName= match that is useful to match against the
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering original interface name the kernel assigned. .network files
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt may include MTU= and MACAddress= fields for altering the MTU
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering and MAC address while being connected to a specific network
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * The LUKS logic gained supported for configuring
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering UUID-specific key files. There's also new support for naming
45df8656ebb1b0559a75993d1508fc61c2d39829Jan Engelhardt LUKS device from the kernel command line, using the new
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Timer units may now be transiently created via the bus API
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering (this was previously already available for scope and service
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering units). In addition it is now possible to create multiple
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering transient units at the same time with a single bus call. The
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering "systemd-run" tool has been updated to make use of this for
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering running commands on a specified time, in at(1)-style.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * tmpfiles gained support for "t" lines, for assigning
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering extended attributes to files. Among other uses this may be
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering used to assign SMACK labels to files.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Contributions from: Alin Rauta, Alison Chaiken, Andrej
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Manduch, Bastien Nocera, Chris Atkinson, Chris Leech, Chris
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Mayo, Colin Guthrie, Colin Walters, Cristian Rodríguez,
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Daniele Medri, Daniel Mack, Dan Williams, Dan Winship, Dave
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Reisner, David Herrmann, Didier Roche, Felipe Sateler, Gavin
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Li, Hans de Goede, Harald Hoyer, Iago López Galeiras, Ivan
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Shapovalov, Jakub Filak, Jan Janssen, Jan Synacek, Joe
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Lawrence, Josh Triplett, Kay Sievers, Lennart Poettering,
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Lukas Nykryn, Łukasz Stelmach, Maciej Wereski, Mantas
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Mikulėnas, Marcel Holtmann, Martin Pitt, Maurizio Lombardi,
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Michael Biebl, Michael Chapman, Michael Marineau, Michal
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Schmidt, Michal Sekletar, Olivier Brunel, Patrik Flykt, Peter
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Hutterer, Przemyslaw Kedzierski, Rami Rosen, Ray Strode,
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt Richard Schütz, Richard W.M. Jones, Ronny Chevalier, Ross
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Lagerwall, Sean Young, Stanisław Pitucha, Susant Sahani,
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Thomas Haller, Thomas Hindoe Paaboel Andersen, Tom Gundersen,
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Torstein Husebø, Umut Tezduyar Lindskog, Vicente Olivert
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Riera, WaLyong Cho, Wesley Dawson, Zbigniew Jędrzejewski-Szmek
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering -- Berlin, 2014-12-10
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart PoetteringCHANGES WITH 217:
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * journalctl gained the new options -t/--identifier= to match
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering on the syslog identifier (aka "tag"), as well as --utc to
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering show log timestamps in the UTC timezone. journalctl now also
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering accepts -n/--lines=all to disable line capping in a pager.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * journalctl gained a new switch, --flush, that synchronously
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering flushes logs from /run/log/journal to /var/log/journal if
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering persistent storage is enabled. systemd-journal-flush.service
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering now waits until the operation is complete.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Services can notify the manager before they start a reload
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering (by sending RELOADING=1) or shutdown (by sending
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering STOPPING=1). This allows the manager to track and show the
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering internal state of daemons and closes a race condition when
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering the process is still running but has closed its D-Bus
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Services with Type=oneshot do not have to have any ExecStart
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering commands anymore.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * User units are now loaded also from
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering $XDG_RUNTIME_DIR/systemd/user/. This is similar to the
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering /run/systemd/user directory that was already previously
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering supported, but is under the control of the user.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Job timeouts (i.e. time-outs on the time a job that is
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering queued stays in the run queue) can now optionally result in
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering immediate reboot or power-off actions (JobTimeoutAction= and
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering JobTimeoutRebootArgument=). This is useful on ".target"
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering units, to limit the maximum time a target remains
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering undispatched in the run queue, and to trigger an emergency
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt operation in such a case. This is now used by default to
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt turn off the system if boot-up (as defined by everything in
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt basic.target) hangs and does not complete for at least
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering 15min. Also, if power-off or reboot hang for at least 30min
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering an immediate power-off/reboot operation is triggered. This
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering functionality is particularly useful to increase reliability
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering on embedded devices, but also on laptops which might
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering accidentally get powered on when carried in a backpack and
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering whose boot stays stuck in a hard disk encryption passphrase
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * systemd-logind can be configured to also handle lid switch
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt events even when the machine is docked or multiple displays
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering are attached (HandleLidSwitchDocked= option).
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * A helper binary and a service have been added which can be
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering used to resume from hibernation in the initramfs. A
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering generator will parse the resume= option on the kernel
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering command line to trigger resume.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * A user console daemon systemd-consoled has been
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering added. Currently, it is a preview, and will so far open a
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering single terminal on each session of the user marked as
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Desktop=systemd-console.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Route metrics can be specified for DHCP routes added by
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt systemd-networkd.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * The SELinux context of socket-activated services can be set
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering from the information provided by the networking stack
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering (SELinuxContextFromNet= option).
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Userspace firmware loading support has been removed and
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering the minimum supported kernel version is thus bumped to 3.7.
4c0d13bdd5ef971a3003899064af1717c8960beeLennart Poettering * Timeout for udev workers has been increased from 1 to 3
4c0d13bdd5ef971a3003899064af1717c8960beeLennart Poettering minutes, but a warning will be printed after 1 minute to
4c0d13bdd5ef971a3003899064af1717c8960beeLennart Poettering help diagnose kernel modules that take a long time to load.
dc1d6c02fcf55bb7dac918d0ed3bd3e2a3d67525Lennart Poettering * Udev rules can now remove tags on devices with TAG-="foobar".
dc1d6c02fcf55bb7dac918d0ed3bd3e2a3d67525Lennart Poettering * systemd's readahead implementation has been removed. In many
dc1d6c02fcf55bb7dac918d0ed3bd3e2a3d67525Lennart Poettering circumstances it didn't give expected benefits even for
dc1d6c02fcf55bb7dac918d0ed3bd3e2a3d67525Lennart Poettering rotational disk drives and was becoming less relevant in the
dc1d6c02fcf55bb7dac918d0ed3bd3e2a3d67525Lennart Poettering age of SSDs. As none of the developers has been using
dc1d6c02fcf55bb7dac918d0ed3bd3e2a3d67525Lennart Poettering rotating media anymore, and nobody stepped up to actively
dc1d6c02fcf55bb7dac918d0ed3bd3e2a3d67525Lennart Poettering maintain this component of systemd it has now been removed.
dc1d6c02fcf55bb7dac918d0ed3bd3e2a3d67525Lennart Poettering * Swap units can use Options= to specify discard options.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering Discard options specified for swaps in /etc/fstab are now
69beda1f75070b36d0562e4050cd567bf2da5a87Kay Sievers * Docker containers are now detected as a separate type of
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering virtualization.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * The Password Agent protocol gained support for queries where
c9679c652b3c31f2510e8805d81630680ebc7e95Lennart Poettering the user input is shown, useful e.g. for user names.
c9679c652b3c31f2510e8805d81630680ebc7e95Lennart Poettering systemd-ask-password gained a new --echo option to turn that
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * The default sysctl.d/ snippets will now set:
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering This selects Fair Queuing Controlled Delay as the default
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering queuing discipline for network interfaces. fq_codel helps
69beda1f75070b36d0562e4050cd567bf2da5a87Kay Sievers fight the network bufferbloat problem. It is believed to be
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering a good default with no tuning required for most workloads.
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt Downstream distributions may override this choice. On 10Gbit
c9679c652b3c31f2510e8805d81630680ebc7e95Lennart Poettering servers that do not do forwarding, "fq" may perform better.
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt Systems without a good clocksource should use "pfifo_fast".
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * If kdbus is enabled during build a new option BusPolicy= is
69beda1f75070b36d0562e4050cd567bf2da5a87Kay Sievers available for service units, that allows locking all service
69beda1f75070b36d0562e4050cd567bf2da5a87Kay Sievers processes into a stricter bus policy, in order to limit
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering access to various bus services, or even hide most of them
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering from the service's view entirely.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * networkctl will now show the .network and .link file
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering networkd has applied to a specific interface.
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek * sd-login gained a new API call sd_session_get_desktop() to
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering query which desktop environment has been selected for a
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek * UNIX utmp support is now compile-time optional to support
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering legacy-free systems.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * systemctl gained two new commands "add-wants" and
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek "add-requires" for pulling in units from specific targets
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * If the word "rescue" is specified on the kernel command line
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering the system will now boot into rescue mode (aka
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering rescue.target), which was previously available only by
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek specifying "1" or "systemd.unit=rescue.target" on the kernel
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek command line. This new kernel command line option nicely
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek mirrors the already existing "emergency" kernel command line
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * New kernel command line options mount.usr=, mount.usrflags=,
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering mount.usrfstype= have been added that match root=, rootflags=,
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering rootfstype= but allow mounting a specific file system to
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * The $NOTIFY_SOCKET is now also passed to control processes of
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering services, not only the main process.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * This version reenables support for fsck's -l switch. This
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering means at least version v2.25 of util-linux is required for
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering operation, otherwise dead-locks on device nodes may
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering occur. Again: you need to update util-linux to at least
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering v2.25 when updating systemd to v217.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * The "multi-seat-x" tool has been removed from systemd, as
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering its functionality has been integrated into X servers 1.16,
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering and the tool is hence redundant. It is recommended to update
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering display managers invoking this tool to simply invoke X
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering directly from now on, again.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * Support for the new ALLOW_INTERACTIVE_AUTHORIZATION D-Bus
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering message flag has been added for all of systemd's PolicyKit
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering authenticated method calls has been added. In particular
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering this now allows optional interactive authorization via
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering PolicyKit for many of PID1's privileged operations such as
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering unit file enabling and disabling.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * "udevadm hwdb --update" learnt a new switch "--usr" for
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering placing the rebuilt hardware database in /usr instead of
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering /etc. When used only hardware database entries stored in
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering /usr will be used, and any user database entries in /etc are
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering ignored. This functionality is useful for vendors to ship a
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering pre-built database on systems where local configuration is
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering unnecessary or unlikely.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * Calendar time specifications in .timer units now also
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering understand the strings "semi-annually", "quarterly" and
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering "minutely" as shortcuts (in addition to the preexisting
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering "anually", "hourly", ...).
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * systemd-tmpfiles will now correctly create files in /dev
68dd0956ef9d607e6ff9aea15883a2c290a33c2aTom Gundersen at boot which are marked for creation only at boot. It is
68dd0956ef9d607e6ff9aea15883a2c290a33c2aTom Gundersen recommended to always create static device nodes with 'c!'
68dd0956ef9d607e6ff9aea15883a2c290a33c2aTom Gundersen and 'b!', so that they are created only at boot and not
68dd0956ef9d607e6ff9aea15883a2c290a33c2aTom Gundersen overwritten at runtime.
68dd0956ef9d607e6ff9aea15883a2c290a33c2aTom Gundersen * When the watchdog logic is used for a service (WatchdogSec=)
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering and the watchdog timeout is hit the service will now be
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek terminated with SIGABRT (instead of just SIGTERM), in order
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering to make sure a proper coredump and backtrace is
69beda1f75070b36d0562e4050cd567bf2da5a87Kay Sievers generated. This ensures that hanging services will result in
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering similar coredump/backtrace behaviour as services that hit a
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering segmentation fault.
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering Contributions from: Andreas Henriksson, Andrei Borzenkov,
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering Angus Gibson, Ansgar Burchardt, Ben Wolsieffer, Brandon L.
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt Black, Christian Hesse, Cristian Rodríguez, Daniel Buch,
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering Daniele Medri, Daniel Mack, Dan Williams, Dave Reisner, David
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering Herrmann, David Sommerseth, David Strauss, Emil Renner
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering Berthing, Eric Cook, Evangelos Foutras, Filipe Brandenburger,
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering Gustavo Sverzut Barbieri, Hans de Goede, Harald Hoyer, Hristo
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering Venev, Hugo Grostabussiat, Ivan Shapovalov, Jan Janssen, Jan
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering Synacek, Jonathan Liu, Juho Son, Karel Zak, Kay Sievers, Klaus
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering Purer, Koen Kooi, Lennart Poettering, Lukas Nykryn, Lukasz
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering Skalski, Łukasz Stelmach, Mantas Mikulėnas, Marcel Holtmann,
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering Marius Tessmann, Marko Myllynen, Martin Pitt, Michael Biebl,
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering Michael Marineau, Michael Olbrich, Michael Scherer, Michal
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering Schmidt, Michal Sekletar, Miroslav Lichvar, Patrik Flykt,
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering Philippe De Swert, Piotr Drąg, Rahul Sundaram, Richard
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering Weinberger, Robert Milasan, Ronny Chevalier, Ruben Kerkhof,
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering Santiago Vila, Sergey Ptashnick, Simon McVittie, Sjoerd
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering Simons, Stefan Brüns, Steven Allen, Steven Noonan, Susant
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering Sahani, Sylvain Plantefève, Thomas Hindoe Paaboel Andersen,
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering Timofey Titovets, Tobias Hunger, Tom Gundersen, Torstein
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering Husebø, Umut Tezduyar Lindskog, WaLyong Cho, Zbigniew
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering Jędrzejewski-Szmek
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering -- Berlin, 2014-10-28
8e7acf67b278e47cff0f849780365f8b1a824189Lennart PoetteringCHANGES WITH 216:
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * timedated no longer reads NTP implementation unit names from
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering /usr/lib/systemd/ntp-units.d/*.list. Alternative NTP
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering implementations should add a
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering to their unit files to take over and replace systemd's NTP
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering default functionality.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * systemd-sysusers gained a new line type "r" for configuring
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering which UID/GID ranges to allocate system users/groups
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering from. Lines of type "u" may now add an additional column
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering that specifies the home directory for the system user to be
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering created. Also, systemd-sysusers may now optionally read user
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering information from STDIN instead of a file. This is useful for
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering invoking it from RPM preinst scriptlets that need to create
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek users before the first RPM file is installed since these
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering files might need to be owned by them. A new
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering %sysusers_create_inline RPM macro has been introduced to do
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering just that. systemd-sysusers now updates the shadow files as
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering well as the user/group databases, which should enhance
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering compatibility with certain tools like grpck.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * A number of bus APIs of PID 1 now optionally consult
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering PolicyKit to permit access for otherwise unprivileged
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering clients under certain conditions. Note that this currently
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering doesn't support interactive authentication yet, but this is
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering expected to be added eventually, too.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * /etc/machine-info now has new fields for configuring the
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering deployment environment of the machine, as well as the
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering location of the machine. hostnamectl has been updated with
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering new command to update these fields.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * systemd-timesyncd has been updated to automatically acquire
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering NTP server information from systemd-networkd, which might
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering have been discovered via DHCP.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * systemd-resolved now includes a caching DNS stub resolver
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering and a complete LLMNR name resolution implementation. A new
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering NSS module "nss-resolve" has been added which can be used
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering instead of glibc's own "nss-dns" to resolve hostnames via
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering systemd-resolved. Hostnames, addresses and arbitrary RRs may
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering be resolved via systemd-resolved D-Bus APIs. In contrast to
70a44afee385c4afadaab9a002b3f9dd44aedf4aJan Engelhardt the glibc internal resolver systemd-resolved is aware of
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering multi-homed system, and keeps DNS server and caches separate
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering and per-interface. Queries are sent simultaneously on all
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering interfaces that have DNS servers configured, in order to
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering properly handle VPNs and local LANs which might resolve
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering separate sets of domain names. systemd-resolved may acquire
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering DNS server information from systemd-networkd automatically,
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering which in turn might have discovered them via DHCP. A tool
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering "systemd-resolve-host" has been added that may be used to
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering query the DNS logic in resolved. systemd-resolved implements
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering IDNA and automatically uses IDNA or UTF-8 encoding depending
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering on whether classic DNS or LLMNR is used as transport. In the
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering next releases we intend to add a DNSSEC and mDNS/DNS-SD
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering implementation to systemd-resolved.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * A new NSS module nss-mymachines has been added, that
b8bde11658366290521e3d03316378b482600323Jan Engelhardt automatically resolves the names of all local registered
b8bde11658366290521e3d03316378b482600323Jan Engelhardt containers to their respective IP addresses.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * A new client tool "networkctl" for systemd-networkd has been
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering added. It currently is entirely passive and will query
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering networking configuration from udev, rtnetlink and networkd,
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering and present it to the user in a very friendly
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering way. Eventually, we hope to extend it to become a full
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering control utility for networkd.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * .socket units gained a new DeferAcceptSec= setting that
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering controls the kernels' TCP_DEFER_ACCEPT sockopt for
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering TCP. Similar, support for controlling TCP keep-alive
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering settings has been added (KeepAliveTimeSec=,
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering KeepAliveIntervalSec=, KeepAliveProbes=). Also, support for
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering turning off Nagle's algorithm on TCP has been added
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * logind learned a new session type "web", for use in projects
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering like Cockpit which register web clients as PAM sessions.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * timer units with at least one OnCalendar= setting will now
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering be started only after timer-sync.target has been
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering reached. This way they will not elapse before the system
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering clock has been corrected by a local NTP client or
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering similar. This is particular useful on RTC-less embedded
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering machines, that come up with an invalid system clock.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * systemd-nspawn's --network-veth= switch should now result in
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering stable MAC addresses for both the outer and the inner side
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * systemd-nspawn gained a new --volatile= switch for running
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering container instances with /etc or /var unpopulated.
b8bde11658366290521e3d03316378b482600323Jan Engelhardt * The kdbus client code has been updated to use the new Linux
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering 3.17 memfd subsystem instead of the old kdbus-specific one.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * systemd-networkd's DHCP client and server now support
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering FORCERENEW. There are also new configuration options to
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering configure the vendor client identifier and broadcast mode
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * systemd will no longer inform the kernel about the current
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering timezone, as this is necessarily incorrect and racy as the
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering kernel has no understanding of DST and similar
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering concepts. This hence means FAT timestamps will be always
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering considered UTC, similar to what Android is already
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering doing. Also, when the RTC is configured to the local time
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering (rather than UTC) systemd will never synchronize back to it,
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering as this might confuse Windows at a later boot.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * systemd-analyze gained a new command "verify" for offline
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering validation of unit files.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * systemd-networkd gained support for a couple of additional
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering settings for bonding networking setups. Also, the metric for
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering statically configured routes may now be configured. For
b8bde11658366290521e3d03316378b482600323Jan Engelhardt network interfaces where this is appropriate the peer IP
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering address may now be configured.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * systemd-networkd's DHCP client will no longer request
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering broadcasting by default, as this tripped up some networks.
b8bde11658366290521e3d03316378b482600323Jan Engelhardt For hardware where broadcast is required the feature should
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering be switched back on using RequestBroadcast=yes.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * systemd-networkd will now set up IPv4LL addresses (when
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt enabled) even if DHCP is configured successfully.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * udev will now default to respect network device names given
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering by the kernel when the kernel indicates that these are
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering predictable. This behavior can be tweaked by changing
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering NamePolicy= in the relevant .link file.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * A new library systemd-terminal has been added that
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering implements full TTY stream parsing and rendering. This
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering library is supposed to be used later on for implementing a
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering full userspace VT subsystem, replacing the current kernel
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering implementation.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * A new tool systemd-journal-upload has been added to push
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering journal data to a remote system running
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering systemd-journal-remote.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * journald will no longer forward all local data to another
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering running syslog daemon. This change has been made because
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering rsyslog (which appears to be the most commonly used syslog
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering implementation these days) no longer makes use of this, and
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering instead pulls the data out of the journal on its own. Since
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering forwarding the messages to a non-existent syslog server is
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering more expensive than we assumed we have now turned this
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering off. If you run a syslog server that is not a recent rsyslog
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering version, you have to turn this option on again
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering (ForwardToSyslog= in journald.conf).
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering * journald now optionally supports the LZ4 compressor for
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering larger journal fields. This compressor should perform much
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering better than XZ which was the previous default.
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering * machinectl now shows the IP addresses of local containers,
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering if it knows them, plus the interface name of the container.
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering * A new tool "systemd-escape" has been added that makes it
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering easy to escape strings to build unit names and similar.
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering * sd_notify() messages may now include a new ERRNO= field
f1721625e7145977ba705e169580f2eb0002600cNis Martensen which is parsed and collected by systemd and shown among the
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering "systemctl status" output for a service.
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering * A new component "systemd-firstboot" has been added that
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering queries the most basic systemd information (timezone,
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering hostname, root password) interactively on first
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering boot. Alternatively it may also be used to provision these
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering things offline on OS images installed into directories.
22e7062d749c69d7edfcd52ef7cc6ec005e862d5David Herrmann * The default sysctl.d/ snippets will now set
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering net.ipv4.conf.default.promote_secondaries=1
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering This has the benefit of no flushing secondary IP addresses
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering when primary addresses are removed.
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering Contributions from: Ansgar Burchardt, Bastien Nocera, Colin
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering Walters, Dan Dedrick, Daniel Buch, Daniel Korostil, Daniel
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering Mack, Dan Williams, Dave Reisner, David Herrmann, Denis
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering Kenzior, Eelco Dolstra, Eric Cook, Hannes Reinecke, Harald
b8bde11658366290521e3d03316378b482600323Jan Engelhardt Hoyer, Hong Shick Pak, Hui Wang, Jean-André Santoni, Jóhann
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering B. Guðmundsson, Jon Severinsson, Karel Zak, Kay Sievers, Kevin
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering Wells, Lennart Poettering, Lukas Nykryn, Mantas Mikulėnas,
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering Marc-Antoine Perennou, Martin Pitt, Michael Biebl, Michael
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering Marineau, Michael Olbrich, Michal Schmidt, Michal Sekletar,
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering Miguel Angel Ajo, Mike Gilbert, Olivier Brunel, Robert
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering Schiele, Ronny Chevalier, Simon McVittie, Sjoerd Simons, Stef
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering Walter, Steven Noonan, Susant Sahani, Tanu Kaskinen, Thomas
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering Blume, Thomas Hindoe Paaboel Andersen, Timofey Titovets,
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering Tobias Geerinckx-Rice, Tomasz Torcz, Tom Gundersen, Umut
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering Tezduyar Lindskog, Zbigniew Jędrzejewski-Szmek
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering -- Berlin, 2014-08-19
699b6b3491dc265ead79602404ad67ccdacae302Lennart PoetteringCHANGES WITH 215:
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering * A new tool systemd-sysusers has been added. This tool
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering creates system users and groups in /etc/passwd and
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering /etc/group, based on static declarative system user/group
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering definitions in /usr/lib/sysusers.d/. This is useful to
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering enable factory resets and volatile systems that boot up with
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering an empty /etc directory, and thus need system users and
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering groups created during early boot. systemd now also ships
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering with two default sysusers.d/ files for the most basic
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering users and groups systemd and the core operating system
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering * A new tmpfiles snippet has been added that rebuilds the
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering essential files in /etc on boot, should they be missing.
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering * A directive for ensuring automatic clean-up of
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering /var/cache/man/ has been removed from the default
4ef6e535e30c67d4ff34b2ca785e555dbaeac14eKay Sievers configuration. This line should now be shipped by the man
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering implementation. The necessary change has been made to the
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering man-db implementation. Note that you need to update your man
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering implementation to one that ships this line, otherwise no
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering automatic clean-up of /var/cache/man will take place.
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering * A new condition ConditionNeedsUpdate= has been added that
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering may conditionalize services to only run when /etc or /var
4ef6e535e30c67d4ff34b2ca785e555dbaeac14eKay Sievers are "older" than the vendor operating system resources in
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering /usr. This is useful for reconstructing or updating /etc
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering after an offline update of /usr or a factory reset, on the
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering next reboot. Services that want to run once after such an
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering update or reset should use this condition and order
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering themselves before the new systemd-update-done.service, which
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering will mark the two directories as fully updated. A number of
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering service files have been added making use of this, to rebuild
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering the udev hardware database, the journald message catalog and
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering dynamic loader cache (ldconfig). The systemd-sysusers tool
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering described above also makes use of this now. With this in
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering place it is now possible to start up a minimal operating
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering system with /etc empty cleanly. For more information on the
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering concepts involved see this recent blog story:
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering http://0pointer.de/blog/projects/stateless.html
4ef6e535e30c67d4ff34b2ca785e555dbaeac14eKay Sievers * A new system group "input" has been introduced, and all
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering input device nodes get this group assigned. This is useful
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering for system-level software to get access to input devices. It
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering complements what is already done for "audio" and "video".
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering * systemd-networkd learnt minimal DHCPv4 server support in
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering addition to the existing DHCPv4 client support. It also
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering learnt DHCPv6 client and IPv6 Router Solicitation client
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering support. The DHCPv4 client gained support for static routes
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering passed in from the server. Note that the [DHCPv4] section
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering known in older systemd-networkd versions has been renamed to
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering [DHCP] and is now also used by the DHCPv6 client. Existing
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering .network files using settings of this section should be
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering updated, though compatibility is maintained. Optionally, the
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering client hostname may now be sent to the DHCP server.
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering * networkd gained support for vxlan virtual networks as well
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering as tun/tap and dummy devices.
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering * networkd gained support for automatic allocation of address
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering ranges for interfaces from a system-wide pool of
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering addresses. This is useful for dynamically managing a large
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering number of interfaces with a single network configuration
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering file. In particular this is useful to easily assign
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering appropriate IP addresses to the veth links of a large number
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering of nspawn instances.
699b6b3491dc265ead79602404ad67ccdacae302Lennart Poettering * RPM macros for processing sysusers, sysctl and binfmt
13b28d822462e9a0a7130ad40bed08cb380082f0Lennart Poettering drop-in snippets at package installation time have been
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering * The /etc/os-release file should now be placed in
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering /usr/lib/os-release. The old location is automatically
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering created as symlink. /usr/lib is the more appropriate
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering location of this file, since it shall actually describe the
67dd87c51b1ba254dc6a0eeae41762aace40addaLennart Poettering vendor operating system shipped in /usr, and not the
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering configuration stored in /etc.
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering * .mount units gained a new boolean SloppyOptions= setting
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering that maps to mount(8)'s -s option which enables permissive
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering parsing of unknown mount options.
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering * tmpfiles learnt a new "L+" directive which creates a symlink
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering but (unlike "L") deletes a pre-existing file first, should
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering it already exist and not already be the correct
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering symlink. Similar, "b+", "c+" and "p+" directives have been
ed28905eecf631916f03edd0a7dfad8b0a177990Kay Sievers added as well, which create block and character devices, as
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering well as fifos in the filesystem, possibly removing any
b8bde11658366290521e3d03316378b482600323Jan Engelhardt pre-existing files of different types.
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering * For tmpfiles' "L", "L+", "C" and "C+" directives the final
ed28905eecf631916f03edd0a7dfad8b0a177990Kay Sievers 'argument' field (which so far specified the source to
b8bde11658366290521e3d03316378b482600323Jan Engelhardt symlink/copy the files from) is now optional. If omitted the
ed28905eecf631916f03edd0a7dfad8b0a177990Kay Sievers same file os copied from /usr/share/factory/ suffixed by the
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering full destination path. This is useful for populating /etc
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering with essential files, by copying them from vendor defaults
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering * A new command "systemctl preset-all" has been added that
d27893efdf652c6d85ea590fa0b7c2b88f817083Lennart Poettering applies the service preset settings to all installed unit
949138ccc3417748b0978980e4a1c67955dd4ba4Ansgar Burchardt files. A new switch --preset-mode= has been added that
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering controls whether only enable or only disable operations
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering shall be executed.
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering * A new command "systemctl is-system-running" has been added
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering that allows checking the overall state of the system, for
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering example whether it is fully up and running.
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering * When the system boots up with an empty /etc, the equivalent
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering to "systemctl preset-all" is executed during early boot, to
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering make sure all default services are enabled after a factory
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering * systemd now contains a minimal preset file that enables the
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering most basic services systemd ships by default.
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering * Unit files' [Install] section gained a new DefaultInstance=
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering field for defining the default instance to create if a
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering template unit is enabled with no instance specified.
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering * A new passive target cryptsetup-pre.target has been added
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering that may be used by services that need to make they run and
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering finish before the first LUKS cryptographic device is set up.
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering * The /dev/loop-control and /dev/btrfs-control device nodes
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering are now owned by the "disk" group by default, opening up
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering access to this group.
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering * systemd-coredump will now automatically generate a
b8bde11658366290521e3d03316378b482600323Jan Engelhardt stack trace of all core dumps taking place on the system,
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering based on elfutils' libdw library. This stack trace is logged
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering to the journal.
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering * systemd-coredump may now optionally store coredumps directly
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering on disk (in /var/lib/systemd/coredump, possibly compressed),
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering instead of storing them unconditionally in the journal. This
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering mode is the new default. A new configuration file
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering /etc/systemd/coredump.conf has been added to configure this
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering and other parameters of systemd-coredump.
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering * coredumpctl gained a new "info" verb to show details about a
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering specific coredump. A new switch "-1" has also been added
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering that makes sure to only show information about the most
b8bde11658366290521e3d03316378b482600323Jan Engelhardt recent entry instead of all entries. Also, as the tool is
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering generally useful now the "systemd-" prefix of the binary
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering name has been removed. Distributions that want to maintain
b8bde11658366290521e3d03316378b482600323Jan Engelhardt compatibility with the old name should add a symlink from
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering the old name to the new name.
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering * journald's SplitMode= now defaults to "uid". This makes sure
d27893efdf652c6d85ea590fa0b7c2b88f817083Lennart Poettering that unprivileged users can access their own coredumps with
d27893efdf652c6d85ea590fa0b7c2b88f817083Lennart Poettering coredumpctl without restrictions.
b8bde11658366290521e3d03316378b482600323Jan Engelhardt * New kernel command line options "systemd.wants=" (for
d27893efdf652c6d85ea590fa0b7c2b88f817083Lennart Poettering pulling an additional unit during boot), "systemd.mask="
d27893efdf652c6d85ea590fa0b7c2b88f817083Lennart Poettering (for masking a specific unit for the boot), and
b8bde11658366290521e3d03316378b482600323Jan Engelhardt "systemd.debug-shell" (for enabling the debug shell on tty9)
d27893efdf652c6d85ea590fa0b7c2b88f817083Lennart Poettering have been added. This is implemented in the new generator
d27893efdf652c6d85ea590fa0b7c2b88f817083Lennart Poettering "systemd-debug-generator".
ed28905eecf631916f03edd0a7dfad8b0a177990Kay Sievers * systemd-nspawn will now by default filter a couple of
d27893efdf652c6d85ea590fa0b7c2b88f817083Lennart Poettering syscalls for containers, among them those required for
d27893efdf652c6d85ea590fa0b7c2b88f817083Lennart Poettering kernel module loading, direct x86 IO port access, swap
d27893efdf652c6d85ea590fa0b7c2b88f817083Lennart Poettering management, and kexec. Most importantly though
13b28d822462e9a0a7130ad40bed08cb380082f0Lennart Poettering open_by_handle_at() is now prohibited for containers,
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering closing a hole similar to a recently discussed vulnerability
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering in docker regarding access to files on file hierarchies the
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering container should normally not have access to. Note that for
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering nspawn we generally make no security claims anyway (and
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering this is explicitly documented in the man page), so this is
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering just a fix for one of the most obvious problems.
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering * A new man page file-hierarchy(7) has been added that
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering contains a minimized, modernized version of the file system
43c71255b3db02916f4f70afa18bab196c6f4a45Lennart Poettering layout systemd expects, similar in style to the FHS
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering specification or hier(5). A new tool systemd-path(1) has
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering been added to query many of these paths for the local
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering machine and user.
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John * Automatic time-based clean-up of $XDG_RUNTIME_DIR is no
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John longer done. Since the directory now has a per-user size
4670e9d5f23fc39360c086fb58eadf8b157ee205Jan Engelhardt limit, and is cleaned on logout this appears unnecessary,
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John in particular since this now brings the lifecycle of this
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John directory closer in line with how IPC objects are handled.
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek * systemd.pc now exports a number of additional directories,
4670e9d5f23fc39360c086fb58eadf8b157ee205Jan Engelhardt including $libdir (which is useful to identify the library
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek path for the primary architecture of the system), and a
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek couple of drop-in directories.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * udev's predictable network interface names now use the dev_port
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt sysfs attribute, introduced in linux 3.15 instead of dev_id to
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering distinguish between ports of the same PCI function. dev_id should
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering only be used for ports using the same HW address, hence the need
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt for dev_port.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * machined has been updated to export the OS version of a
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering container (read from /etc/os-release and
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering /usr/lib/os-release) on the bus. This is now shown in
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John "machinectl status" for a machine.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * A new service setting RestartForceExitStatus= has been
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering added. If configured to a set of exit signals or process
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering return values, the service will be restarted when the main
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt daemon process exits with any of them, regardless of the
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Restart= setting.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * systemctl's -H switch for connecting to remote systemd
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering machines has been extended so that it may be used to
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John directly connect to a specific container on the
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt host. "systemctl -H root@foobar:waldi" will now connect as
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John user "root" to host "foobar", and then proceed directly to
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering the container named "waldi". Note that currently you have to
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering authenticate as user "root" for this to work, as entering
dfb08b058401d56c395f4f2d20ff214d31a277e5Zbigniew Jędrzejewski-Szmek containers is a privileged operation.
dfb08b058401d56c395f4f2d20ff214d31a277e5Zbigniew Jędrzejewski-Szmek Contributions from: Andreas Henriksson, Benjamin Steinwender,
dfb08b058401d56c395f4f2d20ff214d31a277e5Zbigniew Jędrzejewski-Szmek Carl Schaefer, Christian Hesse, Colin Ian King, Cristian
dfb08b058401d56c395f4f2d20ff214d31a277e5Zbigniew Jędrzejewski-Szmek Rodríguez, Daniel Mack, Dave Reisner, David Herrmann, Eugene
dfb08b058401d56c395f4f2d20ff214d31a277e5Zbigniew Jędrzejewski-Szmek Yakubovich, Filipe Brandenburger, Frederic Crozat, Hristo
dfb08b058401d56c395f4f2d20ff214d31a277e5Zbigniew Jędrzejewski-Szmek Venev, Jan Engelhardt, Jonathan Boulle, Kay Sievers, Lennart
dfb08b058401d56c395f4f2d20ff214d31a277e5Zbigniew Jędrzejewski-Szmek Poettering, Luke Shumaker, Mantas Mikulėnas, Marc-Antoine
dfb08b058401d56c395f4f2d20ff214d31a277e5Zbigniew Jędrzejewski-Szmek Perennou, Marcel Holtmann, Michael Marineau, Michael Olbrich,
dfb08b058401d56c395f4f2d20ff214d31a277e5Zbigniew Jędrzejewski-Szmek Michał Bartoszkiewicz, Michal Sekletar, Patrik Flykt, Ronan Le
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Martret, Ronny Chevalier, Ruediger Oertel, Steven Noonan,
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt Susant Sahani, Thadeu Lima de Souza Cascardo, Thomas Hindoe
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Paaboel Andersen, Tom Gundersen, Tom Hirst, Umut Tezduyar
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Lindskog, Uoti Urpala, Zbigniew Jędrzejewski-Szmek
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering -- Berlin, 2014-07-03
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart PoetteringCHANGES WITH 214:
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * As an experimental feature, udev now tries to lock the
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering disk device node (flock(LOCK_SH|LOCK_NB)) while it
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering executes events for the disk or any of its partitions.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Applications like partitioning programs can lock the
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering disk device node (flock(LOCK_EX)) and claim temporary
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering device ownership that way; udev will entirely skip all event
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering handling for this disk and its partitions. If the disk
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering was opened for writing, the close will trigger a partition
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering table rescan in udev's "watch" facility, and if needed
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering synthesize "change" events for the disk and all its partitions.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering This is now unconditionally enabled, and if it turns out to
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John cause major problems, we might turn it on only for specific
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering devices, or might need to disable it entirely. Device Mapper
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek devices are excluded from this logic.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * We temporarily dropped the "-l" switch for fsck invocations,
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering since they collide with the flock() logic above. util-linux
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering upstream has been changed already to avoid this conflict,
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering and we will readd "-l" as soon as util-linux with this
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering change has been released.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * The dependency on libattr has been removed. Since a long
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering time, the extended attribute calls have moved to glibc, and
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering libattr is thus unnecessary.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * Virtualization detection works without priviliges now. This
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering means the systemd-detect-virt binary no longer requires
b97610038a122ff30e60b1996369ca4b979d8b19Kay Sievers CAP_SYS_PTRACE file capabilities, and our daemons can run
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering with fewer privileges.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * systemd-networkd now runs under its own "systemd-network"
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering user. It retains the CAP_NET_ADMIN, CAP_NET_BIND_SERVICE,
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering CAP_NET_BROADCAST, CAP_NET_RAW capabilities though, but
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering loses the ability to write to files owned by root this way.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * Similar, systemd-resolved now runs under its own
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering "systemd-resolve" user with no capabilities remaining.
7e95eda5b36f4a5259e1e86989b5aee824d83d03Patrik Flykt * Similar, systemd-bus-proxyd now runs under its own
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering "systemd-bus-proxy" user with only CAP_IPC_OWNER remaining.
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt * systemd-networkd gained support for setting up "veth"
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John virtual ethernet devices for container connectivity, as well
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John as GRE and VTI tunnels.
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John * systemd-networkd will no longer automatically attempt to
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering manually load kernel modules necessary for certain tunnel
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering transports. Instead, it is assumed the kernel loads them
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering automatically when required. This only works correctly on
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering very new kernels. On older kernels, please consider adding
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering the kernel modules to /etc/modules-load.d/ as a work-around.
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John * The resolv.conf file systemd-resolved generates has been
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering moved to /run/systemd/resolve/. If you have a symlink from
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering /etc/resolv.conf, it might be necessary to correct it.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * Two new service settings, ProtectHome= and ProtectSystem=,
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering have been added. When enabled, they will make the user data
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering (such as /home) inaccessible or read-only and the system
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering (such as /usr) read-only, for specific services. This allows
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering very light-weight per-service sandboxing to avoid
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering modifications of user data or system files from
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering services. These two new switches have been enabled for all
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt of systemd's long-running services, where appropriate.
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John * Socket units gained new SocketUser= and SocketGroup=
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering settings to set the owner user and group of AF_UNIX sockets
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering and FIFOs in the file system.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * Socket units gained a new RemoveOnStop= setting. If enabled,
8e420494bc59d8b9d43e6d34d8ec8bb765946c74Lennart Poettering all FIFOS and sockets in the file system will be removed
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering when the specific socket unit is stopped.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * Socket units gained a new Symlinks= setting. It takes a list
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering of symlinks to create to file system sockets or FIFOs
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering created by the specific Unix sockets. This is useful to
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering manage symlinks to socket nodes with the same life-cycle as
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering the socket itself.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * The /dev/log socket and /dev/initctl FIFO have been moved to
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering /run, and have been replaced by symlinks. This allows
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering connecting to these facilities even if PrivateDevices=yes is
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering used for a service (which makes /dev/log itself unavailable,
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering but /run is left). This also has the benefit of ensuring
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering that /dev only contains device nodes, directories and
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering symlinks, and nothing else.
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John * sd-daemon gained two new calls sd_pid_notify() and
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering sd_pid_notifyf(). They are similar to sd_notify() and
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering sd_notifyf(), but allow overriding of the source PID of
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering notification messages if permissions permit this. This is
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering useful to send notify messages on behalf of a different
b97610038a122ff30e60b1996369ca4b979d8b19Kay Sievers process (for example, the parent process). The
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering systemd-notify tool has been updated to make use of this
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering when sending messages (so that notification messages now
270f1624022039b370b9db311f9d33492833ad24Lennart Poettering originate from the shell script invoking systemd-notify and
270f1624022039b370b9db311f9d33492833ad24Lennart Poettering not the systemd-notify process itself. This should minimize
8e420494bc59d8b9d43e6d34d8ec8bb765946c74Lennart Poettering a race where systemd fails to associate notification
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering messages to services when the originating process already
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek * A new "on-abnormal" setting for Restart= has been added. If
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering set, it will result in automatic restarts on all "abnormal"
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering reasons for a process to exit, which includes unclean
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering signals, core dumps, timeouts and watchdog timeouts, but
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering does not include clean and unclean exit codes or clean
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering signals. Restart=on-abnormal is an alternative for
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Restart=on-failure for services that shall be able to
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering terminate and avoid restarts on certain errors, by
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering indicating so with an unclean exit code. Restart=on-failure
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering or Restart=on-abnormal is now the recommended setting for
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering all long-running services.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * If the InaccessibleDirectories= service setting points to a
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering mount point (or if there are any submounts contained within
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek it), it is now attempted to completely unmount it, to make
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek the file systems truly unavailable for the respective
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * The ReadOnlyDirectories= service setting and
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek systemd-nspawn's --read-only parameter are now recursively
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek applied to all submounts, too.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * Mount units may now be created transiently via the bus APIs.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * The support for SysV and LSB init scripts has been removed
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering from the systemd daemon itself. Instead, it is now
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt implemented as a generator that creates native systemd units
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering from these scripts when needed. This enables us to remove a
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering substantial amount of legacy code from PID 1, following the
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering fact that many distributions only ship a very small number
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering of LSB/SysV init scripts nowadays.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * Privileged Xen (dom0) domains are not considered
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering virtualization anymore by the virtualization detection
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering logic. After all, they generally have unrestricted access to
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering the hardware and usually are used to manage the unprivileged
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering (domU) domains.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * systemd-tmpfiles gained a new "C" line type, for copying
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering files or entire directories.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * systemd-tmpfiles "m" lines are now fully equivalent to "z"
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering lines. So far, they have been non-globbing versions of the
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering latter, and have thus been redundant. In future, it is
8e420494bc59d8b9d43e6d34d8ec8bb765946c74Lennart Poettering recommended to only use "z". "m" has hence been removed
8e420494bc59d8b9d43e6d34d8ec8bb765946c74Lennart Poettering from the documentation, even though it stays supported.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * A tmpfiles snippet to recreate the most basic structure in
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering /var has been added. This is enough to create the /var/run →
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering /run symlink and create a couple of structural
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering directories. This allows systems to boot up with an empty or
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek volatile /var. Of course, while with this change, the core OS
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering now is capable with dealing with a volatile /var, not all
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering user services are ready for it. However, we hope that sooner
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering or later, many service daemons will be changed upstream so
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt that they are able to automatically create their necessary
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering directories in /var at boot, should they be missing. This is
4670e9d5f23fc39360c086fb58eadf8b157ee205Jan Engelhardt the first step to allow state-less systems that only require
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek the vendor image for /usr to boot.
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek * systemd-nspawn has gained a new --tmpfs= switch to mount an
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek empty tmpfs instance to a specific directory. This is
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering particularly useful for making use of the automatic
c0c5af00bec95567435bdfb818c69b2b669adfedDaniel Buch reconstruction of /var (see above), by passing --tmpfs=/var.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * Access modes specified in tmpfiles snippets may now be
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt prefixed with "~", which indicates that they shall be masked
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt by whether the existing file or directory is currently
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt writable, readable or executable at all. Also, if specified,
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering the sgid/suid/sticky bits will be masked for all
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John non-directories.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * A new passive target unit "network-pre.target" has been
6300b3eca9e5261b73bd7f1bb9735992b127cd80Lennart Poettering added which is useful for services that shall run before any
6300b3eca9e5261b73bd7f1bb9735992b127cd80Lennart Poettering network is configured, for example firewall scripts.
6300b3eca9e5261b73bd7f1bb9735992b127cd80Lennart Poettering * The "floppy" group that previously owned the /dev/fd*
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John devices is no longer used. The "disk" group is now used
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John instead. Distributions should probably deprecate usage of
6300b3eca9e5261b73bd7f1bb9735992b127cd80Lennart Poettering Contributions from: Camilo Aguilar, Christian Hesse, Colin Ian
6300b3eca9e5261b73bd7f1bb9735992b127cd80Lennart Poettering King, Cristian Rodríguez, Daniel Buch, Dave Reisner, David
6300b3eca9e5261b73bd7f1bb9735992b127cd80Lennart Poettering Strauss, Denis Tikhomirov, John, Jonathan Liu, Kay Sievers,
6300b3eca9e5261b73bd7f1bb9735992b127cd80Lennart Poettering Lennart Poettering, Mantas Mikulėnas, Mark Eichin, Ronny
6300b3eca9e5261b73bd7f1bb9735992b127cd80Lennart Poettering Chevalier, Susant Sahani, Thomas Blume, Thomas Hindoe Paaboel
6300b3eca9e5261b73bd7f1bb9735992b127cd80Lennart Poettering Andersen, Tom Gundersen, Umut Tezduyar Lindskog, Zbigniew
6300b3eca9e5261b73bd7f1bb9735992b127cd80Lennart Poettering Jędrzejewski-Szmek
6300b3eca9e5261b73bd7f1bb9735992b127cd80Lennart Poettering -- Berlin, 2014-06-11
6300b3eca9e5261b73bd7f1bb9735992b127cd80Lennart PoetteringCHANGES WITH 213:
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt * A new "systemd-timesyncd" daemon has been added for
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering synchronizing the system clock across the network. It
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering implements an SNTP client. In contrast to NTP
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering implementations such as chrony or the NTP reference server,
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John this only implements a client side, and does not bother with
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering the full NTP complexity, focusing only on querying time from
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John one remote server and synchronizing the local clock to
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John it. Unless you intend to serve NTP to networked clients or
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John want to connect to local hardware clocks, this simple NTP
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt client should be more than appropriate for most
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering installations. The daemon runs with minimal privileges, and
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering has been hooked up with networkd to only operate when
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt network connectivity is available. The daemon saves the
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering current clock to disk every time a new NTP sync has been
ad42cf7308c45fb8a77c15b313f45361c5ea8fb5Kay Sievers acquired, and uses this to possibly correct the system clock
ad42cf7308c45fb8a77c15b313f45361c5ea8fb5Kay Sievers early at bootup, in order to accommodate for systems that
ad42cf7308c45fb8a77c15b313f45361c5ea8fb5Kay Sievers lack an RTC such as the Raspberry Pi and embedded devices,
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering and to make sure that time monotonically progresses on these
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John systems, even if it is not always correct. To make use of
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt this daemon, a new system user and group "systemd-timesync"
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt needs to be created on installation of systemd.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * The queue "seqnum" interface of libudev has been disabled, as
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John it was generally incompatible with device namespacing as
ad42cf7308c45fb8a77c15b313f45361c5ea8fb5Kay Sievers sequence numbers of devices go "missing" if the devices are
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John part of a different namespace.
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John * "systemctl list-timers" and "systemctl list-sockets" gained
ad42cf7308c45fb8a77c15b313f45361c5ea8fb5Kay Sievers a --recursive switch for showing units of these types also
ad42cf7308c45fb8a77c15b313f45361c5ea8fb5Kay Sievers for all local containers, similar in style to the already
ad42cf7308c45fb8a77c15b313f45361c5ea8fb5Kay Sievers supported --recursive switch for "systemctl list-units".
ad42cf7308c45fb8a77c15b313f45361c5ea8fb5Kay Sievers * A new RebootArgument= setting has been added for service
ad42cf7308c45fb8a77c15b313f45361c5ea8fb5Kay Sievers units, which may be used to specify a kernel reboot argument
ad42cf7308c45fb8a77c15b313f45361c5ea8fb5Kay Sievers to use when triggering reboots with StartLimitAction=.
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt * A new FailureAction= setting has been added for service
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering units which may be used to specify an operation to trigger
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering when a service fails. This works similarly to
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering StartLimitAction=, but unlike it, controls what is done
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering immediately rather than only after several attempts to
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering restart the service in question.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * hostnamed got updated to also expose the kernel name,
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt release, and version on the bus. This is useful for
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John executing commands like hostnamectl with the -H switch.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering systemd-analyze makes use of this to properly display
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering details when running non-locally.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * The bootchart tool can now show cgroup information in the
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering graphs it generates.
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John * The CFS CPU quota cgroup attribute is now exposed for
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering services. The new CPUQuota= switch has been added for this
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering which takes a percentage value. Setting this will have the
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek result that a service may never get more CPU time than the
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering specified percentage, even if the machine is otherwise idle.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * systemd-networkd learned IPIP and SIT tunnel support.
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek * LSB init scripts exposing a dependency on $network will now
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek get a dependency on network-online.target rather than simply
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering network.target. This should bring LSB handling closer to
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek what it was on SysV systems.
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek * A new fsck.repair= kernel option has been added to control
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering how fsck shall deal with unclean file systems at boot.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * The (.ini) configuration file parser will now silently
8e420494bc59d8b9d43e6d34d8ec8bb765946c74Lennart Poettering ignore sections whose name begins with "X-". This may be
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek used to maintain application-specific extension sections in unit
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * machined gained a new API to query the IP addresses of
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering registered containers. "machinectl status" has been updated
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John to show these addresses in its output.
8e420494bc59d8b9d43e6d34d8ec8bb765946c74Lennart Poettering * A new call sd_uid_get_display() has been added to the
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering sd-login APIs for querying the "primary" session of a
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering user. The "primary" session of the user is elected from the
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt user's sessions and generally a graphical session is
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt preferred over a text one.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * A minimal systemd-resolved daemon has been added. It
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering currently simply acts as a companion to systemd-networkd and
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John manages resolv.conf based on per-interface DNS
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering configuration, possibly supplied via DHCP. In the long run
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering we hope to extend this into a local DNSSEC enabled DNS and
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * The systemd-networkd-wait-online tool is now enabled by
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering default. It will delay network-online.target until a network
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering connection has been configured. The tool primarily integrates
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering with networkd, but will also make a best effort to make sense
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering of network configuration performed in some other way.
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John * Two new service options StartupCPUShares= and
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek StartupBlockIOWeight= have been added that work similarly to
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek CPUShares= and BlockIOWeight= however only apply during
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering system startup. This is useful to prioritize certain services
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering differently during bootup than during normal runtime.
b97610038a122ff30e60b1996369ca4b979d8b19Kay Sievers * hostnamed has been changed to prefer the statically
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John configured hostname in /etc/hostname (unless set to
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering 'localhost' or empty) over any dynamic one supplied by
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering dhcp. With this change, the rules for picking the hostname
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering match more closely the rules of other configuration settings
b97610038a122ff30e60b1996369ca4b979d8b19Kay Sievers where the local administrator's configuration in /etc always
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering overrides any other settings.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Contributions fron: Ali H. Caliskan, Alison Chaiken, Bas van
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering den Berg, Brandon Philips, Cristian Rodríguez, Daniel Buch,
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Dan Kilman, Dave Reisner, David Härdeman, David Herrmann,
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering David Strauss, Dimitris Spingos, Djalal Harouni, Eelco
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Dolstra, Evan Nemerson, Florian Albrechtskirchinger, Greg
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Kroah-Hartman, Harald Hoyer, Holger Hans Peter Freyther, Jan
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Engelhardt, Jani Nikula, Jason St. John, Jeffrey Clark,
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Jonathan Boulle, Kay Sievers, Lennart Poettering, Lukas
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Nykryn, Lukasz Skalski, Łukasz Stelmach, Mantas Mikulėnas,
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Marcel Holtmann, Martin Pitt, Matthew Monaco, Michael
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Marineau, Michael Olbrich, Michal Sekletar, Mike Gilbert, Nis
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek Martensen, Patrik Flykt, Philip Lorenz, poma, Ray Strode,
8e420494bc59d8b9d43e6d34d8ec8bb765946c74Lennart Poettering Reyad Attiyat, Robert Milasan, Scott Thrasher, Stef Walter,
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Steven Siloti, Susant Sahani, Tanu Kaskinen, Thomas Bächler,
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Thomas Hindoe Paaboel Andersen, Tom Gundersen, Umut Tezduyar
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering Lindskog, WaLyong Cho, Will Woods, Zbigniew
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John Jędrzejewski-Szmek
1e190502e78cea1f8bcb62e6d390305c89e41e6aZbigniew Jędrzejewski-Szmek -- Beijing, 2014-05-28
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart PoetteringCHANGES WITH 212:
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt * When restoring the screen brightness at boot, stay away from
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John the darkest setting or from the lowest 5% of the available
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John range, depending on which is the larger value of both. This
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John should effectively protect the user from rebooting into a
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering black screen, should the brightness have been set to minimum
70a44afee385c4afadaab9a002b3f9dd44aedf4aJan Engelhardt * sd-login gained a new sd_machine_get_class() call to
b8bde11658366290521e3d03316378b482600323Jan Engelhardt determine the class ("vm" or "container") of a machine
b8bde11658366290521e3d03316378b482600323Jan Engelhardt registered with machined.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * sd-login gained new calls
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering sd_peer_get_{session,owner_uid,unit,user_unit,slice,machine_name}(),
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering to query the identity of the peer of a local AF_UNIX
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering connection. They operate similarly to their sd_pid_get_xyz()
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * PID 1 will now maintain a system-wide system state engine
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering with the states "starting", "running", "degraded",
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering "maintenance", "stopping". These states are bound to system
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering startup, normal runtime, runtime with at least one failed
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering service, rescue/emergency mode and system shutdown. This
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John state is shown in the "systemctl status" output when no unit
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John name is passed. It is useful to determine system state, in
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering particularly when doing so for many systems or containers at
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * A new command "list-machines" has been added to "systemctl"
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering that lists all local OS containers and shows their system
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering state (see above), if systemd runs inside of them.
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt * systemctl gained a new "-r" switch to recursively enumerate
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John units on all local containers, when used with the
b8bde11658366290521e3d03316378b482600323Jan Engelhardt "list-unit" command (which is the default one that is
b8bde11658366290521e3d03316378b482600323Jan Engelhardt executed when no parameters are specified).
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * The GPT automatic partition discovery logic will now honour
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering two GPT partition flags: one may be set on a partition to
4c2413bffa7861bd3c4b3589c821ab7e0ac51c83Jan Engelhardt cause it to be mounted read-only, and the other may be set
8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875Jason St. John on a partition to ignore it during automatic discovery.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * Two new GPT type UUIDs have been added for automatic root
210054d76cf4d294533aa09256d375e33b52569fKay Sievers partition discovery, for 32-bit and 64-bit ARM. This is not
210054d76cf4d294533aa09256d375e33b52569fKay Sievers particularly useful for discovering the root directory on
210054d76cf4d294533aa09256d375e33b52569fKay Sievers these architectures during bare-metal boots (since UEFI is
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering not common there), but still very useful to allow booting of
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering ARM disk images in nspawn with the -i option.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * MAC addresses of interfaces created with nspawn's
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering --network-interface= switch will now be generated from the
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering machine name, and thus be stable between multiple invocations
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering of the container.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * logind will now automatically remove all IPC objects owned
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering by a user if she or he fully logs out. This makes sure that
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering users who are logged out cannot continue to consume IPC
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering resources. This covers SysV memory, semaphores and message
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering queues as well as POSIX shared memory and message
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering queues. Traditionally, SysV and POSIX IPC had no life-cycle
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering limits. With this functionality, that is corrected. This may
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering be turned off by using the RemoveIPC= switch of logind.conf.
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * The systemd-machine-id-setup and tmpfiles tools gained a
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering --root= switch to operate on a specific root directory,
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering * journald can now forward logged messages to the TTYs of all
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering logged in users ("wall"). This is the default for all
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering emergency messages now.
6300b3eca9e5261b73bd7f1bb9735992b127cd80Lennart Poettering * A new tool systemd-journal-remote has been added to stream
e49b5aada0df13c9e8fce7338ae34e075dd7ccd1Lennart Poettering journal log messages across the network.
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering * /sys/fs/cgroup/ is now mounted read-only after all cgroup
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering controller trees are mounted into it. Note that the
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering directories mounted beneath it are not read-only. This is a
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering security measure and is particularly useful because glibc
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering actually includes a search logic to pick any tmpfs it can
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering find to implement shm_open() if /dev/shm is not available
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering (which it might very well be in namespaced setups).
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering * machinectl gained a new "poweroff" command to cleanly power
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering down a local OS container.
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering * The PrivateDevices= unit file setting will now also drop the
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering CAP_MKNOD capability from the capability bound set, and
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering imply DevicePolicy=closed.
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering * PrivateDevices=, PrivateNetwork= and PrivateTmp= is now used
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering comprehensively on all long-running systemd services where
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering this is appropriate.
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering * systemd-udevd will now run in a disassociated mount
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering namespace. To mount directories from udev rules, make sure to
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering pull in mount units via SYSTEMD_WANTS properties.
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering * The kdbus support gained support for uploading policy into
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering the kernel. sd-bus gained support for creating "monitoring"
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering connections that can eavesdrop into all bus communication
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt for debugging purposes.
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering * Timestamps may now be specified in seconds since the UNIX
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering epoch Jan 1st, 1970 by specifying "@" followed by the value
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt * Native tcpwrap support in systemd has been removed. tcpwrap
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering is old code, not really maintained anymore and has serious
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering shortcomings, and better options such as firewalls
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering exist. For setups that require tcpwrap usage, please
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering consider invoking your socket-activated service via tcpd,
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering like on traditional inetd.
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering * A new system.conf configuration option
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering DefaultTimerAccuracySec= has been added that controls the
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering default AccuracySec= setting of .timer units.
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering * Timer units gained a new WakeSystem= switch. If enabled,
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering timers configured this way will cause the system to resume
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering from system suspend (if the system supports that, which most
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering do these days).
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering * Timer units gained a new Persistent= switch. If enabled,
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering timers configured this way will save to disk when they have
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering been last triggered. This information is then used on next
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering reboot to possible execute overdue timer events, that
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering could not take place because the system was powered off.
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering This enables simple anacron-like behaviour for timer units.
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering * systemctl's "list-timers" will now also list the time a
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering timer unit was last triggered in addition to the next time
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering it will be triggered.
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering * systemd-networkd will now assign predictable IPv4LL
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering addresses to its local interfaces.
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering Contributions from: Brandon Philips, Daniel Buch, Daniel Mack,
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering Dave Reisner, David Herrmann, Gerd Hoffmann, Greg
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering Kroah-Hartman, Hendrik Brueckner, Jason St. John, Josh
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering Triplett, Kay Sievers, Lennart Poettering, Marc-Antoine
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering Perennou, Michael Marineau, Michael Olbrich, Miklos Vajna,
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering Patrik Flykt, poma, Sebastian Thorarensen, Thomas Bächler,
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering Thomas Hindoe Paaboel Andersen, Tomasz Torcz, Tom Gundersen,
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering Umut Tezduyar Lindskog, Wieland Hoffmann, Zbigniew
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering Jędrzejewski-Szmek
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering -- Berlin, 2014-03-25
cd4010b37349413db1e553e213e62e654ca28113Lennart PoetteringCHANGES WITH 211:
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering * A new unit file setting RestrictAddressFamilies= has been
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering added to restrict which socket address families unit
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering processes gain access to. This takes address family names
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering like "AF_INET" or "AF_UNIX", and is useful to minimize the
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering attack surface of services via exotic protocol stacks. This
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering is built on seccomp system call filters.
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering * Two new unit file settings RuntimeDirectory= and
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering RuntimeDirectoryMode= have been added that may be used to
cd4010b37349413db1e553e213e62e654ca28113Lennart Poettering manage a per-daemon runtime directories below /run. This is
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering an alternative for setting up directory permissions with
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering tmpfiles snippets, and has the advantage that the runtime
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering directory's lifetime is bound to the daemon runtime and that
f3a165b05d117b9a9657076fed6b265eb40d5ba3Kay Sievers the daemon starts up with an empty directory each time. This
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering is particularly useful when writing services that drop
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering privileges using the User= or Group= setting.
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering * The DeviceAllow= unit setting now supports globbing for
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering matching against device group names.
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering * The systemd configuration file system.conf gained new
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering settings DefaultCPUAccounting=, DefaultBlockIOAccounting=,
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering DefaultMemoryAccounting= to globally turn on/off accounting
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering for specific resources (cgroups) for all units. These
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering settings may still be overridden individually in each unit
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering * systemd-gpt-auto-generator is now able to discover /srv and
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering root partitions in addition to /home and swap partitions. It
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering also supports LUKS-encrypted partitions now. With this in
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering place, automatic discovery of partitions to mount following
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering the Discoverable Partitions Specification
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering (http://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec)
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering is now a lot more complete. This allows booting without
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering /etc/fstab and without root= on the kernel command line on
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering systems prepared appropriately.
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering * systemd-nspawn gained a new --image= switch which allows
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering booting up disk images and Linux installations on any block
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt device that follow the Discoverable Partitions Specification
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering (see above). This means that installations made with
f3a165b05d117b9a9657076fed6b265eb40d5ba3Kay Sievers appropriately updated installers may now be started and
f3a165b05d117b9a9657076fed6b265eb40d5ba3Kay Sievers deployed using container managers, completely
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering unmodified. (We hope that libvirt-lxc will add support for
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering this feature soon, too.)
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering * systemd-nspawn gained a new --network-macvlan= setting to
387abf80ad40e4a6c2f4725c8eff4d66bf110d1fLennart Poettering set up a private macvlan interface for the
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering container. Similarly, systemd-networkd gained a new
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering Kind=macvlan setting in .netdev files.
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering * systemd-networkd now supports configuring local addresses
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering * A new tool systemd-network-wait-online has been added to
f3a165b05d117b9a9657076fed6b265eb40d5ba3Kay Sievers synchronously wait for network connectivity using
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering systemd-networkd.
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering * The sd-bus.h bus API gained a new sd_bus_track object for
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering tracking the life-cycle of bus peers. Note that sd-bus.h is
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering still not a public API though (unless you specify
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering --enable-kdbus on the configure command line, which however
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering voids your warranty and you get no API stability guarantee).
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering * The $XDG_RUNTIME_DIR runtime directories for each user are
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering now individual tmpfs instances, which has the benefit of
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering introducing separate pools for each user, with individual
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering size limits, and thus making sure that unprivileged clients
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering can no longer negatively impact the system or other users by
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering filling up their $XDG_RUNTIME_DIR. A new logind.conf setting
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering RuntimeDirectorySize= has been introduced that allows
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering controlling the default size limit for all users. It
387abf80ad40e4a6c2f4725c8eff4d66bf110d1fLennart Poettering defaults to 10% of the available physical memory. This is no
387abf80ad40e4a6c2f4725c8eff4d66bf110d1fLennart Poettering replacement for quotas on tmpfs though (which the kernel
387abf80ad40e4a6c2f4725c8eff4d66bf110d1fLennart Poettering still does not support), as /dev/shm and /tmp are still
387abf80ad40e4a6c2f4725c8eff4d66bf110d1fLennart Poettering shared resources used by both the system and unprivileged
387abf80ad40e4a6c2f4725c8eff4d66bf110d1fLennart Poettering * logind will now automatically turn off automatic suspending
04bf3c1a60d82791e0320381e9268f727708f776Kay Sievers on laptop lid close when more than one display is
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering connected. This was previously expected to be implemented
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering individually in desktop environments (such as GNOME),
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering however has been added to logind now, in order to fix a
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering boot-time race where a desktop environment might not have
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering been started yet and thus not been able to take an inhibitor
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering lock at the time where logind already suspends the system
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering due to a closed lid.
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering * logind will now wait at least 30s after each system
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering suspend/resume cycle, and 3min after system boot before
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering suspending the system due to a closed laptop lid. This
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering should give USB docking stations and similar enough time to
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering be probed and configured after system resume and boot in
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering order to then act as suspend blocker.
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering * systemd-run gained a new --property= setting which allows
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering initialization of resource control properties (and others)
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering for the created scope or service unit. Example: "systemd-run
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering --property=BlockIOWeight=10 updatedb" may be used to run
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering updatedb at a low block IO scheduling weight.
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering * systemd-run's --uid=, --gid=, --setenv=, --setenv= switches
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering now also work in --scope mode.
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering * When systemd is compiled with kdbus support, basic support
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering for enforced policies is now in place. (Note that enabling
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering kdbus still voids your warranty and no API compatibility
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering promises are made.)
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering Contributions from: Andrey Borzenkov, Ansgar Burchardt, Armin
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering K., Daniel Mack, Dave Reisner, David Herrmann, Djalal Harouni,
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering Harald Hoyer, Henrik Grindal Bakken, Jasper St. Pierre, Kay
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering Sievers, Kieran Clancy, Lennart Poettering, Lukas Nykryn,
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering Mantas Mikulėnas, Marcel Holtmann, Mark Oteiza, Martin Pitt,
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering Mike Gilbert, Peter Rajnoha, poma, Samuli Suominen, Stef
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering Walter, Susant Sahani, Tero Roponen, Thomas Andersen, Thomas
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering Bächler, Thomas Hindoe Paaboel Andersen, Tomasz Torcz, Tom
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering Gundersen, Umut Tezduyar Lindskog, Uoti Urpala, Zachary Cook,
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering Zbigniew Jędrzejewski-Szmek
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering -- Berlin, 2014-03-12
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart PoetteringCHANGES WITH 210:
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering * systemd will now relabel /dev after loading the SMACK policy
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering according to SMACK rules.
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering * A new unit file option AppArmorProfile= has been added to
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering set the AppArmor profile for the processes of a unit.
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering * A new condition check ConditionArchitecture= has been added
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering to conditionalize units based on the system architecture, as
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering reported by uname()'s "machine" field.
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering * systemd-networkd now supports matching on the system
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering virtualization, architecture, kernel command line, host name
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering and machine ID.
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering * logind is now a lot more aggressive when suspending the
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering machine due to a closed laptop lid. Instead of acting only
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering on the lid close action, it will continuously watch the lid
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering status and act on it. This is useful for laptops where the
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering power button is on the outside of the chassis so that it can
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering be reached without opening the lid (such as the Lenovo
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering Yoga). On those machines, logind will now immediately
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt re-suspend the machine if the power button has been
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering accidentally pressed while the laptop was suspended and in a
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering backpack or similar.
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering * logind will now watch SW_DOCK switches and inhibit reaction
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering to the lid switch if it is pressed. This means that logind
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering will not suspend the machine anymore if the lid is closed
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering and the system is docked, if the laptop supports SW_DOCK
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering notifications via the input layer. Note that ACPI docking
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering stations do not generate this currently. Also note that this
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering logic is usually not fully sufficient and Desktop
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering Environments should take a lid switch inhibitor lock when an
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering external display is connected, as systemd will not watch
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering this on its own.
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering * nspawn will now make use of the devices cgroup controller by
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering default, and only permit creation of and access to the usual
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering API device nodes like /dev/null or /dev/random, as well as
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering access to (but not creation of) the pty devices.
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering * We will now ship a default .network file for
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering systemd-networkd that automatically configures DHCP for
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering network interfaces created by nspawn's --network-veth or
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering --network-bridge= switches.
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering * systemd will now understand the usual M, K, G, T suffixes
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering according to SI conventions (i.e. to the base 1000) when
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering referring to throughput and hardware metrics. It will stay
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering with IEC conventions (i.e. to the base 1024) for software
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering metrics, according to what is customary according to
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering Wikipedia. We explicitly document which base applies for
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering each configuration option.
408f281bc7d65c86563f46e99e07efd1a1d9e03aLennart Poettering * The DeviceAllow= setting in unit files now supports a syntax
28f5c779e5513ab1301ac103471009711b0961e0Kay Sievers to whitelist an entire group of devices node majors at once,
28f5c779e5513ab1301ac103471009711b0961e0Kay Sievers based on the /proc/devices listing. For example, with the
28f5c779e5513ab1301ac103471009711b0961e0Kay Sievers string "char-pts", it is now possible to whitelist all
28f5c779e5513ab1301ac103471009711b0961e0Kay Sievers current and future pseudo-TTYs at once.
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering * sd-event learned a new "post" event source. Event sources of
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering this type are triggered by the dispatching of any event
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering source of a type that is not "post". This is useful for
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering implementing clean-up and check event sources that are
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering triggered by other work being done in the program.
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering * systemd-networkd is no longer statically enabled, but uses
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering the usual [Install] sections so that it can be
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering enabled/disabled using systemctl. It still is enabled by
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering default however.
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering * When creating a veth interface pair with systemd-nspawn, the
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering host side will now be prefixed with "vb-" if
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering --network-bridge= is used, and with "ve-" if --network-veth
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering is used. This way, it is easy to distinguish these cases on
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering the host, for example to apply different configuration to
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering them with systemd-networkd.
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering * The compatibility libraries for libsystemd-journal.so,
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering libsystem-id128.so, libsystemd-login.so and
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering libsystemd-daemon.so do not make use of IFUNC
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering anymore. Instead, we now build libsystemd.so multiple times
251cc8194228ac86c9a7a4c75a54a94cea2095c7Lennart Poettering under these alternative names. This means that the footprint
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering is drastically increased, but given that these are
4f0be680b5323e037314cfbd3dba34f03e637c8fLennart Poettering transitional compatibility libraries, this should not matter
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering much. This change has been made necessary to support the ARM
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering platform for these compatibility libraries, as the ARM
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering toolchain is not really at the same level as the toolchain
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering for other architectures like x86 and does not support
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering IFUNC. Please make sure to use --enable-compat-libs only
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering during a transitional period!
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering Contributions from: Andreas Fuchs, Armin K., Colin Walters,
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering Daniel Mack, Dave Reisner, David Herrmann, Djalal Harouni,
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering Holger Schurig, Jason A. Donenfeld, Jason St. John, Jasper
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering St. Pierre, Kay Sievers, Lennart Poettering, Łukasz Stelmach,
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering Marcel Holtmann, Michael Scherer, Michal Sekletar, Mike
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering Gilbert, Samuli Suominen, Thomas Bächler, Thomas Hindoe
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering Paaboel Andersen, Tom Gundersen, Umut Tezduyar Lindskog,
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering Zbigniew Jędrzejewski-Szmek
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering -- Berlin, 2014-02-24
00aa832b948a27507c33e2157e46963852cffc85Lennart PoetteringCHANGES WITH 209:
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * A new component "systemd-networkd" has been added that can
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering be used to configure local network interfaces statically or
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering via DHCP. It is capable of bringing up bridges, VLANs, and
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering bonding. Currently, no hook-ups for interactive network
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering configuration are provided. Use this for your initrd,
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering container, embedded, or server setup if you need a simple,
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering yet powerful, network configuration solution. This
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering configuration subsystem is quite nifty, as it allows wildcard
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering hotplug matching in interfaces. For example, with a single
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering configuration snippet, you can configure that all Ethernet
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering interfaces showing up are automatically added to a bridge,
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering or similar. It supports link-sensing and more.
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * A new tool "systemd-socket-proxyd" has been added which can
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering act as a bidirectional proxy for TCP sockets. This is
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering useful for adding socket activation support to services that
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering do not actually support socket activation, including virtual
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering machines and the like.
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * Add a new tool to save/restore rfkill state on
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * Save/restore state of keyboard backlights in addition to
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering display backlights on shutdown/boot.
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * udev learned a new SECLABEL{} construct to label device
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering nodes with a specific security label when they appear. For
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering now, only SECLABEL{selinux} is supported, but the syntax is
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering prepared for additional security frameworks.
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * udev gained a new scheme to configure link-level attributes
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering from files in /etc/systemd/network/*.link. These files can
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering match against MAC address, device path, driver name and type,
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering and will apply attributes like the naming policy, link speed,
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering MTU, duplex settings, Wake-on-LAN settings, MAC address, MAC
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering address assignment policy (randomized, ...).
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * The configuration of network interface naming rules for
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering "permanent interface names" has changed: a new NamePolicy=
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering setting in the [Link] section of .link files determines the
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering priority of possible naming schemes (onboard, slot, mac,
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering path). The default value of this setting is determined by
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering 80-net-name-slot.rules udev configuration file has been
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering removed, so local configuration overriding this file should
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering be adapated to override 99-default.link instead.
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * When the User= switch is used in a unit file, also
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering initialize $SHELL= based on the user database entry.
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * systemd no longer depends on libdbus. All communication is
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering now done with sd-bus, systemd's low-level bus library
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering implementation.
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * kdbus support has been added to PID 1 itself. When kdbus is
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering enabled, this causes PID 1 to set up the system bus and
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering enable support for a new ".busname" unit type that
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering encapsulates bus name activation on kdbus. It works a little
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering bit like ".socket" units, except for bus names. A new
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering generator has been added that converts classic dbus1 service
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering activation files automatically into native systemd .busname
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering and .service units.
1fda0ab5fc9cf7454c8da32941e433dc38ba9991Zbigniew Jędrzejewski-Szmek * sd-bus: add a light-weight vtable implementation that allows
1fda0ab5fc9cf7454c8da32941e433dc38ba9991Zbigniew Jędrzejewski-Szmek defining objects on the bus with a simple static const
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering vtable array of its methods, signals and properties.
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * systemd will not generate or install static dbus
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering introspection data anymore to /usr/share/dbus-1/interfaces,
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering as the precise format of these files is unclear, and
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering nothing makes use of it.
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * A proxy daemon is now provided to proxy clients connecting
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek via classic D-Bus AF_UNIX sockets to kdbus, to provide full
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering compatibility with classic D-Bus.
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * A bus driver implementation has been added that supports the
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering classic D-Bus bus driver calls on kdbus, also for
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering compatibility purposes.
1fda0ab5fc9cf7454c8da32941e433dc38ba9991Zbigniew Jędrzejewski-Szmek * A new API "sd-event.h" has been added that implements a
1fda0ab5fc9cf7454c8da32941e433dc38ba9991Zbigniew Jędrzejewski-Szmek minimal event loop API built around epoll. It provides a
1fda0ab5fc9cf7454c8da32941e433dc38ba9991Zbigniew Jędrzejewski-Szmek couple of features that direct epoll usage is lacking:
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering prioritization of events, scales to large numbers of timer
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering events, per-event timer slack (accuracy), system-wide
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering coalescing of timer events, exit handlers, watchdog
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering supervision support using systemd's sd_notify() API, child
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering process handling.
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * A new API "sd-rntl.h" has been added that provides an API
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering around the route netlink interface of the kernel, similar in
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * A new API "sd-dhcp-client.h" has been added that provides a
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering small DHCPv4 client-side implementation. This is used by
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering "systemd-networkd".
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * There is a new kernel command line option
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering "systemd.restore_state=0|1". When set to "0", none of the
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering systemd tools will restore saved runtime state to hardware
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering devices. More specifically, the rfkill and backlight states
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering are not restored.
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * The FsckPassNo= compatibility option in mount/service units
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering has been removed. The fstab generator will now add the
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering necessary dependencies automatically, and does not require
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering PID1's support for that anymore.
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * journalctl gained a new switch, --list-boots, that lists
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering recent boots with their times and boot IDs.
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * The various tools like systemctl, loginctl, timedatectl,
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering busctl, systemd-run, ... have gained a new switch "-M" to
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering connect to a specific, local OS container (as direct
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering connection, without requiring SSH). This works on any
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering container that is registered with machined, such as those
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering created by libvirt-lxc or nspawn.
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering * systemd-run and systemd-analyze also gained support for "-H"
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering to connect to remote hosts via SSH. This is particularly
00aa832b948a27507c33e2157e46963852cffc85Lennart Poettering useful for systemd-run because it enables queuing of jobs
606c24e3bd41207c395f24a56bcfcad791e265a5Lennart Poettering onto remote systems.
606c24e3bd41207c395f24a56bcfcad791e265a5Lennart Poettering * machinectl gained a new command "login" to open a getty
606c24e3bd41207c395f24a56bcfcad791e265a5Lennart Poettering login in any local container. This works with any container
606c24e3bd41207c395f24a56bcfcad791e265a5Lennart Poettering that is registered with machined (such as those created by
606c24e3bd41207c395f24a56bcfcad791e265a5Lennart Poettering libvirt-lxc or nspawn), and which runs systemd inside.
606c24e3bd41207c395f24a56bcfcad791e265a5Lennart Poettering * machinectl gained a new "reboot" command that may be used to
606c24e3bd41207c395f24a56bcfcad791e265a5Lennart Poettering trigger a reboot on a specific container that is registered
606c24e3bd41207c395f24a56bcfcad791e265a5Lennart Poettering with machined. This works on any container that runs an init
606c24e3bd41207c395f24a56bcfcad791e265a5Lennart Poettering system of some kind.
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * systemctl gained a new "list-timers" command to print a nice
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering listing of installed timer units with the times they elapse
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * Alternative reboot() parameters may now be specified on the
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering "systemctl reboot" command line and are passed to the
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering reboot() system call.
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * systemctl gained a new --job-mode= switch to configure the
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering mode to queue a job with. This is a more generic version of
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering --fail, --irreversible, and --ignore-dependencies, which are
b82eed9af95668ab38cac33c7996e4d665f8709aLennart Poettering still available but not advertised anymore.
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * /etc/systemd/system.conf gained new settings to configure
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering various default timeouts of units, as well as the default
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering start limit interval and burst. These may still be overridden
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering within each Unit.
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * PID1 will now export on the bus profile data of the security
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering policy upload process (such as the SELinux policy upload to
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * journald: when forwarding logs to the console, include
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering timestamps (following the setting in
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * OnCalendar= in timer units now understands the special
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering strings "yearly" and "annually". (Both are equivalent)
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * The accuracy of timer units is now configurable with the new
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering AccuracySec= setting. It defaults to 1min.
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * A new dependency type JoinsNamespaceOf= has been added that
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering allows running two services within the same /tmp and network
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering namespace, if PrivateNetwork= or PrivateTmp= are used.
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * A new command "cat" has been added to systemctl. It outputs
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering the original unit file of a unit, and concatenates the
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering contents of additional "drop-in" unit file snippets, so that
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering the full configuration is shown.
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * systemctl now supports globbing on the various "list-xyz"
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering commands, like "list-units" or "list-sockets", as well as on
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering those commands which take multiple unit names.
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * journalctl's --unit= switch gained support for globbing.
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * All systemd daemons now make use of the watchdog logic so
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering that systemd automatically notices when they hang.
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * If the $container_ttys environment variable is set,
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering getty-generator will automatically spawn a getty for each
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering listed tty. This is useful for container managers to request
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering login gettys to be spawned on as many ttys as needed.
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * %h, %s, %U specifier support is not available anymore when
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering used in unit files for PID 1. This is because NSS calls are
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering not safe from PID 1. They stay available for --user
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering instances of systemd, and as special case for the root user.
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * loginctl gained a new "--no-legend" switch to turn off output
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering of the legend text.
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * The "sd-login.h" API gained three new calls:
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering sd_session_is_remote(), sd_session_get_remote_user(),
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering sd_session_get_remote_host() to query information about
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering remote sessions.
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * The udev hardware database now also carries vendor/product
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering information of SDIO devices.
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * The "sd-daemon.h" API gained a new sd_watchdog_enabled() to
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering determine whether watchdog notifications are requested by
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering the system manager.
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * Socket-activated per-connection services now include a
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering short description of the connection parameters in the
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering * tmpfiles gained a new "--boot" option. When this is not used,
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering only lines where the command character is not suffixed with
2f3fcf85c5fa6c9c483b31823a0efdd28914c756Lennart Poettering "!" are executed. When this option is specified, those
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering options are executed too. This partitions tmpfiles
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering directives into those that can be safely executed at any
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering time, and those which should be run only at boot (for
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering example, a line that creates /run/nologin).
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering * A new API "sd-resolve.h" has been added which provides a simple
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering asynchronous wrapper around glibc NSS host name resolution
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering calls, such as getaddrinfo(). In contrast to glibc's
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering getaddrinfo_a(), it does not use signals. In contrast to most
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering other asynchronous name resolution libraries, this one does
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering not reimplement DNS, but reuses NSS, so that alternate
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering host name resolution systems continue to work, such as mDNS,
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering LDAP, etc. This API is based on libasyncns, but it has been
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering cleaned up for inclusion in systemd.
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering * The APIs "sd-journal.h", "sd-login.h", "sd-id128.h",
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering "sd-daemon.h" are no longer found in individual libraries
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering libsystemd-journal.so, libsystemd-login.so,
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering libsystemd-id128.so, libsystemd-daemon.so. Instead, we have
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering merged them into a single library, libsystemd.so, which
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering provides all symbols. The reason for this is cyclic
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering dependencies, as these libraries tend to use each other's
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering symbols. So far, we have managed to workaround that by linking
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering a copy of a good part of our code into each of these
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering libraries again and again, which, however, makes certain
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering things hard to do, like sharing static variables. Also, it
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering substantially increases footprint. With this change, there
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering is only one library for the basic APIs systemd
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering provides. Also, "sd-bus.h", "sd-memfd.h", "sd-event.h",
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering "sd-rtnl.h", "sd-resolve.h", "sd-utf8.h" are found in this
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering library as well, however are subject to the --enable-kdbus
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering switch (see below). Note that "sd-dhcp-client.h" is not part
7c04ad2da1cf08ebf53b9aa9671c8c1dc9577135Lennart Poettering of this library (this is because it only consumes, never
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering provides, services of/to other APIs). To make the transition
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering easy from the separate libraries to the unified one, we
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering provide the --enable-compat-libs compile-time switch which
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering will generate stub libraries that are compatible with the
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering old ones but redirect all calls to the new one.
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering * All of the kdbus logic and the new APIs "sd-bus.h",
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering "sd-memfd.h", "sd-event.h", "sd-rtnl.h", "sd-resolve.h",
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering and "sd-utf8.h" are compile-time optional via the
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering "--enable-kdbus" switch, and they are not compiled in by
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering default. To make use of kdbus, you have to explicitly enable
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering the switch. Note however, that neither the kernel nor the
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering userspace API for all of this is considered stable yet. We
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering want to maintain the freedom to still change the APIs for
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering now. By specifying this build-time switch, you acknowledge
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering that you are aware of the instability of the current
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering * Also, note that while kdbus is pretty much complete,
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering it lacks one thing: proper policy support. This means you
cbeabcfbc5a5fa27385e5794780e8f034e090606Zbigniew Jędrzejewski-Szmek can build a fully working system with all features; however,
cbeabcfbc5a5fa27385e5794780e8f034e090606Zbigniew Jędrzejewski-Szmek it will be highly insecure. Policy support will be added in
cbeabcfbc5a5fa27385e5794780e8f034e090606Zbigniew Jędrzejewski-Szmek one of the next releases, at the same time that we will
cbeabcfbc5a5fa27385e5794780e8f034e090606Zbigniew Jędrzejewski-Szmek declare the APIs stable.
cbeabcfbc5a5fa27385e5794780e8f034e090606Zbigniew Jędrzejewski-Szmek * When the kernel command line argument "kdbus" is specified,
cbeabcfbc5a5fa27385e5794780e8f034e090606Zbigniew Jędrzejewski-Szmek systemd will automatically load the kdbus.ko kernel module. At
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering this stage of development, it is only useful for testing kdbus
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering and should not be used in production. Note: if "--enable-kdbus"
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering is specified, and the kdbus.ko kernel module is available, and
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering "kdbus" is added to the kernel command line, the entire system
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering runs with kdbus instead of dbus-daemon, with the above mentioned
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering problem of missing the system policy enforcement. Also a future
ef3b5246879094e29cc99c4d24cbfeb19b7da49bLennart Poettering version of kdbus.ko or a newer systemd will not be compatible with
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering each other, and will unlikely be able to boot the machine if only
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering one of them is updated.
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering * systemctl gained a new "import-environment" command which
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering uploads the caller's environment (or parts thereof) into the
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering service manager so that it is inherited by services started
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering by the manager. This is useful to upload variables like
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering $DISPLAY into the user service manager.
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering * A new PrivateDevices= switch has been added to service units
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering which allows running a service with a namespaced /dev
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering directory that does not contain any device nodes for
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering physical devices. More specifically, it only includes devices
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering such as /dev/null, /dev/urandom, and /dev/zero which are API
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering * logind has been extended to support behaviour like VT
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering switching on seats that do not support a VT. This makes
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering multi-session available on seats that are not the first seat
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering (seat0), and on systems where kernel support for VTs has
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering been disabled at compile-time.
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering * If a process holds a delay lock for system sleep or shutdown
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering and fails to release it in time, we will now log its
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering identity. This makes it easier to identify processes that
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering cause slow suspends or power-offs.
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering * When parsing /etc/crypttab, support for a new key-slot=
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering option as supported by Debian is added. It allows indicating
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering which LUKS slot to use on disk, speeding up key loading.
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering * The sd_journald_sendv() API call has been checked and
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering officially declared to be async-signal-safe so that it may
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering be invoked from signal handlers for logging purposes.
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering * Boot-time status output is now enabled automatically after a
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering short timeout if boot does not progress, in order to give
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering the user an indication what she or he is waiting for.
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering * The boot-time output has been improved to show how much time
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering remains until jobs expire.
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering * The KillMode= switch in service units gained a new possible
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering value "mixed". If set, and the unit is shut down, then the
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering initial SIGTERM signal is sent only to the main daemon
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering process, while the following SIGKILL signal is sent to
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering all remaining processes of the service.
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering * When a scope unit is registered, a new property "Controller"
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering may be set. If set to a valid bus name, systemd will send a
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering RequestStop() signal to this name when it would like to shut
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering down the scope. This may be used to hook manager logic into
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering the shutdown logic of scope units. Also, scope units may now
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering be put in a special "abandoned" state, in which case the
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt manager process which created them takes no further
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering responsibilities for it.
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering * When reading unit files, systemd will now verify
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering the access mode of these files, and warn about certain
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering suspicious combinations. This has been added to make it
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering easier to track down packaging bugs where unit files are
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering marked executable or world-writable.
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering * systemd-nspawn gained a new "--setenv=" switch to set
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering container-wide environment variables. The similar option in
d3a86981d1ae4c1d668e18868c3e6c9d2f23c144Lennart Poettering systemd-activate was renamed from "--environment=" to
9ca3c17f207121b3c19a44217558b056a7585944Lennart Poettering "--setenv=" for consistency.
9ca3c17f207121b3c19a44217558b056a7585944Lennart Poettering * systemd-nspawn has been updated to create a new kdbus domain
9ca3c17f207121b3c19a44217558b056a7585944Lennart Poettering for each container that is invoked, thus allowing each
9ca3c17f207121b3c19a44217558b056a7585944Lennart Poettering container to have its own set of system and user buses,
9ca3c17f207121b3c19a44217558b056a7585944Lennart Poettering independent of the host.
9ca3c17f207121b3c19a44217558b056a7585944Lennart Poettering * systemd-nspawn gained a new --drop-capability= switch to run
9ca3c17f207121b3c19a44217558b056a7585944Lennart Poettering the container with less capabilities than the default. Both
9ca3c17f207121b3c19a44217558b056a7585944Lennart Poettering --drop-capability= and --capability= now take the special
9ca3c17f207121b3c19a44217558b056a7585944Lennart Poettering string "all" for dropping or keeping all capabilities.
9ca3c17f207121b3c19a44217558b056a7585944Lennart Poettering * systemd-nspawn gained new switches for executing containers
9ca3c17f207121b3c19a44217558b056a7585944Lennart Poettering with specific SELinux labels set.
9ca3c17f207121b3c19a44217558b056a7585944Lennart Poettering * systemd-nspawn gained a new --quiet switch to not generate
9ca3c17f207121b3c19a44217558b056a7585944Lennart Poettering any additional output but the container's own console
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering * systemd-nspawn gained a new --share-system switch to run a
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering container without PID namespacing enabled.
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering * systemd-nspawn gained a new --register= switch to control
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering whether the container is registered with systemd-machined or
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering not. This is useful for containers that do not run full
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering OS images, but only specific apps.
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering * systemd-nspawn gained a new --keep-unit which may be used
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering when invoked as the only program from a service unit, and
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering results in registration of the unit service itself in
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering systemd-machined, instead of a newly opened scope unit.
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering * systemd-nspawn gained a new --network-interface= switch for
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering moving arbitrary interfaces to the container. The new
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering --network-veth switch creates a virtual Ethernet connection
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering between host and container. The new --network-bridge=
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering switch then allows assigning the host side of this virtual
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering Ethernet connection to a bridge device.
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering * systemd-nspawn gained a new --personality= switch for
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering setting the kernel personality for the container. This is
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering useful when running a 32-bit container on a 64-bit host. A
a87197f5a22688626dc9bead29ddc1c572b074b9Zbigniew Jędrzejewski-Szmek similar option Personality= is now also available for service
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering * logind will now also track a "Desktop" identifier for each
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering session which encodes the desktop environment of it. This is
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering useful for desktop environments that want to identify
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering multiple running sessions of itself easily.
a87197f5a22688626dc9bead29ddc1c572b074b9Zbigniew Jędrzejewski-Szmek * A new SELinuxContext= setting for service units has been
a87197f5a22688626dc9bead29ddc1c572b074b9Zbigniew Jędrzejewski-Szmek added that allows setting a specific SELinux execution
a87197f5a22688626dc9bead29ddc1c572b074b9Zbigniew Jędrzejewski-Szmek context for a service.
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering * Most systemd client tools will now honour $SYSTEMD_LESS for
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering settings of the "less" pager. By default, these tools will
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering override $LESS to allow certain operations to work, such as
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering jump-to-the-end. With $SYSTEMD_LESS, it is possible to
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering influence this logic.
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering * systemd's "seccomp" hook-up has been changed to make use of
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering the libseccomp library instead of using its own
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering implementation. This has benefits for portability among
6a7d3d68bf1ae9bcdaa3a17bc76f72bb7b988ec4Lennart Poettering * For usage together with SystemCallFilter=, a new
6a7d3d68bf1ae9bcdaa3a17bc76f72bb7b988ec4Lennart Poettering SystemCallErrorNumber= setting has been introduced that
a87197f5a22688626dc9bead29ddc1c572b074b9Zbigniew Jędrzejewski-Szmek allows configuration of a system error number to be returned
a87197f5a22688626dc9bead29ddc1c572b074b9Zbigniew Jędrzejewski-Szmek on filtered system calls, instead of immediately killing the
c20d8298029a39cc3e9602b30a4d23b951e11df8Kay Sievers process. Also, SystemCallArchitectures= has been added to
ab06eef8101866dd1337c4759002f7360a9db416Anatol Pomozov limit access to system calls of a particular architecture
c20d8298029a39cc3e9602b30a4d23b951e11df8Kay Sievers (in order to turn off support for unused secondary
c20d8298029a39cc3e9602b30a4d23b951e11df8Kay Sievers architectures). There is also a global
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering SystemCallArchitectures= setting in system.conf now to turn
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering off support for non-native system calls system-wide.
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering * systemd requires a kernel with a working name_to_handle_at(),
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering please see the kernel config requirements in the README file.
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering Contributions from: Adam Williamson, Alex Jia, Anatol Pomozov,
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering Ansgar Burchardt, AppleBloom, Auke Kok, Bastien Nocera,
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering Chengwei Yang, Christian Seiler, Colin Guthrie, Colin Walters,
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering Cristian Rodríguez, Daniel Buch, Daniele Medri, Daniel J
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Walsh, Daniel Mack, Dan McGee, Dave Reisner, David Coppa,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering David Herrmann, David Strauss, Djalal Harouni, Dmitry Pisklov,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Elia Pinto, Florian Weimer, George McCollister, Goffredo
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Baroncelli, Greg Kroah-Hartman, Hendrik Brueckner, Igor
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Zhbanov, Jan Engelhardt, Jan Janssen, Jason A. Donenfeld,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Jason St. John, Jasper St. Pierre, Jóhann B. Guðmundsson, Jose
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Ignacio Naranjo, Karel Zak, Kay Sievers, Kristian Høgsberg,
ad88e758d1b08a21d25971b074e119c167757109Zbigniew Jędrzejewski-Szmek Lennart Poettering, Lubomir Rintel, Lukas Nykryn, Lukasz
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Skalski, Łukasz Stelmach, Luke Shumaker, Mantas Mikulėnas,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Marc-Antoine Perennou, Marcel Holtmann, Marcos Felipe Rasia de
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Mello, Marko Myllynen, Martin Pitt, Matthew Monaco, Michael
40e21da873c120936faff0aa42a6533f6933edf7Kay Sievers Marineau, Michael Scherer, Michał Górny, Michal Sekletar,
40e21da873c120936faff0aa42a6533f6933edf7Kay Sievers Michele Curti, Oleksii Shevchuk, Olivier Brunel, Patrik Flykt,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Pavel Holica, Raudi, Richard Marko, Ronny Chevalier, Sébastien
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Luttringer, Sergey Ptashnick, Shawn Landden, Simon Peeters,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Stefan Beller, Susant Sahani, Sylvain Plantefeve, Sylvia Else,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Tero Roponen, Thomas Bächler, Thomas Hindoe Paaboel Andersen,
fd86897568f7a1aed7ffe4c54ace6c158ddbdf7dKay Sievers Tom Gundersen, Umut Tezduyar Lindskog, Unai Uribarri, Václav
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Pavlín, Vincent Batts, WaLyong Cho, William Giokas, Yang
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Zhiyong, Yin Kangkai, Yuxuan Shui, Zbigniew Jędrzejewski-Szmek
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering -- Berlin, 2014-02-20
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart PoetteringCHANGES WITH 208:
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * logind has gained support for facilitating privileged input
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering and drm device access for unprivileged clients. This work is
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering useful to allow Wayland display servers (and similar
156f7d09add8fc93cae8a3f13adcb2564931fee4Kay Sievers programs, such as kmscon) to run under the user's ID and
156f7d09add8fc93cae8a3f13adcb2564931fee4Kay Sievers access input and drm devices which are normally
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering protected. When this is used (and the kernel is new enough)
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering logind will "mute" IO on the file descriptors passed to
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Wayland as long as it is in the background and "unmute" it
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering if it returns into the foreground. This allows secure
40e21da873c120936faff0aa42a6533f6933edf7Kay Sievers session switching without allowing background sessions to
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering eavesdrop on input and display data. This also introduces
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering session switching support if VT support is turned off in the
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering kernel, and on seats that are not seat0.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * A new kernel command line option luks.options= is understood
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering now which allows specifying LUKS options for usage for LUKS
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering encrypted partitions specified with luks.uuid=.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * tmpfiles.d(5) snippets may now use specifier expansion in
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering path names. More specifically %m, %b, %H, %v, are now
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering replaced by the local machine id, boot id, hostname, and
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering kernel version number.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * A new tmpfiles.d(5) command "m" has been introduced which
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering may be used to change the owner/group/access mode of a file
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering or directory if it exists, but do nothing if it does not.
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering * This release removes high-level support for the
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering MemorySoftLimit= cgroup setting. The underlying kernel
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering cgroup attribute memory.soft_limit= is currently badly
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering designed and likely to be removed from the kernel API in its
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering current form, hence we should not expose it for now.
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering * The memory.use_hierarchy cgroup attribute is now enabled for
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering all cgroups systemd creates in the memory cgroup
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering hierarchy. This option is likely to be come the built-in
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering default in the kernel anyway, and the non-hierarchical mode
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering never made much sense in the intrinsically hierarchical
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering cgroup system.
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering * A new field _SYSTEMD_SLICE= is logged along with all journal
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering messages containing the slice a message was generated
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering from. This is useful to allow easy per-customer filtering of
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering logs among other things.
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering * systemd-journald will no longer adjust the group of journal
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering files it creates to the "systemd-journal" group. Instead we
40e21da873c120936faff0aa42a6533f6933edf7Kay Sievers rely on the journal directory to be owned by the
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering "systemd-journal" group, and its setgid bit set, so that the
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering kernel file system layer will automatically enforce that
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering journal files inherit this group assignment. The reason for
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering this change is that we cannot allow NSS look-ups from
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering journald which would be necessary to resolve
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering "systemd-journal" to a numeric GID, because this might
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering create deadlocks if NSS involves synchronous queries to
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering other daemons (such as nscd, or sssd) which in turn are
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek logging clients of journald and might block on it, which
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering would then dead lock. A tmpfiles.d(5) snippet included in
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering systemd will make sure the setgid bit and group are
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering properly set on the journal directory if it exists on every
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering boot. However, we recommend adjusting it manually after
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering upgrades too (or from RPM scriptlets), so that the change is
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering not delayed until next reboot.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * Backlight and random seed files in /var/lib/ have moved into
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering the /var/lib/systemd/ directory, in order to centralize all
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering systemd generated files in one directory.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * Boot time performance measurements (as displayed by
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering "systemd-analyze" for example) will now read ACPI 5.0 FPDT
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering performance information if that's available to determine how
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering much time BIOS and boot loader initialization required. With
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering a sufficiently new BIOS you hence no longer need to boot
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering with Gummiboot to get access to such information.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Contributions from: Andrey Borzenkov, Chen Jie, Colin Walters,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Cristian Rodríguez, Dave Reisner, David Herrmann, David
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Mackey, David Strauss, Eelco Dolstra, Evan Callicoat, Gao
40e21da873c120936faff0aa42a6533f6933edf7Kay Sievers feng, Harald Hoyer, Jimmie Tauriainen, Kay Sievers, Lennart
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering Poettering, Lukas Nykryn, Mantas Mikulėnas, Martin Pitt,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Michael Scherer, Michał Górny, Mike Gilbert, Patrick McCarty,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Sebastian Ott, Tom Gundersen, Zbigniew Jędrzejewski-Szmek
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering -- Berlin, 2013-10-02
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart PoetteringCHANGES WITH 207:
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering * The Restart= option for services now understands a new
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering on-watchdog setting, which will restart the service
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering automatically if the service stops sending out watchdog keep
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering alive messages (as configured with WatchdogSec=).
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * The getty generator (which is responsible for bringing up a
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering getty on configured serial consoles) will no longer only
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering start a getty on the primary kernel console but on all
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering others, too. This makes the order in which console= is
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering specified on the kernel command line less important.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * libsystemd-logind gained a new sd_session_get_vt() call to
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering retrieve the VT number of a session.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * If the option "tries=0" is set for an entry of /etc/crypttab
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering its passphrase is queried indefinitely instead of any
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek maximum number of tries.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * If a service with a configure PID file terminates its PID
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering file will now be removed automatically if it still exists
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering afterwards. This should put an end to stale PID files.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * systemd-run will now also take relative binary path names
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering for execution and no longer insists on absolute paths.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * InaccessibleDirectories= and ReadOnlyDirectories= now take
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering paths that are optionally prefixed with "-" to indicate that
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering it should not be considered a failure if they do not exist.
bf9335608821264163058a8b036a00775a8ffbe4Kay Sievers * journalctl -o (and similar commands) now understands a new
bf9335608821264163058a8b036a00775a8ffbe4Kay Sievers output mode "short-precise", it is similar to "short" but
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering shows timestamps with usec accuracy.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * The option "discard" (as known from Debian) is now
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering synonymous to "allow-discards" in /etc/crypttab. In fact,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering "discard" is preferred now (since it is easier to remember
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * Some licensing clean-ups were made, so that more code is now
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering LGPL-2.1 licensed than before.
40e21da873c120936faff0aa42a6533f6933edf7Kay Sievers * A minimal tool to save/restore the display backlight
40e21da873c120936faff0aa42a6533f6933edf7Kay Sievers brightness across reboots has been added. It will store the
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering backlight setting as late as possible at shutdown, and
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering restore it as early as possible during reboot.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * A logic to automatically discover and enable home and swap
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering partitions on GPT disks has been added. With this in place
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering /etc/fstab becomes optional for many setups as systemd can
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering discover certain partitions located on the root disk
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering automatically. Home partitions are recognized under their
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering GPT type ID 933ac7e12eb44f13b8440e14e2aef915. Swap
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering partitions are recognized under their GPT type ID
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering 0657fd6da4ab43c484e50933c84b4f4f.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * systemd will no longer pass any environment from the kernel
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering or initrd to system services. If you want to set an
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering environment for all services, do so via the kernel command
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering line systemd.setenv= assignment.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * The systemd-sysctl tool no longer natively reads the file
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering /etc/sysctl.conf. If desired, the file should be symlinked
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering from /etc/sysctl.d/99-sysctl.conf. Apart from providing
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering legacy support by a symlink rather than built-in code, it
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering also makes the otherwise hidden order of application of the
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering different files visible. (Note that this partly reverts to a
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering pre-198 application order of sysctl knobs!)
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * The "systemctl set-log-level" and "systemctl dump" commands
6aa8d43ade72e24c9426e604f7fc4b7582b9db7cLennart Poettering have been moved to systemd-analyze.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * systemd-run learned the new --remain-after-exit switch,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering which causes the scope unit not to be cleaned up
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering automatically after the process terminated.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * tmpfiles learned a new --exclude-prefix= switch to exclude
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering certain paths from operation.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * journald will now automatically flush all messages to disk
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering as soon as a message at the log level CRIT, ALERT or EMERG
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Contributions from: Andrew Cook, Brandon Philips, Christian
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Hesse, Christoph Junghans, Colin Walters, Daniel Schaal,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Daniel Wallace, Dave Reisner, David Herrmann, Gao feng, George
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering McCollister, Giovanni Campagna, Hannes Reinecke, Harald Hoyer,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Herczeg Zsolt, Holger Hans Peter Freyther, Jan Engelhardt,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Jesper Larsen, Kay Sievers, Khem Raj, Lennart Poettering,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Lukas Nykryn, Maciej Wereski, Mantas Mikulėnas, Marcel
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Holtmann, Martin Pitt, Michael Biebl, Michael Marineau,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering Michael Scherer, Michael Stapelberg, Michal Sekletar, Michał
43447fb72693d62363a1a271dacc70d400ed685bLennart Poettering Górny, Olivier Brunel, Ondrej Balaz, Ronny Chevalier, Shawn
43447fb72693d62363a1a271dacc70d400ed685bLennart Poettering Landden, Steven Hiscocks, Thomas Bächler, Thomas Hindoe
43447fb72693d62363a1a271dacc70d400ed685bLennart Poettering Paaboel Andersen, Tom Gundersen, Umut Tezduyar, WANG Chao,
43447fb72693d62363a1a271dacc70d400ed685bLennart Poettering William Giokas, Zbigniew Jędrzejewski-Szmek
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek -- Berlin, 2013-09-13
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart PoetteringCHANGES WITH 206:
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * The documentation has been updated to cover the various new
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering concepts introduced with 205.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * Unit files now understand the new %v specifier which
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering resolves to the kernel version string as returned by "uname
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * systemctl now supports filtering the unit list output by
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering load state, active state and sub state, using the new
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering --state= parameter.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * "systemctl status" will now show the results of the
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering condition checks (like ConditionPathExists= and similar) of
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering the last start attempts of the unit. They are also logged to
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * "journalctl -b" may now be used to look for boot output of a
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering specific boot. Try "journalctl -b -1" for the previous boot,
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering but the syntax is substantially more powerful.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * "journalctl --show-cursor" has been added which prints the
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering cursor string the last shown log line. This may then be used
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering with the new "journalctl --after-cursor=" switch to continue
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering browsing logs from that point on.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * "journalctl --force" may now be used to force regeneration
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering of an FSS key.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * Creation of "dead" device nodes has been moved from udev
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering into kmod and tmpfiles. Previously, udev would read the kmod
40e21da873c120936faff0aa42a6533f6933edf7Kay Sievers databases to pre-generate dead device nodes based on meta
40e21da873c120936faff0aa42a6533f6933edf7Kay Sievers information contained in kernel modules, so that these would
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering be auto-loaded on access rather then at boot. As this
1aed45907715ad4dce7dbc84a957cd5de8cca36eLennart Poettering does not really have much to do with the exposing actual
1aed45907715ad4dce7dbc84a957cd5de8cca36eLennart Poettering kernel devices to userspace this has always been slightly
1aed45907715ad4dce7dbc84a957cd5de8cca36eLennart Poettering alien in the udev codebase. Following the new scheme kmod
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering will now generate a runtime snippet for tmpfiles from the
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering module meta information and it now is tmpfiles' job to the
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering create the nodes. This also allows overriding access and
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering other parameters for the nodes using the usual tmpfiles
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering facilities. As side effect this allows us to remove the
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering CAP_SYS_MKNOD capability bit from udevd entirely.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * logind's device ACLs may now be applied to these "dead"
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering devices nodes too, thus finally allowing managed access to
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering devices such as /dev/snd/sequencer whithout loading the
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering backing module right-away.
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering * A new RPM macro has been added that may be used to apply
85d683970b7dc2c4470b2b7d60c3d9dce28c1471Lennart Poettering tmpfiles configuration during package installation.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * systemd-detect-virt and ConditionVirtualization= now can
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering detect User-Mode-Linux machines (UML).
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * journald will now implicitly log the effective capabilities
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering set of processes in the message metadata.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * systemd-cryptsetup has gained support for TrueCrypt volumes.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * The initrd interface has been simplified (more specifically,
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering support for passing performance data via environment
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering variables and fsck results via files in /run has been
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering removed). These features were non-essential, and are
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering nowadays available in a much nicer way by having systemd in
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering the initrd serialize its state and have the hosts systemd
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering deserialize it again.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * The udev "keymap" data files and tools to apply keyboard
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering specific mappings of scan to key codes, and force-release
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering scan code lists have been entirely replaced by a udev
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering "keyboard" builtin and a hwdb data file.
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt * systemd will now honour the kernel's "quiet" command line
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering argument also during late shutdown, resulting in a
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering completely silent shutdown when used.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * There's now an option to control the SO_REUSEPORT socket
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering option in .socket units.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * Instance units will now automatically get a per-template
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering subslice of system.slice unless something else is explicitly
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering configured. For example, instances of sshd@.service will now
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering implicitly be placed in system-sshd.slice rather than
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * Test coverage support may now be enabled at build time.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering Contributions from: Dave Reisner, Frederic Crozat, Harald
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering Hoyer, Holger Hans Peter Freyther, Jan Engelhardt, Jan
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering Janssen, Jason St. John, Jesper Larsen, Kay Sievers, Lennart
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering Poettering, Lukas Nykryn, Maciej Wereski, Martin Pitt, Michael
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering Olbrich, Ramkumar Ramachandra, Ross Lagerwall, Shawn Landden,
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering Thomas H.P. Andersen, Tom Gundersen, Tomasz Torcz, William
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering Giokas, Zbigniew Jędrzejewski-Szmek
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering -- Berlin, 2013-07-23
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart PoetteringCHANGES WITH 205:
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * Two new unit types have been introduced:
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering Scope units are very similar to service units, however, are
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering created out of pre-existing processes -- instead of PID 1
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering forking off the processes. By using scope units it is
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering possible for system services and applications to group their
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering own child processes (worker processes) in a powerful way
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering which then maybe used to organize them, or kill them
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering together, or apply resource limits on them.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering Slice units may be used to partition system resources in an
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering hierarchical fashion and then assign other units to them. By
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering default there are now three slices: system.slice (for all
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering system services), user.slice (for all user sessions),
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering machine.slice (for VMs and containers).
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering Slices and scopes have been introduced primarily in
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering context of the work to move cgroup handling to a
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering single-writer scheme, where only PID 1
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * There's a new concept of "transient" units. In contrast to
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering normal units these units are created via an API at runtime,
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering not from configuration from disk. More specifically this
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering means it is now possible to run arbitrary programs as
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering independent services, with all execution parameters passed
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering in via bus APIs rather than read from disk. Transient units
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering make systemd substantially more dynamic then it ever was,
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering and useful as a general batch manager.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * logind has been updated to make use of scope and slice units
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering for managing user sessions. As a user logs in he will get
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering his own private slice unit, to which all sessions are added
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering as scope units. We also added support for automatically
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering adding an instance of user@.service for the user into the
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering slice. Effectively logind will no longer create cgroup
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering hierarchies on its own now, it will defer entirely to PID 1
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering for this by means of scope, service and slice units. Since
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering user sessions this way become entities managed by PID 1
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering the output of "systemctl" is now a lot more comprehensive.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * A new mini-daemon "systemd-machined" has been added which
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering may be used by virtualization managers to register local
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering VMs/containers. nspawn has been updated accordingly, and
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering libvirt will be updated shortly. machined will collect a bit
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering of meta information about the VMs/containers, and assign
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering them their own scope unit (see above). The collected
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering meta-data is then made available via the "machinectl" tool,
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering and exposed in "ps" and similar tools. machined/machinectl
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering is compile-time optional.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * As discussed earlier, the low-level cgroup configuration
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering options ControlGroup=, ControlGroupModify=,
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering ControlGroupPersistent=, ControlGroupAttribute= have been
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering removed. Please use high-level attribute settings instead as
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering well as slice units.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * A new bus call SetUnitProperties() has been added to alter
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering various runtime parameters of a unit. This is primarily
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering useful to alter cgroup parameters dynamically in a nice way,
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering but will be extended later on to make more properties
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering modifiable at runtime. systemctl gained a new set-properties
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering command that wraps this call.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * A new tool "systemd-run" has been added which can be used to
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering run arbitrary command lines as transient services or scopes,
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering while configuring a number of settings via the command
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering line. This tool is currently very basic, however already
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering very useful. We plan to extend this tool to even allow
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering queuing of execution jobs with time triggers from the
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering command line, similar in fashion to "at".
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * nspawn will now inform the user explicitly that kernels with
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering audit enabled break containers, and suggest the user to turn
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * Support for detecting the IMA and AppArmor security
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering frameworks with ConditionSecurity= has been added.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * journalctl gained a new "-k" switch for showing only kernel
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering messages, mimicking dmesg output; in addition to "--user"
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering and "--system" switches for showing only user's own logs
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering and system logs.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * systemd-delta can now show information about drop-in
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering snippets extending unit files.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * libsystemd-bus has been substantially updated but is still
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering not available as public API.
8ad2685909f988602eca32ccba5c8ea4159e7f2eLennart Poettering * systemd will now look for the "debug" argument on the kernel
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering command line and enable debug logging, similar to what
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering "systemd.log_level=debug" already did before.
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * "systemctl set-default", "systemctl get-default" has been
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering added to configure the default.target symlink, which
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering controls what to boot into by default.
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * "systemctl set-log-level" has been added as a convenient
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering way to raise and lower systemd logging threshold.
96ec33c079caacdf9c7cdfb2cad2f1bc48dfca65Lennart Poettering * "systemd-analyze plot" will now show the time the various
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering generators needed for execution, as well as information
96ec33c079caacdf9c7cdfb2cad2f1bc48dfca65Lennart Poettering about the unit file loading.
96ec33c079caacdf9c7cdfb2cad2f1bc48dfca65Lennart Poettering * libsystemd-journal gained a new sd_journal_open_files() call
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering for opening specific journal files. journactl also gained a
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering new switch to expose this new functionality. Previously we
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering only supported opening all files from a directory, or all
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering files from the system, as opening individual files only is
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering racy due to journal file rotation.
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * systemd gained the new DefaultEnvironment= setting in
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering /etc/systemd/system.conf to set environment variables for
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * If a privileged process logs a journal message with the
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering OBJECT_PID= field set, then journald will automatically
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering augment this with additional OBJECT_UID=, OBJECT_GID=,
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering OBJECT_COMM=, OBJECT_EXE=, ... fields. This is useful if
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering system services want to log events about specific client
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering processes. journactl/systemctl has been updated to make use
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering of this information if all log messages regarding a specific
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering unit is requested.
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering Contributions from: Auke Kok, Chengwei Yang, Colin Walters,
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering Cristian Rodríguez, Daniel Albers, Daniel Wallace, Dave
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering Reisner, David Coppa, David King, David Strauss, Eelco
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering Dolstra, Gabriel de Perthuis, Harald Hoyer, Jan Alexander
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering Steffens, Jan Engelhardt, Jan Janssen, Jason St. John, Johan
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering Heikkilä, Karel Zak, Karol Lewandowski, Kay Sievers, Lennart
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering Poettering, Lukas Nykryn, Mantas Mikulėnas, Marius Vollmer,
ab06eef8101866dd1337c4759002f7360a9db416Anatol Pomozov Martin Pitt, Michael Biebl, Michael Olbrich, Michael Tremer,
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering Michal Schmidt, Michał Bartoszkiewicz, Nirbheek Chauhan,
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering Pierre Neidhardt, Ross Burton, Ross Lagerwall, Sean McGovern,
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering Thomas Hindoe Paaboel Andersen, Tom Gundersen, Umut Tezduyar,
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering Václav Pavlín, Zachary Cook, Zbigniew Jędrzejewski-Szmek,
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering Łukasz Stelmach, 장동준
0428ddb729d12563b827510e04663de9cb4056f3Lennart PoetteringCHANGES WITH 204:
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * The Python bindings gained some minimal support for the APIs
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering exposed by libsystemd-logind.
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * ConditionSecurity= gained support for detecting SMACK. Since
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering this condition already supports SELinux and AppArmor we only
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering miss IMA for this. Patches welcome!
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering Contributions from: Karol Lewandowski, Lennart Poettering,
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering Zbigniew Jędrzejewski-Szmek
0428ddb729d12563b827510e04663de9cb4056f3Lennart PoetteringCHANGES WITH 203:
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * systemd-nspawn will now create /etc/resolv.conf if
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering necessary, before bind-mounting the host's file onto it.
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * systemd-nspawn will now store meta information about a
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering container on the container's cgroup as extended attribute
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering fields, including the root directory.
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * The cgroup hierarchy has been reworked in many ways. All
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering objects any of the components systemd creates in the cgroup
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering tree are now suffixed. More specifically, user sessions are
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering now placed in cgroups suffixed with ".session", users in
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering cgroups suffixed with ".user", and nspawn containers in
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering cgroups suffixed with ".nspawn". Furthermore, all cgroup
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering names are now escaped in a simple scheme to avoid collision
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering of userspace object names with kernel filenames. This work
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering is preparation for making these objects relocatable in the
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering cgroup tree, in order to allow easy resource partitioning of
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering these objects without causing naming conflicts.
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * systemctl list-dependencies gained the new switches
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering --plain, --reverse, --after and --before.
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * systemd-inhibit now shows the process name of processes that
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering have taken an inhibitor lock.
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * nss-myhostname will now also resolve "localhost"
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering implicitly. This makes /etc/hosts an optional file and
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering nicely handles that on IPv6 ::1 maps to both "localhost" and
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering the local hostname.
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * libsystemd-logind.so gained a new call
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering sd_get_machine_names() to enumerate running containers and
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering VMs (currently only supported by very new libvirt and
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering nspawn). sd_login_monitor can now be used to watch
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering VMs/containers coming and going.
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * .include is not allowed recursively anymore, and only in
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering unit files. Usually it is better to use drop-in snippets in
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering .d/*.conf anyway, as introduced with systemd 198.
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * systemd-analyze gained a new "critical-chain" command that
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering determines the slowest chain of units run during system
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering boot-up. It is very useful for tracking down where
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering optimizing boot time is the most beneficial.
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * systemd will no longer allow manipulating service paths in
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering the name=systemd:/system cgroup tree using ControlGroup= in
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering units. (But is still fine with it in all other dirs.)
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering * There's a new systemd-nspawn@.service service file that may
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering be used to easily run nspawn containers as system
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering services. With the container's root directory in
0428ddb729d12563b827510e04663de9cb4056f3Lennart Poettering /var/lib/container/foobar it is now sufficient to run
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering "systemctl start systemd-nspawn@foobar.service" to boot it.
6827101ab4df4730a22062f4b3a8f8c2bae5be28Zbigniew Jędrzejewski-Szmek * systemd-cgls gained a new parameter "--machine" to list only
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering the processes within a certain container.
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering * ConditionSecurity= now can check for "apparmor". We still
6827101ab4df4730a22062f4b3a8f8c2bae5be28Zbigniew Jędrzejewski-Szmek are lacking checks for SMACK and IMA for this condition
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering check though. Patches welcome!
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering * A new configuration file /etc/systemd/sleep.conf has been
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering added that may be used to configure which kernel operation
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering systemd is supposed to execute when "suspend", "hibernate"
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering or "hybrid-sleep" is requested. This makes the new kernel
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering "freeze" state accessible to the user.
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering * ENV{SYSTEMD_WANTS} in udev rules will now implicitly escape
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering the passed argument if applicable.
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering Contributions from: Auke Kok, Colin Guthrie, Colin Walters,
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering Cristian Rodríguez, Daniel Buch, Daniel Wallace, Dave Reisner,
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering Evangelos Foutras, Greg Kroah-Hartman, Harald Hoyer, Josh
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering Triplett, Kay Sievers, Lennart Poettering, Lukas Nykryn,
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering MUNEDA Takahiro, Mantas Mikulėnas, Mirco Tischler, Nathaniel
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering Chen, Nirbheek Chauhan, Ronny Chevalier, Ross Lagerwall, Tom
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering Gundersen, Umut Tezduyar, Ville Skyttä, Zbigniew
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering Jędrzejewski-Szmek
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart PoetteringCHANGES WITH 202:
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering * The output of 'systemctl list-jobs' got some polishing. The
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering '--type=' argument may now be passed more than once. A new
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering command 'systemctl list-sockets' has been added which shows
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering a list of kernel sockets systemd is listening on with the
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering socket units they belong to, plus the units these socket
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering units activate.
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering * The experimental libsystemd-bus library got substantial
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering updates to work in conjunction with the (also experimental)
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering kdbus kernel project. It works well enough to exchange
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering messages with some sophistication. Note that kdbus is not
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering ready yet, and the library is mostly an elaborate test case
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering for now, and not installable.
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering * systemd gained a new unit 'systemd-static-nodes.service'
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering that generates static device nodes earlier during boot, and
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering can run in conjunction with udev.
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering * libsystemd-login gained a new call sd_pid_get_user_unit()
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering to retrieve the user systemd unit a process is running
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering in. This is useful for systems where systemd is used as
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering session manager.
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering * systemd-nspawn now places all containers in the new /machine
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering top-level cgroup directory in the name=systemd
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering hierarchy. libvirt will soon do the same, so that we get a
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering uniform separation of /system, /user and /machine for system
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering services, user processes and containers/virtual
1cb88f2c61f590083847d65cd5a518e834da87d3Lennart Poettering machines. This new cgroup hierarchy is also useful to stick
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering stable names to specific container instances, which can be
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering recognized later this way (this name may be controlled
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering via systemd-nspawn's new -M switch). libsystemd-login also
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering gained a new call sd_pid_get_machine_name() to retrieve the
15f47220ab59f480ddedc422cad435091778fc95Ben Boeckel name of the container/VM a specific process belongs to.
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering * bootchart can now store its data in the journal.
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering * libsystemd-journal gained a new call
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering sd_journal_add_conjunction() for AND expressions to the
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering matching logic. This can be used to express more complex
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering logical expressions.
139ee8cc316a861bcc8a8ebdf4a8449dffe16f79Lennart Poettering * journactl can now take multiple --unit= and --user-unit=
4d92e078e9d7e9a9d346065ea5e4afbafbdadb48Lennart Poettering * The cryptsetup logic now understands the "luks.key=" kernel
4d92e078e9d7e9a9d346065ea5e4afbafbdadb48Lennart Poettering command line switch for specifying a file to read the
4d92e078e9d7e9a9d346065ea5e4afbafbdadb48Lennart Poettering decryption key from. Also, if a configured key file is not
4d92e078e9d7e9a9d346065ea5e4afbafbdadb48Lennart Poettering found the tool will now automatically fall back to prompting
f9b557200b6d59a3dce1623d0873a259ee2fe421Lennart Poettering * Python systemd.journal module was updated to wrap recently
f9b557200b6d59a3dce1623d0873a259ee2fe421Lennart Poettering added functions from libsystemd-journal. The interface was
f9b557200b6d59a3dce1623d0873a259ee2fe421Lennart Poettering changed to bring the low level interface in s.j._Reader
f9b557200b6d59a3dce1623d0873a259ee2fe421Lennart Poettering closer to the C API, and the high level interface in
f9b557200b6d59a3dce1623d0873a259ee2fe421Lennart Poettering s.j.Reader was updated to wrap and convert all data about
f9b557200b6d59a3dce1623d0873a259ee2fe421Lennart Poettering Contributions from: Anatol Pomozov, Auke Kok, Harald Hoyer,
f9b557200b6d59a3dce1623d0873a259ee2fe421Lennart Poettering Henrik Grindal Bakken, Josh Triplett, Kay Sievers, Lennart
f9b557200b6d59a3dce1623d0873a259ee2fe421Lennart Poettering Poettering, Lukas Nykryn, Mantas Mikulėnas Marius Vollmer,
f9b557200b6d59a3dce1623d0873a259ee2fe421Lennart Poettering Martin Jansa, Martin Pitt, Michael Biebl, Michal Schmidt,
f9b557200b6d59a3dce1623d0873a259ee2fe421Lennart Poettering Mirco Tischler, Pali Rohar, Simon Peeters, Steven Hiscocks,
f9b557200b6d59a3dce1623d0873a259ee2fe421Lennart Poettering Tom Gundersen, Zbigniew Jędrzejewski-Szmek
f9b557200b6d59a3dce1623d0873a259ee2fe421Lennart PoetteringCHANGES WITH 201:
f9b557200b6d59a3dce1623d0873a259ee2fe421Lennart Poettering * journalctl --update-catalog now understands a new --root=
f9b557200b6d59a3dce1623d0873a259ee2fe421Lennart Poettering option to operate on catalogs found in a different root
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering * During shutdown after systemd has terminated all running
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering services a final killing loop kills all remaining left-over
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering processes. We will now print the name of these processes
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering when we send SIGKILL to them, since this usually indicates a
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering * If /etc/crypttab refers to password files stored on
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering configured mount points automatic dependencies will now be
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering generated to ensure the specific mount is established first
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering before the key file is attempted to be read.
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering * 'systemctl status' will now show information about the
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering network sockets a socket unit is listening on.
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering * 'systemctl status' will also shown information about any
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering drop-in configuration file for units. (Drop-In configuration
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering files in this context are files such as
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering /etc/systemd/systemd/foobar.service.d/*.conf)
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering * systemd-cgtop now optionally shows summed up CPU times of
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering cgroups. Press '%' while running cgtop to switch between
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering percentage and absolute mode. This is useful to determine
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering which cgroups use up the most CPU time over the entire
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering runtime of the system. systemd-cgtop has also been updated
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering to be 'pipeable' for processing with further shell tools.
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering * 'hostnamectl set-hostname' will now allow setting of FQDN
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering * The formatting and parsing of time span values has been
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering changed. The parser now understands fractional expressions
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering such as "5.5h". The formatter will now output fractional
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering expressions for all time spans under 1min, i.e. "5.123456s"
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering rather than "5s 123ms 456us". For time spans under 1s
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering millisecond values are shown, for those under 1ms
075d4ecb4026c5bc55e73bd2d44e3fc4d679adc7Lennart Poettering microsecond values are shown. This should greatly improve
075d4ecb4026c5bc55e73bd2d44e3fc4d679adc7Lennart Poettering all time-related output of systemd.
075d4ecb4026c5bc55e73bd2d44e3fc4d679adc7Lennart Poettering * libsystemd-login and libsystemd-journal gained new
075d4ecb4026c5bc55e73bd2d44e3fc4d679adc7Lennart Poettering functions for querying the poll() events mask and poll()
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt timeout value for integration into arbitrary event
075d4ecb4026c5bc55e73bd2d44e3fc4d679adc7Lennart Poettering * localectl gained the ability to list available X11 keymaps
075d4ecb4026c5bc55e73bd2d44e3fc4d679adc7Lennart Poettering (models, layouts, variants, options).
075d4ecb4026c5bc55e73bd2d44e3fc4d679adc7Lennart Poettering * 'systemd-analyze dot' gained the ability to filter for
075d4ecb4026c5bc55e73bd2d44e3fc4d679adc7Lennart Poettering specific units via shell-style globs, to create smaller,
075d4ecb4026c5bc55e73bd2d44e3fc4d679adc7Lennart Poettering more useful graphs. I.e. it is now possible to create simple
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering graphs of all the dependencies between only target units, or
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering of all units that Avahi has dependencies with.
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering Contributions from: Cristian Rodríguez, Dr. Tilmann Bubeck,
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering Harald Hoyer, Holger Hans Peter Freyther, Kay Sievers, Kelly
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering Anderson, Koen Kooi, Lennart Poettering, Maksim Melnikau,
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering Marc-Antoine Perennou, Marius Vollmer, Martin Pitt, Michal
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering Schmidt, Oleksii Shevchuk, Ronny Chevalier, Simon McVittie,
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering Steven Hiscocks, Thomas Weißschuh, Umut Tezduyar, Václav
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering Pavlín, Zbigniew Jędrzejewski-Szmek, Łukasz Stelmach
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart PoetteringCHANGES WITH 200:
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering * The boot-time readahead implementation for rotating media
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering will now read the read-ahead data in multiple passes which
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering consist of all read requests made in equidistant time
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering intervals. This means instead of strictly reading read-ahead
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering data in its physical order on disk we now try to find a
6563b535a062055ae68f2e574018d9d04a864b65Lennart Poettering middle ground between physical and access time order.
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering * /etc/os-release files gained a new BUILD_ID= field for usage
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering on operating systems that provide continuous builds of OS
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering Contributions from: Auke Kok, Eelco Dolstra, Kay Sievers,
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering Lennart Poettering, Lukas Nykryn, Martin Pitt, Václav Pavlín
6563b535a062055ae68f2e574018d9d04a864b65Lennart Poettering William Douglas, Zbigniew Jędrzejewski-Szmek
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart PoetteringCHANGES WITH 199:
6563b535a062055ae68f2e574018d9d04a864b65Lennart Poettering * systemd-python gained an API exposing libsystemd-daemon.
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering * The SMACK setup logic gained support for uploading CIPSO
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering security policy.
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering * Behaviour of PrivateTmp=, ReadWriteDirectories=,
597c52cfedb5edd13ee1635fa6be72fc80e587c3Lennart Poettering ReadOnlyDirectories= and InaccessibleDirectories= has
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering changed. The private /tmp and /var/tmp directories are now
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering shared by all processes of a service (which means
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering ExecStartPre= may now leave data in /tmp that ExecStart= of
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt the same service can still access). When a service is
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering stopped its temporary directories are immediately deleted
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering (normal clean-up with tmpfiles is still done in addition to
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering * By default, systemd will now set a couple of sysctl
8d0256b7eb119de92c748cf566257996b02fb506Lennart Poettering variables in the kernel: the safe sysrq options are turned
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering on, IP route verification is turned on, and source routing
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering disabled. The recently added hardlink and softlink
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering protection of the kernel is turned on. These settings should
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering be reasonably safe, and good defaults for all new systems.
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering * The predictable network naming logic may now be turned off
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering with a new kernel command line switch: net.ifnames=0.
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering * A new libsystemd-bus module has been added that implements a
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering pretty complete D-Bus client library. For details see:
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering http://lists.freedesktop.org/archives/systemd-devel/2013-March/009797.html
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering * journald will now explicitly flush the journal files to disk
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering at the latest 5min after each write. The file will then also
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering be marked offline until the next write. This should increase
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering reliability in case of a crash. The synchronization delay
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering can be configured via SyncIntervalSec= in journald.conf.
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering * There's a new remote-fs-setup.target unit that can be used
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering to pull in specific services when at least one remote file
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering system is to be mounted.
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering * There are new targets timers.target and paths.target as
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering canonical targets to pull user timer and path units in
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering from. This complements sockets.target with a similar
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering purpose for socket units.
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering * libudev gained a new call udev_device_set_attribute_value()
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering to set sysfs attributes of a device.
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering * The udev daemon now sets the default number of worker
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering processes executed in parallel based on the number of available
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering CPUs instead of the amount of available RAM. This is supposed
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering to provide a more reliable default and limit a too aggressive
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering paralellism for setups with 1000s of devices connected.
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering Contributions from: Auke Kok, Colin Walters, Cristian
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering Rodríguez, Daniel Buch, Dave Reisner, Frederic Crozat, Hannes
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering Reinecke, Harald Hoyer, Jan Alexander Steffens, Jan
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering Engelhardt, Josh Triplett, Kay Sievers, Lennart Poettering,
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering Mantas Mikulėnas, Martin Pitt, Mathieu Bridon, Michael Biebl,
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering Michal Schmidt, Michal Sekletar, Miklos Vajna, Nathaniel Chen,
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering Oleksii Shevchuk, Ozan Çağlayan, Thomas Hindoe Paaboel
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering Andersen, Tollef Fog Heen, Tom Gundersen, Umut Tezduyar,
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering Zbigniew Jędrzejewski-Szmek
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart PoetteringCHANGES WITH 198:
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering * Configuration of unit files may now be extended via drop-in
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering files without having to edit/override the unit files
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering themselves. More specifically, if the administrator wants to
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering change one value for a service file foobar.service he can
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering now do so by dropping in a configuration snippet into
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering /etc/systemd/system/foobar.service.d/*.conf. The unit logic
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering will load all these snippets and apply them on top of the
a98d5d64720bdf32e3b5f72f896b583e23f730adLennart Poettering main unit configuration file, possibly extending or
a98d5d64720bdf32e3b5f72f896b583e23f730adLennart Poettering overriding its settings. Using these drop-in snippets is
a98d5d64720bdf32e3b5f72f896b583e23f730adLennart Poettering generally nicer than the two earlier options for changing
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering unit files locally: copying the files from
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering /usr/lib/systemd/system/ to /etc/systemd/system/ and editing
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering them there; or creating a new file in /etc/systemd/system/
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering that incorporates the original one via ".include". Drop-in
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt snippets into these .d/ directories can be placed in any
dca348bcbb462305864526c587495a14a76bfcdeJan Engelhardt directory systemd looks for units in, and the usual
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering overriding semantics between /usr/lib, /etc and /run apply
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering * Most unit file settings which take lists of items can now be
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering reset by assigning the empty string to them. For example,
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering normally, settings such as Environment=FOO=BAR append a new
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering environment variable assignment to the environment block,
aaccc32cdc44b2b972946e44792d63ae17c089c2Lennart Poettering each time they are used. By assigning Environment= the empty
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering string the environment block can be reset to empty. This is
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering particularly useful with the .d/*.conf drop-in snippets
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering mentioned above, since this adds the ability to reset list
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering settings from vendor unit files via these drop-ins.
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering * systemctl gained a new "list-dependencies" command for
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering listing the dependencies of a unit recursively.
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering * Inhibitors are now honored and listed by "systemctl
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering suspend", "systemctl poweroff" (and similar) too, not only
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering GNOME. These commands will also list active sessions by
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering * Resource limits (as exposed by the various control group
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering controllers) can now be controlled dynamically at runtime
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering for all units. More specifically, you can now use a command
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering like "systemctl set-cgroup-attr foobar.service cpu.shares
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering 2000" to alter the CPU shares a specific service gets. These
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering settings are stored persistently on disk, and thus allow the
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering administrator to easily adjust the resource usage of
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering services with a few simple commands. This dynamic resource
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering management logic is also available to other programs via the
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering bus. Almost any kernel cgroup attribute and controller is
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering * systemd-vconsole-setup will now copy all font settings to
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering all allocated VTs, where it previously applied them only to
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering the foreground VT.
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering * libsystemd-login gained the new sd_session_get_tty() API
aad803af990f7c88e94427b9278d88afe3a12d38Lennart Poettering * This release drops support for a few legacy or
aad803af990f7c88e94427b9278d88afe3a12d38Lennart Poettering distribution-specific LSB facility names when parsing init
aad803af990f7c88e94427b9278d88afe3a12d38Lennart Poettering scripts: $x-display-manager, $mail-transfer-agent,
aad803af990f7c88e94427b9278d88afe3a12d38Lennart Poettering $mail-transport-agent, $mail-transfer-agent, $smtp,
aad803af990f7c88e94427b9278d88afe3a12d38Lennart Poettering $null. Also, the mail-transfer-agent.target unit backing
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering this has been removed. Distributions which want to retain
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering compatibility with this should carry the burden for
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering supporting this themselves and patch support for these back
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering in, if they really need to. Also, the facilities $syslog and
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering $local_fs are now ignored, since systemd does not support
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering early-boot LSB init scripts anymore, and these facilities
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering are implied anyway for normal services. syslog.target has
0c11f949db8d6d9899e0c473bf1f8cca0614493eLennart Poettering also been removed.
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering * There are new bus calls on PID1's Manager object for
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering cancelling jobs, and removing snapshot units. Previously,
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering both calls were only available on the Job and Snapshot
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering objects themselves.
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering * systemd-journal-gatewayd gained SSL support.
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering * The various "environment" files, such as /etc/locale.conf
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering now support continuation lines with a backslash ("\") as
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering last character in the line, similarly in style (but different)
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering to how this is supported in shells.
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering * For normal user processes the _SYSTEMD_USER_UNIT= field is
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering now implicitly appended to every log entry logged. systemctl
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering has been updated to filter by this field when operating on a
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering user systemd instance.
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering * nspawn will now implicitly add the CAP_AUDIT_WRITE and
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering CAP_AUDIT_CONTROL capabilities to the capabilities set for
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering the container. This makes it easier to boot unmodified
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering Fedora systems in a container, which however still requires
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering audit=0 to be passed on the kernel command line. Auditing in
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering kernel and userspace is unfortunately still too broken in
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering context of containers, hence we recommend compiling it out
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering of the kernel or using audit=0. Hopefully this will be fixed
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering one day for good in the kernel.
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering * nspawn gained the new --bind= and --bind-ro= parameters to
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering bind mount specific directories from the host into the
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering * nspawn will now mount its own devpts file system instance
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering into the container, in order not to leak pty devices from
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering the host into the container.
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering * systemd will now read the firmware boot time performance
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering information from the EFI variables, if the used boot loader
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering supports this, and takes it into account for boot performance
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering analysis via "systemd-analyze". This is currently supported
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering only in conjunction with Gummiboot, but could be supported
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering by other boot loaders too. For details see:
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering http://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering * A new generator has been added that automatically mounts the
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering EFI System Partition (ESP) to /boot, if that directory
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering exists, is empty, and no other file system has been
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering configured to be mounted there.
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering * logind will now send out PrepareForSleep(false) out
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering unconditionally, after coming back from suspend. This may be
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering used by applications as asynchronous notification for
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering system resume events.
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering * "systemctl unlock-sessions" has been added, that allows
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering unlocking the screens of all user sessions at once, similar
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering to how "systemctl lock-sessions" already locked all users
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering sessions. This is backed by a new D-Bus call UnlockSessions().
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering * "loginctl seat-status" will now show the master device of a
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering seat. (i.e. the device of a seat that needs to be around for
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering the seat to be considered available, usually the graphics
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering * tmpfiles gained a new "X" line type, that allows
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering configuration of files and directories (with wildcards) that
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering shall be excluded from automatic cleanup ("aging").
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering * udev default rules set the device node permissions now only
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering at "add" events, and do not change them any longer with a
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering later "change" event.
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering * The log messages for lid events and power/sleep keypresses
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering now carry a message ID.
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering * We now have a substantially larger unit test suite, but this
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering continues to be work in progress.
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering * udevadm hwdb gained a new --root= parameter to change the
ab06eef8101866dd1337c4759002f7360a9db416Anatol Pomozov root directory to operate relative to.
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering * logind will now issue a background sync() request to the kernel
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering early at shutdown, so that dirty buffers are flushed to disk early
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering instead of at the last moment, in order to optimize shutdown
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering times a little.
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering * A new bootctl tool has been added that is an interface for
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering certain boot loader operations. This is currently a preview
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering and is likely to be extended into a small mechanism daemon
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering like timedated, localed, hostnamed, and can be used by
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering graphical UIs to enumerate available boot options, and
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering request boot into firmware operations.
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering * systemd-bootchart has been relicensed to LGPLv2.1+ to match
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering the rest of the package. It also has been updated to work
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering correctly in initrds.
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering * Policykit previously has been runtime optional, and is now
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering also compile time optional via a configure switch.
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering * systemd-analyze has been reimplemented in C. Also "systemctl
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering dot" has moved into systemd-analyze.
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering * "systemctl status" with no further parameters will now print
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering the status of all active or failed units.
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering * Operations such as "systemctl start" can now be executed
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering with a new mode "--irreversible" which may be used to queue
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering operations that cannot accidentally be reversed by a later
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering job queuing. This is by default used to make shutdown
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering requests more robust.
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering * The Python API of systemd now gained a new module for
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering reading journal files.
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering * A new tool kernel-install has been added that can install
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering kernel images according to the Boot Loader Specification:
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering * Boot time console output has been improved to provide
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering animated boot time output for hanging jobs.
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering * A new tool systemd-activate has been added which can be used
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering to test socket activation with, directly from the command
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering line. This should make it much easier to test and debug
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering socket activation in daemons.
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering * journalctl gained a new "--reverse" (or -r) option to show
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering journal output in reverse order (i.e. newest line first).
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering * journalctl gained a new "--pager-end" (or -e) option to jump
c269cec334f940d82146f70d69125b1caef08baaLennart Poettering to immediately jump to the end of the journal in the
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering pager. This is only supported in conjunction with "less".
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering * journalctl gained a new "--user-unit=" option, that works
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering similarly to "--unit=" but filters for user units rather than
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering * A number of unit files to ease adoption of systemd in
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering initrds has been added. This moves some minimal logic from
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering the various initrd implementations into systemd proper.
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering * The journal files are now owned by a new group
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering "systemd-journal", which exists specifically to allow access
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering to the journal, and nothing else. Previously, we used the
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering "adm" group for that, which however possibly covers more
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering than just journal/log file access. This new group is now
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering already used by systemd-journal-gatewayd to ensure this
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering daemon gets access to the journal files and as little else
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering as possible. Note that "make install" will also set FS ACLs
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering up for /var/log/journal to give "adm" and "wheel" read
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering access to it, in addition to "systemd-journal" which owns
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering the journal files. We recommend that packaging scripts also
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering add read access to "adm" + "wheel" to /var/log/journal, and
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering all existing/future journal files. To normal users and
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering administrators little changes, however packagers need to
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering ensure to create the "systemd-journal" system group at
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering package installation time.
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering * The systemd-journal-gatewayd now runs as unprivileged user
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering systemd-journal-gateway:systemd-journal-gateway. Packaging
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering scripts need to create these system user/group at
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering installation time.
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering * timedated now exposes a new boolean property CanNTP that
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering indicates whether a local NTP service is available or not.
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering * systemd-detect-virt will now also detect xen PVs
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering * The pstore file system is now mounted by default, if it is
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering * In addition to the SELinux and IMA policies we will now also
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering load SMACK policies at early boot.
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering Contributions from: Adel Gadllah, Aleksander Morgado, Auke
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering Kok, Ayan George, Bastien Nocera, Colin Walters, Daniel Buch,
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering Daniel Wallace, Dave Reisner, David Herrmann, David Strauss,
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering Eelco Dolstra, Enrico Scholz, Frederic Crozat, Harald Hoyer,
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering Jan Janssen, Jonathan Callen, Kay Sievers, Lennart Poettering,
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering Lukas Nykryn, Mantas Mikulėnas, Marc-Antoine Perennou, Martin
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering Pitt, Mauro Dreissig, Max F. Albrecht, Michael Biebl, Michael
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering Olbrich, Michal Schmidt, Michal Sekletar, Michal Vyskocil,
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering Michał Bartoszkiewicz, Mirco Tischler, Nathaniel Chen, Nestor
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering Ovroy, Oleksii Shevchuk, Paul W. Frields, Piotr Drąg, Rob
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering Clark, Ryan Lortie, Simon McVittie, Simon Peeters, Steven
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering Hiscocks, Thomas Hindoe Paaboel Andersen, Tollef Fog Heen, Tom
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering Gundersen, Umut Tezduyar, William Giokas, Zbigniew
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering Jędrzejewski-Szmek, Zeeshan Ali (Khattak)
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart PoetteringCHANGES WITH 197:
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * Timer units now support calendar time events in addition to
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering monotonic time events. That means you can now trigger a unit
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering based on a calendar time specification such as "Thu,Fri
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering 2013-*-1,5 11:12:13" which refers to 11:12:13 of the first
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering or fifth day of any month of the year 2013, given that it is
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering a thursday or friday. This brings timer event support
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering considerably closer to cron's capabilities. For details on
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering the supported calendar time specification language see
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * udev now supports a number of different naming policies for
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering network interfaces for predictable names, and a combination
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering of these policies is now the default. Please see this wiki
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering document for details:
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * Auke Kok's bootchart implementation has been added to the
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering systemd tree. It is an optional component that can graph the
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering boot in quite some detail. It is one of the best bootchart
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering implementations around and minimal in its code and
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * nss-myhostname has been integrated into the systemd source
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering tree. nss-myhostname guarantees that the local hostname
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering always stays resolvable via NSS. It has been a weak
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering requirement of systemd-hostnamed since a long time, and
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering since its code is actually trivial we decided to just
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering include it in systemd's source tree. It can be turned off
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering with a configure switch.
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * The read-ahead logic is now capable of properly detecting
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering whether a btrfs file system is on SSD or rotating media, in
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering order to optimize the read-ahead scheme. Previously, it was
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering only capable of detecting this on traditional file systems
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * In udev, additional device properties are now read from the
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering IAB in addition to the OUI database. Also, Bluetooth company
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering identities are attached to the devices as well.
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * In service files %U may be used as specifier that is
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering replaced by the configured user name of the service.
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * nspawn may now be invoked without a controlling TTY. This
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering makes it suitable for invocation as its own service. This
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering may be used to set up a simple containerized server system
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering using only core OS tools.
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * systemd and nspawn can now accept socket file descriptors
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering when they are started for socket activation. This enables
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering implementation of socket activated nspawn
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering containers. i.e. think about autospawning an entire OS image
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering when the first SSH or HTTP connection is received. We expect
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering that similar functionality will also be added to libvirt-lxc
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * journalctl will now suppress ANSI color codes when
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering presenting log data.
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * systemctl will no longer show control group information for
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering a unit if a the control group is empty anyway.
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * logind can now automatically suspend/hibernate/shutdown the
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering system on idle.
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * /etc/machine-info and hostnamed now also expose the chassis
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering type of the system. This can be used to determine whether
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering the local system is a laptop, desktop, handset or
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering tablet. This information may either be configured by the
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering user/vendor or is automatically determined from ACPI and DMI
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering information if possible.
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * A number of PolicyKit actions are now bound together with
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering "imply" rules. This should simplify creating UIs because
91ac74250149a29122b2291c5393dec4592430d4Kay Sievers many actions will now authenticate similar ones as well.
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * Unit files learnt a new condition ConditionACPower= which
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering may be used to conditionalize a unit depending on whether an
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering AC power source is connected or not, of whether the system
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering is running on battery power.
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * systemctl gained a new "is-failed" verb that may be used in
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering shell scripts and suchlike to check whether a specific unit
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering is in the "failed" state.
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * The EnvironmentFile= setting in unit files now supports file
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering globbing, and can hence be used to easily read a number of
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering environment files at once.
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * systemd will no longer detect and recognize specific
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering distributions. All distribution-specific #ifdeffery has been
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering removed, systemd is now fully generic and
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering distribution-agnostic. Effectively, not too much is lost as
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering a lot of the code is still accessible via explicit configure
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering switches. However, support for some distribution specific
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering legacy configuration file formats has been dropped. We
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering recommend distributions to simply adopt the configuration
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering files everybody else uses now and convert the old
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering configuration from packaging scripts. Most distributions
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering already did that. If that's not possible or desirable,
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering distributions are welcome to forward port the specific
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering pieces of code locally from the git history.
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * When logging a message about a unit systemd will now always
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering log the unit name in the message meta data.
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * localectl will now also discover system locale data that is
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering not stored in locale archives, but directly unpacked.
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * logind will no longer unconditionally use framebuffer
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering devices as seat masters, i.e. as devices that are required
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering to be existing before a seat is considered preset. Instead,
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering it will now look for all devices that are tagged as
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering "seat-master" in udev. By default framebuffer devices will
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering be marked as such, but depending on local systems other
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering devices might be marked as well. This may be used to
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering integrate graphics cards using closed source drivers (such
5b00c0168be6e7b11db7b26fc1712cd6cda3c2e3Lennart Poettering as NVidia ones) more nicely into logind. Note however, that
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering we recommend using the open source NVidia drivers instead,
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering and no udev rules for the closed-source drivers will be
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering shipped from us upstream.
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering Contributions from: Adam Williamson, Alessandro Crismani, Auke
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering Kok, Colin Walters, Daniel Wallace, Dave Reisner, David
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering Herrmann, David Strauss, Dimitrios Apostolou, Eelco Dolstra,
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering Eric Benoit, Giovanni Campagna, Hannes Reinecke, Henrik
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering Grindal Bakken, Hermann Gausterer, Kay Sievers, Lennart
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering Poettering, Lukas Nykryn, Mantas Mikulėnas, Marcel Holtmann,
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering Martin Pitt, Matthew Monaco, Michael Biebl, Michael Terry,
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering Michal Schmidt, Michal Sekletar, Michał Bartoszkiewicz, Oleg
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering Samarin, Pekka Lundstrom, Philip Nilsson, Ramkumar
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering Ramachandra, Richard Yao, Robert Millan, Sami Kerola, Shawn
c4f1b86299c4ce2a62ce845bc48f2794f5459762Lennart Poettering Landden, Thomas Hindoe Paaboel Andersen, Thomas Jarosch,
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering Tollef Fog Heen, Tom Gundersen, Umut Tezduyar, Zbigniew
2d938ac75d013f713c1225def78a53583af6a596Lennart Poettering Jędrzejewski-Szmek
2d938ac75d013f713c1225def78a53583af6a596Lennart PoetteringCHANGES WITH 196:
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering * udev gained support for loading additional device properties
2d1972857b7bd19b4a74a8f80865749a8082f32aKay Sievers from an indexed database that is keyed by vendor/product IDs
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering and similar device identifiers. For the beginning this
2d1972857b7bd19b4a74a8f80865749a8082f32aKay Sievers "hwdb" is populated with data from the well-known PCI and
2d1972857b7bd19b4a74a8f80865749a8082f32aKay Sievers USB database, but also includes PNP, ACPI and OID data. In
2d1972857b7bd19b4a74a8f80865749a8082f32aKay Sievers the longer run this indexed database shall grow into
2d1972857b7bd19b4a74a8f80865749a8082f32aKay Sievers becoming the one central database for non-essential
2d1972857b7bd19b4a74a8f80865749a8082f32aKay Sievers userspace device metadata. Previously, data from the PCI/USB
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering database was only attached to select devices, since the
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering lookup was a relatively expensive operation due to O(n) time
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering complexity (with n being the number of entries in the
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering database). Since this is now O(1), we decided to add in this
2d1972857b7bd19b4a74a8f80865749a8082f32aKay Sievers data for all devices where this is available, by
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering default. Note that the indexed database needs to be rebuilt
b5b4c94a67d90891a0225af0e08cf45dbc329377Lennart Poettering when new data files are installed. To achieve this you need
2d1972857b7bd19b4a74a8f80865749a8082f32aKay Sievers to update your packaging scripts to invoke "udevadm hwdb
2d1972857b7bd19b4a74a8f80865749a8082f32aKay Sievers --update" after installation of hwdb data files. For
2d1972857b7bd19b4a74a8f80865749a8082f32aKay Sievers RPM-based distributions we introduced the new
2d1972857b7bd19b4a74a8f80865749a8082f32aKay Sievers %udev_hwdb_update macro for this purpose.
4c8cd173305697f59adcebf980ad7babe751d38cLennart Poettering * The Journal gained support for the "Message Catalog", an
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering indexed database to link up additional information with
4c8cd173305697f59adcebf980ad7babe751d38cLennart Poettering journal entries. For further details please check:
4c8cd173305697f59adcebf980ad7babe751d38cLennart Poettering http://www.freedesktop.org/wiki/Software/systemd/catalog
4c8cd173305697f59adcebf980ad7babe751d38cLennart Poettering The indexed message catalog database also needs to be
4c8cd173305697f59adcebf980ad7babe751d38cLennart Poettering rebuilt after installation of message catalog files. Use
4c8cd173305697f59adcebf980ad7babe751d38cLennart Poettering "journalctl --update-catalog" for this. For RPM-based
4c8cd173305697f59adcebf980ad7babe751d38cLennart Poettering distributions we introduced the %journal_catalog_update
4c8cd173305697f59adcebf980ad7babe751d38cLennart Poettering macro for this purpose.
4c8cd173305697f59adcebf980ad7babe751d38cLennart Poettering * The Python Journal bindings gained support for the standard
4c8cd173305697f59adcebf980ad7babe751d38cLennart Poettering Python logging framework.
4c8cd173305697f59adcebf980ad7babe751d38cLennart Poettering * The Journal API gained new functions for checking whether
4c8cd173305697f59adcebf980ad7babe751d38cLennart Poettering the underlying file system of a journal file is capable of
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering properly reporting file change notifications, or whether
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering applications that want to reflect journal changes "live"
187076d47907f7b3fcd61b2ef5eef9820915946aLennart Poettering need to recheck journal files continuously in appropriate
187076d47907f7b3fcd61b2ef5eef9820915946aLennart Poettering time intervals.
187076d47907f7b3fcd61b2ef5eef9820915946aLennart Poettering * It is now possible to set the "age" field for tmpfiles
194bbe33382f5365be3865ed1779147cb680f1d3Kay Sievers entries to 0, indicating that files matching this entry
194bbe33382f5365be3865ed1779147cb680f1d3Kay Sievers shall always be removed when the directories are cleaned up.
194bbe33382f5365be3865ed1779147cb680f1d3Kay Sievers * coredumpctl gained a new "gdb" verb which invokes gdb
194bbe33382f5365be3865ed1779147cb680f1d3Kay Sievers right-away on the selected coredump.
07cd4fc16806783d3b6b3008db222ac6a024805cKay Sievers * There's now support for "hybrid sleep" on kernels that
91cf7e5c37f97c6eb29966fac0afcbaa6662e05dTollef Fog Heen support this, in addition to "suspend" and "hibernate". Use
f13b388f97bc3ba8db844bd3413d510e2466a0b6Kay Sievers "systemctl hybrid-sleep" to make use of this.
64661ee70d5a10c6208a1cb66ecd8b158e2d8bc5Kay Sievers * logind's HandleSuspendKey= setting (and related settings)
2d13da8821b8197e62f819b5b996750800e910abKay Sievers now gained support for a new "lock" setting to simply
2d13da8821b8197e62f819b5b996750800e910abKay Sievers request the screen lock on all local sessions, instead of
2d13da8821b8197e62f819b5b996750800e910abKay Sievers actually executing a suspend or hibernation.
194bbe33382f5365be3865ed1779147cb680f1d3Kay Sievers * systemd will now mount the EFI variables file system by
194bbe33382f5365be3865ed1779147cb680f1d3Kay Sievers * Socket units now gained support for configuration of the
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering SMACK security label.
194bbe33382f5365be3865ed1779147cb680f1d3Kay Sievers * timedatectl will now output the time of the last and next
f13b388f97bc3ba8db844bd3413d510e2466a0b6Kay Sievers daylight saving change.
f13b388f97bc3ba8db844bd3413d510e2466a0b6Kay Sievers * We dropped support for various legacy and distro-specific
f13b388f97bc3ba8db844bd3413d510e2466a0b6Kay Sievers concepts, such as insserv, early-boot SysV services
f13b388f97bc3ba8db844bd3413d510e2466a0b6Kay Sievers (i.e. those for non-standard runlevels such as 'b' or 'S')
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering or ArchLinux /etc/rc.conf support. We recommend the
c195956988799837b763ab1b9f078e5f0b7f26e6Kay Sievers distributions who still need support this to either continue
c195956988799837b763ab1b9f078e5f0b7f26e6Kay Sievers to maintain the necessary patches downstream, or find a
c195956988799837b763ab1b9f078e5f0b7f26e6Kay Sievers different solution. (Talk to us if you have questions!)
c195956988799837b763ab1b9f078e5f0b7f26e6Kay Sievers * Various systemd components will now bypass PolicyKit checks
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering for root and otherwise handle properly if PolicyKit is not
9ae9afce6f53a872f4b01b9be13daa75833bd59eLennart Poettering found to be around. This should fix most issues for
18b754d345ecb0b15e369978aaffa72e9814b86aKay Sievers PolicyKit-less systems. Quite frankly this should have been
18b754d345ecb0b15e369978aaffa72e9814b86aKay Sievers this way since day one. It is absolutely our intention to
18b754d345ecb0b15e369978aaffa72e9814b86aKay Sievers make systemd work fine on PolicyKit-less systems, and we
18b754d345ecb0b15e369978aaffa72e9814b86aKay Sievers consider it a bug if something does not work as it should if
18b754d345ecb0b15e369978aaffa72e9814b86aKay Sievers PolicyKit is not around.
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * For embedded systems it is now possible to build udev and
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering systemd without blkid and/or kmod support.
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * "systemctl switch-root" is now capable of switching root
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering more than once. I.e. in addition to transitions from the
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering initrd to the host OS it is now possible to transition to
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering further OS images from the host. This is useful to implement
49f43d5f91a99b23f745726aa351d8f159774357Ville Skyttä offline updating tools.
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * Various other additions have been made to the RPM macros
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering shipped with systemd. Use %udev_rules_update() after
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering installing new udev rules files. %_udevhwdbdir,
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering %_udevrulesdir, %_journalcatalogdir, %_tmpfilesdir,
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering %_sysctldir are now available which resolve to the right
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering directories for packages to place various data files in.
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * journalctl gained the new --full switch (in addition to
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering --all, to disable ellipsation for long messages.
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Contributions from: Anders Olofsson, Auke Kok, Ben Boeckel,
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Colin Walters, Cosimo Cecchi, Daniel Wallace, Dave Reisner,
3943231cfeb3d76dc4ec0b9f845c3f874593a9deLennart Poettering Eelco Dolstra, Holger Hans Peter Freyther, Kay Sievers,
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Chun-Yi Lee, Lekensteyn, Lennart Poettering, Mantas Mikulėnas,
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Marti Raudsepp, Martin Pitt, Mauro Dreissig, Michael Biebl,
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Michal Schmidt, Michal Sekletar, Miklos Vajna, Nis Martensen,
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Oleksii Shevchuk, Olivier Brunel, Ramkumar Ramachandra, Thomas
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Bächler, Thomas Hindoe Paaboel Andersen, Tom Gundersen, Tony
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Camuso, Umut Tezduyar, Zbigniew Jędrzejewski-Szmek
ea5943d3862cc690daa76e2ad336737407ec711cLennart PoetteringCHANGES WITH 195:
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * journalctl gained new --since= and --until= switches to
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering filter by time. It also now supports nice filtering for
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering units via --unit=/-u.
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * Type=oneshot services may use ExecReload= and do the
439d6dfd12f58d7230bcae06d73b841eb3bc588aLennart Poettering * The journal daemon now supports time-based rotation and
439d6dfd12f58d7230bcae06d73b841eb3bc588aLennart Poettering vacuuming, in addition to the usual disk-space based
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * The journal will now index the available field values for
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering each field name. This enables clients to show pretty drop
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering downs of available match values when filtering. The bash
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering completion of journalctl has been updated
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering accordingly. journalctl gained a new switch -F to list all
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering values a certain field takes in the journal database.
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * More service events are now written as structured messages
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering to the journal, and made recognizable via message IDs.
3943231cfeb3d76dc4ec0b9f845c3f874593a9deLennart Poettering * The timedated, localed and hostnamed mini-services which
3943231cfeb3d76dc4ec0b9f845c3f874593a9deLennart Poettering previously only provided support for changing time, locale
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering and hostname settings from graphical DEs such as GNOME now
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering also have a minimal (but very useful) text-based client
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering utility each. This is probably the nicest way to changing
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt these settings from the command line now, especially since
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering it lists available options and is fully integrated with bash
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * There's now a new tool "systemd-coredumpctl" to list and
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering extract coredumps from the journal.
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * We now install a README each in /var/log/ and
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering /etc/rc.d/init.d explaining where the system logs and init
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering scripts went. This hopefully should help folks who go to
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering that dirs and look into the otherwise now empty void and
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering scratch their heads.
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * When user-services are invoked (by systemd --user) the
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering $MANAGERPID env var is set to the PID of systemd.
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * SIGRTMIN+24 when sent to a --user instance will now result
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering in immediate termination of systemd.
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * gatewayd received numerous feature additions such as a
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering "follow" mode, for live syncing and filtering.
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * browse.html now allows filtering and showing detailed
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering information on specific entries. Keyboard navigation and
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering mouse screen support has been added.
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * gatewayd/journalctl now supports HTML5/JSON
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Server-Sent-Events as output.
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * The SysV init script compatibility logic will now
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering heuristically determine whether a script supports the
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering "reload" verb, and only then make this available as
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering "systemctl reload".
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * "systemctl status --follow" has been removed, use "journalctl
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * journald.conf's RuntimeMinSize=, PersistentMinSize= settings
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering have been removed since they are hardly useful to be
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * And I'd like to take the opportunity to specifically mention
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Zbigniew for his great contributions. Zbigniew, you rock!
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Contributions from: Andrew Eikum, Christian Hesse, Colin
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Guthrie, Daniel J Walsh, Dave Reisner, Eelco Dolstra, Ferenc
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Wágner, Kay Sievers, Lennart Poettering, Lukas Nykryn, Mantas
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Mikulėnas, Martin Mikkelsen, Martin Pitt, Michael Olbrich,
3943231cfeb3d76dc4ec0b9f845c3f874593a9deLennart Poettering Michael Stapelberg, Michal Schmidt, Sebastian Ott, Thomas
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Bächler, Umut Tezduyar, Will Woods, Wulf C. Krueger, Zbigniew
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Jędrzejewski-Szmek, Сковорода Никита Андреевич
ea5943d3862cc690daa76e2ad336737407ec711cLennart PoetteringCHANGES WITH 194:
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering * If /etc/vconsole.conf is non-existent or empty we will no
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering longer load any console font or key map at boot by
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering default. Instead the kernel defaults will be left
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering intact. This is definitely the right thing to do, as no
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering configuration should mean no configuration, and hard-coding
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering font names that are different on all archs is probably a bad
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering idea. Also, the kernel default key map and font should be
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering good enough for most cases anyway, and mostly identical to
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering the userspace fonts/key maps we previously overloaded them
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt with. If distributions want to continue to default to a
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering non-kernel font or key map they should ship a default
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering /etc/vconsole.conf with the appropriate contents.
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Contributions from: Colin Walters, Daniel J Walsh, Dave
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Reisner, Kay Sievers, Lennart Poettering, Lukas Nykryn, Tollef
ea5943d3862cc690daa76e2ad336737407ec711cLennart Poettering Fog Heen, Tom Gundersen, Zbigniew Jędrzejewski-Szmek
ea5943d3862cc690daa76e2ad336737407ec711cLennart PoetteringCHANGES WITH 193:
79849bf9f47f9867c72c7eb76b981bb354d0e30eLennart Poettering * journalctl gained a new --cursor= switch to show entries
79849bf9f47f9867c72c7eb76b981bb354d0e30eLennart Poettering starting from the specified location in the journal.
79849bf9f47f9867c72c7eb76b981bb354d0e30eLennart Poettering * We now enforce a size limit on journal entry fields exported
79849bf9f47f9867c72c7eb76b981bb354d0e30eLennart Poettering with "-o json" in journalctl. Fields larger than 4K will be
79849bf9f47f9867c72c7eb76b981bb354d0e30eLennart Poettering assigned null. This can be turned off with --all.
79849bf9f47f9867c72c7eb76b981bb354d0e30eLennart Poettering * An (optional) journal gateway daemon is now available as
79849bf9f47f9867c72c7eb76b981bb354d0e30eLennart Poettering "systemd-journal-gatewayd.service". This service provides
79849bf9f47f9867c72c7eb76b981bb354d0e30eLennart Poettering access to the journal via HTTP and JSON. This functionality
79849bf9f47f9867c72c7eb76b981bb354d0e30eLennart Poettering will be used to implement live log synchronization in both
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering pull and push modes, but has various other users too, such
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering as easy log access for debugging of embedded devices. Right
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering now it is already useful to retrieve the journal via HTTP:
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering # systemctl start systemd-journal-gatewayd.service
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering This will download the journal contents in a
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering /var/log/messages compatible format. The same as JSON:
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering # curl -H"Accept: application/json" http://localhost:19531/entries
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering This service is also accessible via a web browser where a
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering single static HTML5 app is served that uses the JSON logic
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering to enable the user to do some basic browsing of the
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering journal. This will be extended later on. Here's an example
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering screenshot of this app in its current state:
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering http://0pointer.de/public/journal-gatewayd
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt Contributions from: Kay Sievers, Lennart Poettering, Robert
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering Milasan, Tom Gundersen
16f1239e1ece27257c0deedcf01aa39474f66241Lennart PoetteringCHANGES WITH 192:
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering * The bash completion logic is now available for journalctl
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering * We do not mount the "cpuset" controller anymore together with
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering "cpu" and "cpuacct", as "cpuset" groups generally cannot be
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering started if no parameters are assigned to it. "cpuset" hence
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering broke code that assumed it it could create "cpu" groups and
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering just start them.
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering * journalctl -f will now subscribe to terminal size changes,
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering and line break accordingly.
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering Contributions from: Dave Reisner, Kay Sievers, Lennart
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering Poettering, Lukas Nykrynm, Mirco Tischler, Václav Pavlín
16f1239e1ece27257c0deedcf01aa39474f66241Lennart PoetteringCHANGES WITH 191:
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering * nspawn will now create a symlink /etc/localtime in the
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering container environment, copying the host's timezone
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering setting. Previously this has been done via a bind mount, but
16f1239e1ece27257c0deedcf01aa39474f66241Lennart Poettering since symlinks cannot be bind mounted this has now been
437b7dee328738b7aca89a9c7527f228ff8f2d34Lennart Poettering changed to create/update the appropriate symlink.
437b7dee328738b7aca89a9c7527f228ff8f2d34Lennart Poettering * journalctl -n's line number argument is now optional, and
437b7dee328738b7aca89a9c7527f228ff8f2d34Lennart Poettering will default to 10 if omitted.
437b7dee328738b7aca89a9c7527f228ff8f2d34Lennart Poettering * journald will now log the maximum size the journal files may
437b7dee328738b7aca89a9c7527f228ff8f2d34Lennart Poettering take up on disk. This is particularly useful if the default
437b7dee328738b7aca89a9c7527f228ff8f2d34Lennart Poettering built-in logic of determining this parameter from the file
437b7dee328738b7aca89a9c7527f228ff8f2d34Lennart Poettering system size is used. Use "systemctl status
437b7dee328738b7aca89a9c7527f228ff8f2d34Lennart Poettering systemd-journald.service" to see this information.
437b7dee328738b7aca89a9c7527f228ff8f2d34Lennart Poettering * The multi-seat X wrapper tool has been stripped down. As X
437b7dee328738b7aca89a9c7527f228ff8f2d34Lennart Poettering is now capable of enumerating graphics devices via udev in a
437b7dee328738b7aca89a9c7527f228ff8f2d34Lennart Poettering seat-aware way the wrapper is not strictly necessary
204fa33c82588c47ebeef3f8c4c0b7da750e37f7Lennart Poettering anymore. A stripped down temporary stop-gap is still shipped
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering until the upstream display managers have been updated to
204fa33c82588c47ebeef3f8c4c0b7da750e37f7Lennart Poettering fully support the new X logic. Expect this wrapper to be
204fa33c82588c47ebeef3f8c4c0b7da750e37f7Lennart Poettering removed entirely in one of the next releases.
204fa33c82588c47ebeef3f8c4c0b7da750e37f7Lennart Poettering * HandleSleepKey= in logind.conf has been split up into
204fa33c82588c47ebeef3f8c4c0b7da750e37f7Lennart Poettering HandleSuspendKey= and HandleHibernateKey=. The old setting
204fa33c82588c47ebeef3f8c4c0b7da750e37f7Lennart Poettering is not available anymore. X11 and the kernel are
204fa33c82588c47ebeef3f8c4c0b7da750e37f7Lennart Poettering distuingishing between these keys and we should too. This
204fa33c82588c47ebeef3f8c4c0b7da750e37f7Lennart Poettering also means the inhibition lock for these keys has been split
204fa33c82588c47ebeef3f8c4c0b7da750e37f7Lennart Poettering Contributions from: Dave Airlie, Eelco Dolstra, Lennart
204fa33c82588c47ebeef3f8c4c0b7da750e37f7Lennart Poettering Poettering, Lukas Nykryn, Václav Pavlín
204fa33c82588c47ebeef3f8c4c0b7da750e37f7Lennart PoetteringCHANGES WITH 190:
204fa33c82588c47ebeef3f8c4c0b7da750e37f7Lennart Poettering * Whenever a unit changes state we will now log this to the
204fa33c82588c47ebeef3f8c4c0b7da750e37f7Lennart Poettering journal and show along the unit's own log output in
204fa33c82588c47ebeef3f8c4c0b7da750e37f7Lennart Poettering "systemctl status".
204fa33c82588c47ebeef3f8c4c0b7da750e37f7Lennart Poettering * ConditionPathIsMountPoint= can now properly detect bind
e0d25329b23a43332ea340f9907721873a316f4eKay Sievers mount points too. (Previously, a bind mount of one file
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering system to another place in the same file system could not be
e0d25329b23a43332ea340f9907721873a316f4eKay Sievers detected as mount, since they shared struct stat's st_dev
e0d25329b23a43332ea340f9907721873a316f4eKay Sievers * We will now mount the cgroup controllers cpu, cpuacct,
b13df9644bc6d4823b5a84e8a6bbf3bbb2c207c2Lennart Poettering cpuset and the controllers net_cls, net_prio together by
b13df9644bc6d4823b5a84e8a6bbf3bbb2c207c2Lennart Poettering * nspawn containers will now have a virtualized boot
b13df9644bc6d4823b5a84e8a6bbf3bbb2c207c2Lennart Poettering ID. (i.e. /proc/sys/kernel/random/boot_id is now mounted
b13df9644bc6d4823b5a84e8a6bbf3bbb2c207c2Lennart Poettering over with a randomized ID at container initialization). This
b13df9644bc6d4823b5a84e8a6bbf3bbb2c207c2Lennart Poettering has the effect of making "journalctl -b" do the right thing
b13df9644bc6d4823b5a84e8a6bbf3bbb2c207c2Lennart Poettering in a container.
b13df9644bc6d4823b5a84e8a6bbf3bbb2c207c2Lennart Poettering * The JSON output journal serialization has been updated not
b13df9644bc6d4823b5a84e8a6bbf3bbb2c207c2Lennart Poettering to generate "endless" list objects anymore, but rather one
e9c1ea9de87d4d508ac38ce87a2fa56e7529a91aJason St. John JSON object per line. This is more in line how most JSON
ccd07a083e8040a5bb091c5036ab1b4493ff8363Lennart Poettering parsers expect JSON objects. The new output mode
353e12c2f4a9e96a47eb80b80d2ffb7bc1d44a1bLennart Poettering "json-pretty" has been added to provide similar output, but
353e12c2f4a9e96a47eb80b80d2ffb7bc1d44a1bLennart Poettering neatly aligned for readability by humans.
353e12c2f4a9e96a47eb80b80d2ffb7bc1d44a1bLennart Poettering * We dropped all explicit sync() invocations in the shutdown
353e12c2f4a9e96a47eb80b80d2ffb7bc1d44a1bLennart Poettering code. The kernel does this implicitly anyway in the kernel
b13df9644bc6d4823b5a84e8a6bbf3bbb2c207c2Lennart Poettering reboot() syscall. halt(8)'s -n option is now a compatibility
b13df9644bc6d4823b5a84e8a6bbf3bbb2c207c2Lennart Poettering * We now support virtualized reboot() in containers, as
d26e4270409506cd398875216413b651d6ee7de6Lennart Poettering supported by newer kernels. We will fall back to exit() if
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering CAP_SYS_REBOOT is not available to the container. Also,
d26e4270409506cd398875216413b651d6ee7de6Lennart Poettering nspawn makes use of this now and will actually reboot the
d26e4270409506cd398875216413b651d6ee7de6Lennart Poettering container if the containerized OS asks for that.
d26e4270409506cd398875216413b651d6ee7de6Lennart Poettering * journalctl will only show local log output by default
d26e4270409506cd398875216413b651d6ee7de6Lennart Poettering now. Use --merge (-m) to show remote log output, too.
d26e4270409506cd398875216413b651d6ee7de6Lennart Poettering * libsystemd-journal gained the new sd_journal_get_usage()
d26e4270409506cd398875216413b651d6ee7de6Lennart Poettering call to determine the current disk usage of all journal
d26e4270409506cd398875216413b651d6ee7de6Lennart Poettering files. This is exposed in the new "journalctl --disk-usage"
d26e4270409506cd398875216413b651d6ee7de6Lennart Poettering * journald gained a new configuration setting SplitMode= in
d26e4270409506cd398875216413b651d6ee7de6Lennart Poettering journald.conf which may be used to control how user journals
b13df9644bc6d4823b5a84e8a6bbf3bbb2c207c2Lennart Poettering are split off. See journald.conf(5) for details.
b13df9644bc6d4823b5a84e8a6bbf3bbb2c207c2Lennart Poettering * A new condition type ConditionFileNotEmpty= has been added.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * tmpfiles' "w" lines now support file globbing, to write
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering multiple files at once.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * We added Python bindings for the journal submission
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering APIs. More Python APIs for a number of selected APIs will
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering likely follow. Note that we intend to add native bindings
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering only for the Python language, as we consider it common
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering enough to deserve bindings shipped within systemd. There are
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering various projects outside of systemd that provide bindings
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering for languages such as PHP or Lua.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * Many conditions will now resolve specifiers such as %i. In
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering addition, PathChanged= and related directives of .path units
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering now support specifiers as well.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * There's now a new RPM macro definition for the system preset
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering dir: %_presetdir.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * journald will now warn if it ca not forward a message to the
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering syslog daemon because its socket is full.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * timedated will no longer write or process /etc/timezone,
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering except on Debian. As we do not support late mounted /usr
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering anymore /etc/localtime always being a symlink is now safe,
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering and hence the information in /etc/timezone is not necessary
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * logind will now always reserve one VT for a text getty (VT6
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering by default). Previously if more than 6 X sessions where
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering started they took up all the VTs with auto-spawned gettys,
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering so that no text gettys were available anymore.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * udev will now automatically inform the btrfs kernel logic
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering about btrfs RAID components showing up. This should make
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering simple hotplug based btrfs RAID assembly work.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * PID 1 will now increase its RLIMIT_NOFILE to 64K by default
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering (but not for its children which will stay at the kernel
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering default). This should allow setups with a lot more listening
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * systemd will now always pass the configured timezone to the
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering kernel at boot. timedated will do the same when the timezone
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * logind's inhibition logic has been updated. By default,
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering logind will now handle the lid switch, the power and sleep
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering keys all the time, even in graphical sessions. If DEs want
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering to handle these events on their own they should take the new
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering handle-power-key, handle-sleep-key and handle-lid-switch
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering inhibitors during their runtime. A simple way to achieve
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering that is to invoke the DE wrapped in an invocation of:
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering systemd-inhibit --what=handle-power-key:handle-sleep-key:handle-lid-switch ...
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * Access to unit operations is now checked via SELinux taking
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering the unit file label and client process label into account.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * systemd will now notify the administrator in the journal
b6a867398de9f75fb623a84db7c6181d26b0a8d5Lennart Poettering when he over-mounts a non-empty directory.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * There are new specifiers that are resolved in unit files,
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering for the host name (%H), the machine ID (%m) and the boot ID
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering Contributions from: Allin Cottrell, Auke Kok, Brandon Philips,
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering Colin Guthrie, Colin Walters, Daniel J Walsh, Dave Reisner,
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering Eelco Dolstra, Jan Engelhardt, Kay Sievers, Lennart
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering Poettering, Lucas De Marchi, Lukas Nykryn, Mantas Mikulėnas,
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering Martin Pitt, Matthias Clasen, Michael Olbrich, Pierre Schmitz,
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering Shawn Landden, Thomas Hindoe Paaboel Andersen, Tom Gundersen,
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering Václav Pavlín, Yin Kangkai, Zbigniew Jędrzejewski-Szmek
220a21d38f675eb835f5758e3d23e896573aa5eaLennart PoetteringCHANGES WITH 189:
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * Support for reading structured kernel messages from
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering /dev/kmsg has now been added and is enabled by default.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * Support for reading kernel messages from /proc/kmsg has now
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering been removed. If you want kernel messages in the journal
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering make sure to run a recent kernel (>= 3.5) that supports
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering reading structured messages from /dev/kmsg (see
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering above). /proc/kmsg is now exclusive property of classic
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering syslog daemons again.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * The libudev API gained the new
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering udev_device_new_from_device_id() call.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * The logic for file system namespace (ReadOnlyDirectory=,
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering ReadWriteDirectoy=, PrivateTmp=) has been reworked not to
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering require pivot_root() anymore. This means fewer temporary
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering directories are created below /tmp for this feature.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * nspawn containers will now see and receive all submounts
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering made on the host OS below the root file system of the
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * Forward Secure Sealing is now supported for Journal files,
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering which provide cryptographical sealing of journal files so
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering that attackers cannot alter log history anymore without this
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering being detectable. Lennart will soon post a blog story about
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering this explaining it in more detail.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * There are two new service settings RestartPreventExitStatus=
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering and SuccessExitStatus= which allow configuration of exit
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering status (exit code or signal) which will be excepted from the
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering restart logic, resp. consider successful.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * journalctl gained the new --verify switch that can be used
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering to check the integrity of the structure of journal files and
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering (if Forward Secure Sealing is enabled) the contents of
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering journal files.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * nspawn containers will now be run with /dev/stdin, /dev/fd/
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering and similar symlinks pre-created. This makes running shells
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering as container init process a lot more fun.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * The fstab support can now handle PARTUUID= and PARTLABEL=
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * A new ConditionHost= condition has been added to match
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering against the hostname (with globs) and machine ID. This is
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering useful for clusters where a single OS image is used to
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering provision a large number of hosts which shall run slightly
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt different sets of services.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * Services which hit the restart limit will now be placed in a
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering failure state.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering Contributions from: Bertram Poettering, Dave Reisner, Huang
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering Hang, Kay Sievers, Lennart Poettering, Lukas Nykryn, Martin
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering Pitt, Simon Peeters, Zbigniew Jędrzejewski-Szmek
220a21d38f675eb835f5758e3d23e896573aa5eaLennart PoetteringCHANGES WITH 188:
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * When running in --user mode systemd will now become a
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering subreaper (PR_SET_CHILD_SUBREAPER). This should make the ps
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering tree a lot more organized.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * A new PartOf= unit dependency type has been introduced that
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering may be used to group services in a natural way.
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * "systemctl enable" may now be used to enable instances of
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering * journalctl now prints error log levels in red, and
warning/notice log levels in bright white. It also supports
* libsystemd-logind.so gained a new call sd_journal_perror()
* /etc/crypttab entries now understand the new keyfile-size=
* The prefdm.service file has been removed. Distributions
* /etc/crypttab entries now understand the new keyfile-offset=
systemd-journal-flush.service, rather than implicitly simply
by seeing /var/log/journal to be writable.
/usr/lib/systemd/systemd-readahead analyze /.readahead
systemctl enable debug-shell.service
udevadm info /dev/sda
udevadm info /sys/class/block/sda
* We now include RPM macros for service enabling/disabling
systemctl status /dev/sda
system.conf parsing.
* systemd.confirm_spawn= on the kernel command line should now
from /usr/lib/systemd/ntp-units.d/*.list,
systemd-timedated-ntp.target has been removed.
journald.conf. These options allow reducing the amount of
* TimerSlackNSec= can now be specified in system.conf for
/usr/bin/avahi-daemon" to get all log output of a specific
* CapabilityBoundingSet= in system.conf now also influences
* udev: /lib/udev/devices/ are not read anymore; systemd-tmpfiles
in /usr/lib/systemd/. Standalone builds or non-systemd systems need
* The config files: /etc/systemd/systemd-logind.conf and
/etc/systemd/systemd-journald.conf have been renamed to
* logind now implements a sleep/shutdown/idle inhibiting logic
systemd-vconsole-setup.service) now detect properly if they
/etc/fstab are out of date due to changes in fstab that
between user/admin configuration and vendor defaults.
* PrivateTmp= now affects both /tmp and /var/tmp.
system.conf. Mounting file systems at boot has to take place
masked and /etc/fstab can override it.
* Show /etc/os-release data in systemd-analyze output
* sd-login.h is C++ comptaible again
* Extend the /etc/os-release format on request of the Debian
* systems lacking /etc/os-release are no longer supported.
* Various functionality updates to libsystemd-login.so
* The systemd binary is installed /usr/lib/systemd/systemd now;
An existing /sbin/init symlink needs to be adapted with the
* A new kernel command line option systemd.setenv= is
with STDERR/STDOUT connected to the journal. Can also act as
* Introduce remote-fs-pre.target which is ordered before all
fixed (i.e. PID file creation must have finished before the
* /etc/rc.local is now hooked in via a generator binary, and
of /usr/local by default.