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