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