NEWS revision 85d683970b7dc2c4470b2b7d60c3d9dce28c1471
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poetteringsystemd System and Service Manager
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart PoetteringCHANGES WITH 198:
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * Configuration of unit files may now be extended via drop-in
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering files without having to edit/override the unit files
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering themselves. More specifically, if the administrator wants to
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering change one value for a service file foobar.service he can
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering now do so by dropping in a configuration snippet into
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering /etc/systemd/systemd/foobar.service.d/*.conf. The unit logic
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering will load all these snippets and apply them on top of the
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering main unit configuration file, possibly extending or
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering overriding its settings. Using these drop-in snippets is
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering generally nicer than the two earler options for changing
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering unit files locally: copying the files form
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering /usr/lib/systemd/system/ to /etc/systemd/system/ and editing
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering them there; or creating a new file in /etc/systemd/system/
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering that incorporates the original one via ".include". Drop-in
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering snippets into these .d/ directories can be placed in any
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering directory systems looks for units in, and the usual
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering overriding semantics between /usr/lib, /etc and /run apply
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * Most unit file settings which take lists of items can now be
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering reset by assigning the empty strings to them. For example,
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering normally, settings such as Environment=FOO=BAR append a new
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering environment variable assignment to the environment block,
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering each time they are used. By assigning Environment= the empty
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering string the environment block can be reset to empty. This is
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering particularly useful with the .d/*.conf drop-in snippets
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering mentioned above, since this allows resetting list settings
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering from vendor unit files via these drop-ins.
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * systemctl gained a new "list-dependencies" command for
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering listing the dependencies of a unit recursively.
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * Inhibitors are now honoured and listed by "systemctl
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering suspend", "systemctl poweroff" (and similar) too, not only
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering GNOME. These commands will also list active sessions by
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * Resource limits (as exposed by the various control group
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering controllers) can now be controlled dynamically at runtime
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering for all units. More specifically, you can now use a command
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering like "systemctl set-cgroup-attr foobar.service cpu.shares
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering 2000" to alter the CPU shares a specific service gets. These
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering settings are stores persistently on disk, and thus allow the
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering administrator to easily adjust the resource usage of
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering services with a few simple commands. This dynamic resource
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering management logic is also available to other services via the
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering bus. Almost any kernel cgroup attribute and controller is
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek * systemd-vconsole-setup will now copy all font settings to
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek all open VTs, where it previously applied them only to the
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering foreground VT.
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * libsystemd-login gained the new sd_session_get_tty() API
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * This release drops support with a few
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering legacy/distribution-specific LSB facility names when parsing
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering init scripts: $x-display-manager, $mail-transfer-agent,
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering $mail-transport-agent, $mail-transfer-agent, $smtp,
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering $null. Also, the mail-transfer-agent.target unit backing
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering this has been removed. Distributions which want to retain
9f7dad774ebfad23269800b7096eaad087481debVille Skyttä compatibility with this should carry the burden for support
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering this themselves and patch support for these back in if they
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering really need to. Also, the facilities $syslog and $local_fs
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering are now ignored, since systemd does not support early-boot
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering LSB init scripts anymore, and these facilities are implied
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering anyway for normal services. syslog.target has also been
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering removed hence.
4f755fc6ab8b75f89ed84c93cd5c3fac2a448b16Lennart Poettering * There ar new bus calls on PID1's Manager object for
4f755fc6ab8b75f89ed84c93cd5c3fac2a448b16Lennart Poettering canceling jobs, and removing snapshot units. Previously,
4f755fc6ab8b75f89ed84c93cd5c3fac2a448b16Lennart Poettering both calls were only available on the Job and Snapshot
4f755fc6ab8b75f89ed84c93cd5c3fac2a448b16Lennart Poettering objects themselves.
4f755fc6ab8b75f89ed84c93cd5c3fac2a448b16Lennart Poettering * systemd-journal-gatewayd gained SSL support.
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * The various "environment" files, such as /etc/locale.conf
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering now support continuation lines with a backslash ("\") as
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering last character in the line, similar in style (but different)
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering to how this is supported in shells.
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * For normal user processes the _SYSTEMD_USER_UNIT= field is
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering now implicitly appended to every log entry logged. systemctl
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering has been updated to filter by this field when operating on a
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering user systemd instance.
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * nspawn will now implicitly add the CAP_AUDIT_WRITE and
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering CAP_AUDIT_CONTROL capabilities to the capabilities set for
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering the container. This makes it easier to boot unmodified
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering Fedora systems in a container, which however still requires
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering audit=0 to be passed on the kernel command line. Auditing in
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering kernel and userspace is unfortunately still too broken in
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering context of containers, hence we recommend compiling it out
4d62fb4298a5904a53f484636c91540d08f68765Lennart Poettering of the kernel or using audit=0. Hopefully this will be fixed
25f5971b5e0b3ab5b91a7d0359cd7f5a5094c1d0Lennart Poettering one day for good in the kernel.
4d62fb4298a5904a53f484636c91540d08f68765Lennart Poettering * nspawn gained the new --bind= and --bind-ro= parameters to
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering bind mount specific directories from the host into the
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * nspawn will not mount its own devpts file system instance
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering into the container, in order not to leaker pty devices from
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering the host into the container.
2b583ce6576d4a074ce6f1570b3e60b65c64ae7dKay Sievers * systemd will now read the firmware boot time performance
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering from the EFI variables, if the used boot loader supports
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering this, and take it into account for boot performance analysis
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering via "systemd-analyze". This is currently supported only in
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering conjunction with Gummiboot, but could be supported by other
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering boot loaders too. For details, see:
9f7dad774ebfad23269800b7096eaad087481debVille Skyttä http://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * A new generator has been added that automatically mounts the
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek EFI System Partition (ESP) to /boot, if that directory
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek exists, is empty, and no other partition has been configured
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek to be mounted there.
9980033377c105d2cd6539c9d73ee61d4c2263b0Lennart Poettering * logind will now send out PrepareForSleep(false) out
9980033377c105d2cd6539c9d73ee61d4c2263b0Lennart Poettering unconditionally, after coming back from suspend. This may be
9980033377c105d2cd6539c9d73ee61d4c2263b0Lennart Poettering used by applications as asynchronous notification for
9980033377c105d2cd6539c9d73ee61d4c2263b0Lennart Poettering system resume events.
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * "systemctl unlock-sessions" has been added, that allows
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering unlocking the screens of all user sessions at once, similar
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering how "systemctl lock-sessions" already locked all users
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering sessions. This is backed by a new D-Bus call
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering UnlockSessions().
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * "loginctl seat-status" will now show the master device of a
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering seat. (i.e. the device of a seat that needs to be around for
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering the seat to be considered available, usually the graphics
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * tmpfiles gained a new "X" line type, that allows
a41fe3a29372f8e6c4e7733bf85940a023811301Lennart Poettering configuration of files and directories (with wildcards) that
a7f5bb1eafadbb08c8528baae588bbe773a37e79William Giokas shall be excluded from automatic cleanup ("aging").
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * udev permission rules are now only applied for "add" rules,
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering no longer for "change" events.
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * The log messages for lid events and power/sleep keypresses
acbeb42770e1e99955ebc4464a0439cf741b3aebZbigniew Jędrzejewski-Szmek now carry a message ID.
acbeb42770e1e99955ebc4464a0439cf741b3aebZbigniew Jędrzejewski-Szmek * We now have a substantially larger unit test suite, but this
acbeb42770e1e99955ebc4464a0439cf741b3aebZbigniew Jędrzejewski-Szmek continues to be work in progress.
acbeb42770e1e99955ebc4464a0439cf741b3aebZbigniew Jędrzejewski-Szmek * udevadm hwdb gained a new --root= parameter to change the
acbeb42770e1e99955ebc4464a0439cf741b3aebZbigniew Jędrzejewski-Szmek root directory to operate relative to.
ab1f063390f55e14a8de87f21c4fad199eb908a6Lennart Poettering * logind will now issue a sync() request to the kernel early
a7f5bb1eafadbb08c8528baae588bbe773a37e79William Giokas at shutdown, so that dirty buffers are flushed to disk early
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering instead of at the last moment, in order to optimize shutdown
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering times a little.
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * A new bootctl tool has been added that is an interface for
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering certain boot loader operations. This is currently a preview
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering and is likely to be extended into a small mechanism daemon
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering like timedated, localed, hostnamed, and can be used by
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering graphical UIs to enumerate available boot options, and
0f0dbc46ccf5aaaf3131446d0a4d78bc97a37295Lennart Poettering request boot into firmware operations.
a7f5bb1eafadbb08c8528baae588bbe773a37e79William Giokas * systemd-bootchart has been relicensed to LGPLv2.1+ to match
0f0dbc46ccf5aaaf3131446d0a4d78bc97a37295Lennart Poettering the rest of the package. It also has been updated to work
0f0dbc46ccf5aaaf3131446d0a4d78bc97a37295Lennart Poettering correctly in initrds.
0f0dbc46ccf5aaaf3131446d0a4d78bc97a37295Lennart Poettering * Policykit previously has been runtime optional, and is now
1ddf879acf388a4625150c3a97b76458f6d2a070Michal Schmidt also compile time optional via a configure switch.
0f0dbc46ccf5aaaf3131446d0a4d78bc97a37295Lennart Poettering * systemd-analyze has been reimplemented in C. Also "systemctl
687d0825a4636b1841dc0c01fbcbf3160dddab74Michal Vyskocil dot" has moved into systemd-analyze.
a7f5bb1eafadbb08c8528baae588bbe773a37e79William Giokas * "systemctl status" with no further parameters will now print
687d0825a4636b1841dc0c01fbcbf3160dddab74Michal Vyskocil the status of all active or failed units.
687d0825a4636b1841dc0c01fbcbf3160dddab74Michal Vyskocil * Operations such as "systemctl start" can now be executed
687d0825a4636b1841dc0c01fbcbf3160dddab74Michal Vyskocil with a new mode "--irreversible" which may be used to queue
687d0825a4636b1841dc0c01fbcbf3160dddab74Michal Vyskocil operations that cannot accidentally be reversed by a later
687d0825a4636b1841dc0c01fbcbf3160dddab74Michal Vyskocil job queuing. This is by default use to make shutdown
687d0825a4636b1841dc0c01fbcbf3160dddab74Michal Vyskocil requests more robust.
687d0825a4636b1841dc0c01fbcbf3160dddab74Michal Vyskocil * The Python API of systemd now gained a new module for
687d0825a4636b1841dc0c01fbcbf3160dddab74Michal Vyskocil reading journal files.
144f0fc0c8a5e2f6b72179e2b5fb992474da24adLennart Poettering * A new tool kernel-install has been added that can install
144f0fc0c8a5e2f6b72179e2b5fb992474da24adLennart Poettering kernel images according to the Boot Loader Specification:
144f0fc0c8a5e2f6b72179e2b5fb992474da24adLennart Poettering http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
144f0fc0c8a5e2f6b72179e2b5fb992474da24adLennart Poettering * Boot time console output has been improved to provide
144f0fc0c8a5e2f6b72179e2b5fb992474da24adLennart Poettering animated boot time output.
144f0fc0c8a5e2f6b72179e2b5fb992474da24adLennart Poettering * A new tool systemd-activate has been added which can be used
144f0fc0c8a5e2f6b72179e2b5fb992474da24adLennart Poettering to test socket activation with, directly from the command
40c32a4ad488256e934ce9ecc05ebfac04851711Léo Gillot-Lamure line. This should make it much easier to test and debug
40c32a4ad488256e934ce9ecc05ebfac04851711Léo Gillot-Lamure socket activation in daemons.
40c32a4ad488256e934ce9ecc05ebfac04851711Léo Gillot-Lamure * journalctl gained a new "--reverse" (or -r) option to show
40c32a4ad488256e934ce9ecc05ebfac04851711Léo Gillot-Lamure journal output in reverse order (i.e. newest line first).
40c32a4ad488256e934ce9ecc05ebfac04851711Léo Gillot-Lamure * journalctl gained a new "--user-unit=" option, that works
40c32a4ad488256e934ce9ecc05ebfac04851711Léo Gillot-Lamure similar to "--unit=" but filters for user units rather than
a41fe3a29372f8e6c4e7733bf85940a023811301Lennart Poettering * A number of unit files to ease adoption of systemd in
ff01d048b4c1455241c894cf7982662c9d28fd34Lennart Poettering initrds has been added. This moves some minimal logic from
a41fe3a29372f8e6c4e7733bf85940a023811301Lennart Poettering the various initrd implementations into systemd proper.
a41fe3a29372f8e6c4e7733bf85940a023811301Lennart Poettering * The journal files are now owned by a new group
a41fe3a29372f8e6c4e7733bf85940a023811301Lennart Poettering "systemd-journal", which exists specifically to allow access
a41fe3a29372f8e6c4e7733bf85940a023811301Lennart Poettering to the journal, and nothing else. Previously, we used the
a41fe3a29372f8e6c4e7733bf85940a023811301Lennart Poettering "adm" group for that, which however possible covers more
a41fe3a29372f8e6c4e7733bf85940a023811301Lennart Poettering than just journal/log file access. This new group is now
a41fe3a29372f8e6c4e7733bf85940a023811301Lennart Poettering already used by systemd-journal-gatewayd to ensure this
bc2f673ec24b59948fcfc35b3077fda0314e69d8Lennart Poettering daemon gets access to the journal files and as little else
bc2f673ec24b59948fcfc35b3077fda0314e69d8Lennart Poettering as possible. Note that "make install" will also set FS ACLs
bc2f673ec24b59948fcfc35b3077fda0314e69d8Lennart Poettering up for /var/log/journal to give "adm" and "wheel" read
bc2f673ec24b59948fcfc35b3077fda0314e69d8Lennart Poettering access to it, in addition to "systemd-journal" which owns
bc2f673ec24b59948fcfc35b3077fda0314e69d8Lennart Poettering the journal files. We recommend that packaging scripts also
bc2f673ec24b59948fcfc35b3077fda0314e69d8Lennart Poettering add read access to "adm", "wheel" to /var/log/journal, and
bc2f673ec24b59948fcfc35b3077fda0314e69d8Lennart Poettering all existing/future journal files. To normal users and
bc2f673ec24b59948fcfc35b3077fda0314e69d8Lennart Poettering administrators little changes, however packagers need to
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering ensure to create the "systemd-journal" system group at
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering package installation time.
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering * The systemd-journal-gatewayd now runs as unprivileged user
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering systemd-journal-gateway:systemd-journal-gateway. Packaging
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering scripts need to create these system user/group at
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering installation time.
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering * timedated now exposes a new boolean property CanNTP that
88d04e31ce0837ebf937ab46c3c39a0d93ab4c7cLennart Poettering indicates whether a local NTP service is available or not.
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering * systemd-detect-virt will now also detect xen PVs
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering * The pstore file system is now mounted by default, if it is available.
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering Contributions from: Adel Gadllah, Aleksander Morgado, Auke
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering Kok, Ayan George, Bastien Nocera, Colin Walters, Daniel Buch,
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering Daniel Wallace, Dave Reisner, David Herrmann, David Strauss,
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering Eelco Dolstra, Enrico Scholz, Frederic Crozat, Harald Hoyer,
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering Jan Janssen, Jonathan Callen, Kay Sievers, Lennart Poettering,
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering Lukas Nykryn, Mantas Mikulėnas, Marc-Antoine Perennou, Martin
88d04e31ce0837ebf937ab46c3c39a0d93ab4c7cLennart Poettering Pitt, Mauro Dreissig, Max F. Albrecht, Michael Biebl, Michael
88d04e31ce0837ebf937ab46c3c39a0d93ab4c7cLennart Poettering Olbrich, Michal Schmidt, Michal Sekletar, Michal Vyskocil,
88d04e31ce0837ebf937ab46c3c39a0d93ab4c7cLennart Poettering Michał Bartoszkiewicz, Mirco Tischler, Nathaniel Chen, Nestor
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering Ovroy, Oleksii Shevchuk, Paul W. Frields, Piotr Drąg, Rob
5076f0ccfd36b67512d44fe355b80305ced7dcbaLennart Poettering Clark, Ryan Lortie, Simon McVittie, Simon Peeters, Steven
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering Hiscocks, Thomas Hindoe Paaboel Andersen, Tollef Fog Heen, Tom
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering Gundersen, Umut Tezduyar, William Giokas, Zbigniew
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering Jędrzejewski-Szmek, Zeeshan Ali (Khattak)
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart PoetteringCHANGES WITH 197:
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering * Timer units now support calendar time events in addition to
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering monotonic time events. That means you can now trigger a unit
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering based on a calendar time specification such as "Thu,Fri
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering 2013-*-1,5 11:12:13" which refers to 11:12:13 of the first
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering or fifth day of any month of the year 2013, given that it is
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering a thursday or friday. This brings timer event support
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering considerably closer to cron's capabilities. For details on
27407a01c6c115ed09ad938ab95dcb56ab963ba9Zbigniew Jędrzejewski-Szmek the supported calendar time specification language see
27407a01c6c115ed09ad938ab95dcb56ab963ba9Zbigniew Jędrzejewski-Szmek * udev now supports a number of different naming policies for
e670b166a08b7c1031a9e7d7675fa9a29c3e19c9Zbigniew Jędrzejewski-Szmek network interfaces for predictable names, and a combination
27407a01c6c115ed09ad938ab95dcb56ab963ba9Zbigniew Jędrzejewski-Szmek of these policies is now the default. Please see this wiki
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering document for details:
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
e670b166a08b7c1031a9e7d7675fa9a29c3e19c9Zbigniew Jędrzejewski-Szmek * Auke Kok's bootchart implementation has been added to the
27407a01c6c115ed09ad938ab95dcb56ab963ba9Zbigniew Jędrzejewski-Szmek systemd tree. It's an optional component that can graph the
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering boot in quite some detail. It's one of the best bootchart
27407a01c6c115ed09ad938ab95dcb56ab963ba9Zbigniew Jędrzejewski-Szmek implementations around and minimal in its code and
27407a01c6c115ed09ad938ab95dcb56ab963ba9Zbigniew Jędrzejewski-Szmek * nss-myhostname has been integrated into the systemd source
27407a01c6c115ed09ad938ab95dcb56ab963ba9Zbigniew Jędrzejewski-Szmek tree. nss-myhostname guarantees that the local hostname
27407a01c6c115ed09ad938ab95dcb56ab963ba9Zbigniew Jędrzejewski-Szmek always stays resolvable via NSS. It has been a weak
27407a01c6c115ed09ad938ab95dcb56ab963ba9Zbigniew Jędrzejewski-Szmek requirement of systemd-hostnamed since a long time, and
27407a01c6c115ed09ad938ab95dcb56ab963ba9Zbigniew Jędrzejewski-Szmek since its code is actually trivial we decided to just
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering include it in systemd's source tree. It can be turned off
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering with a configure switch.
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering * The read-ahead logic is now capable of properly detecting
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering whether a btrfs file system is on SSD or rotating media, in
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering order to optimize the read-ahead scheme. Previously, it was
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering only capable of detecting this on traditional file systems
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering * In udev, additional device properties are now read from the
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering IAB in addition to the OUI database. Also, Bluetooth company
57fb9fb56db0584581ce33ee842dcbf5f1136856Lennart Poettering identities are attached to the devices as well.
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * In service files %U may be used as specifier that is
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering replaced by the configured user name of the service.
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * nspawn may now be invoked without a controlling TTY. This
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering makes it suitable for invocation as its own service. This
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering may be used to set up a simple containerized server system
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering using only core OS tools.
2b3987a863975f5a1fa1754725e3d07a5d4f6478Lennart Poettering * systemd and nspawn can now accept socket file descriptors
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering when they are started for socket activation. This enables
25f5971b5e0b3ab5b91a7d0359cd7f5a5094c1d0Lennart Poettering implementation of socket activated nspawn
2b3987a863975f5a1fa1754725e3d07a5d4f6478Lennart Poettering containers. i.e. think about autospawning an entire OS image
2b3987a863975f5a1fa1754725e3d07a5d4f6478Lennart Poettering when the first SSH or HTTP connection is received. We expect
2b3987a863975f5a1fa1754725e3d07a5d4f6478Lennart Poettering that similar functionality will also be added to libvirt-lxc
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * journalctl will now suppress ANSI color codes when
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering presenting log data.
25f5971b5e0b3ab5b91a7d0359cd7f5a5094c1d0Lennart Poettering * systemctl will no longer show control group information for
25f5971b5e0b3ab5b91a7d0359cd7f5a5094c1d0Lennart Poettering a unit if a the control group is empty anyway.
25f5971b5e0b3ab5b91a7d0359cd7f5a5094c1d0Lennart Poettering * logind can now automatically suspend/hibernate/shutdown the
25f5971b5e0b3ab5b91a7d0359cd7f5a5094c1d0Lennart Poettering system on idle.
25f5971b5e0b3ab5b91a7d0359cd7f5a5094c1d0Lennart Poettering * /etc/machine-info and hostnamed now also expose the chassis
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering type of the system. This can be used to determine whether
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering the local system is a laptop, desktop, handset or
68562936c243a2e2190a7232c4805ffd094e9b3bWilliam Giokas tablet. This information may either be configured by the
68562936c243a2e2190a7232c4805ffd094e9b3bWilliam Giokas user/vendor or is automatically determined from ACPI and DMI
68562936c243a2e2190a7232c4805ffd094e9b3bWilliam Giokas information if possible.
68562936c243a2e2190a7232c4805ffd094e9b3bWilliam Giokas * A number of PolicyKit actions are now bound together with
68562936c243a2e2190a7232c4805ffd094e9b3bWilliam Giokas "imply" rules. This should simplify creating UIs because
68562936c243a2e2190a7232c4805ffd094e9b3bWilliam Giokas many actions will now authenticate similar ones as well.
68562936c243a2e2190a7232c4805ffd094e9b3bWilliam Giokas * Unit files learnt a new condition ConditionACPower= which
68562936c243a2e2190a7232c4805ffd094e9b3bWilliam Giokas may be used to conditionalize a unit depending on whether an
68562936c243a2e2190a7232c4805ffd094e9b3bWilliam Giokas AC power source is connected or not, of whether the system
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek is running on battery power.
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek * systemctl gained a new "is-failed" verb that may be used in
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek shell scripts and suchlike to check whether a specific unit
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek is in the "failed" state.
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek * The EnvironmentFile= setting in unit files now supports file
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek globbing, and can hence be used to easily read a number of
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek environment files at once.
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek * systemd will no longer detect and recognize specific
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek distributions. All distribution-specific #ifdeffery has been
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek removed, systemd is now fully generic and
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek distribution-agnostic. Effectively, not too much is lost as
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek a lot of the code is still accessible via explicit configure
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek switches. However, support for some distribution specific
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek legacy configuration file formats has been dropped. We
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek recommend distributions to simply adopt the configuration
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering files everybody else uses now and convert the old
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering configuration from packaging scripts. Most distributions
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering already did that. If that's not possible or desirable,
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering distributions are welcome to forward port the specific
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering pieces of code locally from the git history.
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * When logging a message about a unit systemd will now always
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering log the unit name in the message meta data.
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering * localectl will now also discover system locale data that is
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering not stored in locale archives, but directly unpacked.
1fd961211df69ce672252d543bf4777738647048Zbigniew Jędrzejewski-Szmek * logind will no longer unconditionally use framebuffer
25f5971b5e0b3ab5b91a7d0359cd7f5a5094c1d0Lennart Poettering devices as seat masters, i.e. as devices that are required
4d62fb4298a5904a53f484636c91540d08f68765Lennart Poettering to be existing before a seat is considered preset. Instead,
68562936c243a2e2190a7232c4805ffd094e9b3bWilliam Giokas it will now look for all devices that are tagged as
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering "seat-master" in udev. By default framebuffer devices will
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering be marked as such, but depending on local systems other
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering devices might be marked as well. This may be used to
8f7a3c1402a8de36b2c63935358a53510d2fe7c1Lennart Poettering integrate graphics cards using closed source drivers (such
from an indexed database that is keyed by vendor/product IDs
userspace device metadata. Previously, data from the PCI/USB
(i.e. those for non-standard runlevels such as 'b' or 'S')
or ArchLinux /etc/rc.conf support. We recommend the
systemd without blkid and/or kmod support.
more than once. I.e. in addition to transitions from the
* We now install a README each in /var/log/ and
/etc/rc.d/init.d explaining where the system logs and init
* browse.html now allows filtering and showing detailed
* journald.conf's RuntimeMinSize=, PersistentMinSize= settings
* If /etc/vconsole.conf is non-existent or empty we will no
the userspace fonts/key maps we previously overloaded them
/etc/vconsole.conf with the appropriate contents.
"systemd-journal-gatewayd.service". This service provides
# systemctl start systemd-journal-gatewayd.service
/var/log/messages compatible format. The same as JSON:
* nspawn will now create a symlink /etc/localtime in the
changed to create/update the appropriate symlink.
systemd-journald.service" to see this information.
* HandleSleepKey= in logind.conf has been split up into
journald.conf which may be used to control how user journals
are split off. See journald.conf(5) for details.
* timedated will no longer write or process /etc/timezone,
anymore /etc/localtime always being a symlink is now safe,
and hence the information in /etc/timezone is not necessary
/dev/kmsg has now been added and is enabled by default.
* Support for reading kernel messages from /proc/kmsg has now
reading structured messages from /dev/kmsg (see
above). /proc/kmsg is now exclusive property of classic
warning/notice log levels in bright white. It also supports
* libsystemd-logind.so gained a new call sd_journal_perror()
* /etc/crypttab entries now understand the new keyfile-size=
* The prefdm.service file has been removed. Distributions
* /etc/crypttab entries now understand the new keyfile-offset=
systemd-journal-flush.service, rather than implicitly simply
by seeing /var/log/journal to be writable.
/usr/lib/systemd/systemd-readahead analyze /.readahead
systemctl enable debug-shell.service
udevadm info /dev/sda
udevadm info /sys/class/block/sda
* We now include RPM macros for service enabling/disabling
systemctl status /dev/sda
system.conf parsing.
* systemd.confirm_spawn= on the kernel command line should now
from /usr/lib/systemd/ntp-units.d/*.list,
systemd-timedated-ntp.target has been removed.
journald.conf. These options allow reducing the amount of
* TimerSlackNSec= can now be specified in system.conf for
/usr/bin/avahi-daemon" to get all log output of a specific
* CapabilityBoundingSet= in system.conf now also influences
* udev: /lib/udev/devices/ are not read anymore; systemd-tmpfiles
in /usr/lib/systemd/. Standalone builds or non-systemd systems need
* The config files: /etc/systemd/systemd-logind.conf and
/etc/systemd/systemd-journald.conf have been renamed to
* logind now implements a sleep/shutdown/idle inhibiting logic
systemd-vconsole-setup.service) now detect properly if they
/etc/fstab are out of date due to changes in fstab that
between user/admin configuration and vendor defaults.
* PrivateTmp= now affects both /tmp and /var/tmp.
system.conf. Mounting file systems at boot has to take place
masked and /etc/fstab can override it.
* Show /etc/os-release data in systemd-analyze output
* sd-login.h is C++ comptaible again
* Extend the /etc/os-release format on request of the Debian
* systems lacking /etc/os-release are no longer supported.
* Various functionality updates to libsystemd-login.so
* The systemd binary is installed /usr/lib/systemd/systemd now;
An existing /sbin/init symlink needs to be adapted with the
* A new kernel command line option systemd.setenv= is
with STDERR/STDOUT connected to the journal. Can also act as
* Introduce remote-fs-pre.target which is ordered before all
fixed (i.e. PID file creation must have finished before the
* /etc/rc.local is now hooked in via a generator binary, and
of /usr/local by default.