NEWS revision 43447fb72693d62363a1a271dacc70d400ed685b
71092d70af35567dd154d3de2ce04ce62e157a7cLennart Poetteringsystemd System and Service Manager
7c66aeba0f28cb82027d6015405ed71afa3b6059Kay SieversCHANGES WITH 198:
c904f64d84db8c4eebedf210ba10893f19ba05edLennart Poettering * Configuration of unit files may now be extended via drop-in
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers files without having to edit/override the unit files
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers themselves. More specifically, if the administrator wants to
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers change one value for a service file foobar.service he can
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers now do so by dropping in a configuration snippet into
9a36607584bbd1d78775353e022a51794b4e27b1Lennart Poettering /etc/systemd/systemd/foobar.service.d/*.conf. The unit logic
9a36607584bbd1d78775353e022a51794b4e27b1Lennart Poettering will load all these snippets and apply them on top of the
a40593a0d0d740efa387e35411e1e456a6c5aba7Lennart Poettering main unit configuration file, possibly extending or
20ffc4c4a9226b0e45cc02ad9c0108981626c0bbKay Sievers overriding its settings. Using these drop-in snippets is
26306aed13e73b6edbc4b3fd7b97e421e152b56bKay Sievers generally nicer than the two earlier options for changing
26306aed13e73b6edbc4b3fd7b97e421e152b56bKay Sievers unit files locally: copying the files from
26306aed13e73b6edbc4b3fd7b97e421e152b56bKay Sievers /usr/lib/systemd/system/ to /etc/systemd/system/ and editing
26306aed13e73b6edbc4b3fd7b97e421e152b56bKay Sievers them there; or creating a new file in /etc/systemd/system/
26306aed13e73b6edbc4b3fd7b97e421e152b56bKay Sievers that incorporates the original one via ".include". Drop-in
26306aed13e73b6edbc4b3fd7b97e421e152b56bKay Sievers snippets into these .d/ directories can be placed in any
26306aed13e73b6edbc4b3fd7b97e421e152b56bKay Sievers directory systemd looks for units in, and the usual
26306aed13e73b6edbc4b3fd7b97e421e152b56bKay Sievers overriding semantics between /usr/lib, /etc and /run apply
2d19f95caef8668aeb5c05a18b39c6b79f710856Kay Sievers for them too.
a4cc3e5ccc0a3033d764a9eb3ae5ee90db560682Lennart Poettering * Most unit file settings which take lists of items can now be
a4cc3e5ccc0a3033d764a9eb3ae5ee90db560682Lennart Poettering reset by assigning the empty string to them. For example,
a4cc3e5ccc0a3033d764a9eb3ae5ee90db560682Lennart Poettering normally, settings such as Environment=FOO=BAR append a new
0028da22f194f7c0ca7169a48cf32e1bc0f9138aLennart Poettering environment variable assignment to the environment block,
a4cc3e5ccc0a3033d764a9eb3ae5ee90db560682Lennart Poettering each time they are used. By assigning Environment= the empty
7e2c2bcf1285d124c9c656ff46cafa4db0a987c9Lennart Poettering string the environment block can be reset to empty. This is
f0c15f288513aa4da012db7497a4aec3f7763ebbLennart Poettering particularly useful with the .d/*.conf drop-in snippets
7b4da18c1717f811bae67ea3d39290495857c03eLennart Poettering mentioned above, since this adds the ability to reset list
81d112a8f0522a09fcfe317f420363a2b728137cLennart Poettering settings from vendor unit files via these drop-ins.
81d112a8f0522a09fcfe317f420363a2b728137cLennart Poettering * systemctl gained a new "list-dependencies" command for
55d32caf94d8df547ca763be52b0c35bb6388606Lennart Poettering listing the dependencies of a unit recursively.
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering * Inhibitors are now honored and listed by "systemctl
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering suspend", "systemctl poweroff" (and similar) too, not only
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering GNOME. These commands will also list active sessions by
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering * Resource limits (as exposed by the various control group
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering controllers) can now be controlled dynamically at runtime
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering for all units. More specifically, you can now use a command
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering like "systemctl set-cgroup-attr foobar.service cpu.shares
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering 2000" to alter the CPU shares a specific service gets. These
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering settings are stored persistently on disk, and thus allow the
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering administrator to easily adjust the resource usage of
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering services with a few simple commands. This dynamic resource
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering management logic is also available to other programs via the
049b4474b35d0b854f87b0795a5113665413f6a4Lennart Poettering bus. Almost any kernel cgroup attribute and controller is
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering * systemd-vconsole-setup will now copy all font settings to
248aa28ff27418ad074439014d476ed8cd2e01dbLennart Poettering all allocated VTs, where it previously applied them only to
248aa28ff27418ad074439014d476ed8cd2e01dbLennart Poettering the foreground VT.
154ff088d371bee5651eaa2bc9bde8a34c185656Lennart Poettering * libsystemd-login gained the new sd_session_get_tty() API
e7256c5c137e58fb3dc1ebca8e5845733a5f733cLennart Poettering * This release drops support for a few legacy or
e7256c5c137e58fb3dc1ebca8e5845733a5f733cLennart Poettering distribution-specific LSB facility names when parsing init
042e33ae3a7feb08c8105f1345fd244315109405Lennart Poettering scripts: $x-display-manager, $mail-transfer-agent,
042e33ae3a7feb08c8105f1345fd244315109405Lennart Poettering $mail-transport-agent, $mail-transfer-agent, $smtp,
18d4e7c26e7806ac363d19989df7144d5058ce41Lennart Poettering $null. Also, the mail-transfer-agent.target unit backing
18d4e7c26e7806ac363d19989df7144d5058ce41Lennart Poettering this has been removed. Distributions which want to retain
36c0868b67a9387d39c97983d3d22cfce0fedc62Lennart Poettering compatibility with this should carry the burden for
36c0868b67a9387d39c97983d3d22cfce0fedc62Lennart Poettering supporting this themselves and patch support for these back
fa7deadb074dfbe473cf3bd942768dbd94cbf7c3Lennart Poettering in, if they really need to. Also, the facilities $syslog and
fa7deadb074dfbe473cf3bd942768dbd94cbf7c3Lennart Poettering $local_fs are now ignored, since systemd does not support
c5757cc8dbcddb3e8b13ebba4ea4b36589bfd3dbLennart Poettering early-boot LSB init scripts anymore, and these facilities
69af45035913e7119cffd94c542bd3039600e45dZbigniew Jędrzejewski-Szmek are implied anyway for normal services. syslog.target has
c5757cc8dbcddb3e8b13ebba4ea4b36589bfd3dbLennart Poettering also been removed.
c5757cc8dbcddb3e8b13ebba4ea4b36589bfd3dbLennart Poettering * There are new bus calls on PID1's Manager object for
c5757cc8dbcddb3e8b13ebba4ea4b36589bfd3dbLennart Poettering cancelling jobs, and removing snapshot units. Previously,
69af45035913e7119cffd94c542bd3039600e45dZbigniew Jędrzejewski-Szmek both calls were only available on the Job and Snapshot
d907c2086716681936755f28ac80b3445c6d0196Lennart Poettering objects themselves.
d907c2086716681936755f28ac80b3445c6d0196Lennart Poettering * systemd-journal-gatewayd gained SSL support.
d907c2086716681936755f28ac80b3445c6d0196Lennart Poettering * The various "environment" files, such as /etc/locale.conf
47a1454f707dff2e5d1db2f8bfcc406805d4d450Lennart Poettering now support continuation lines with a backslash ("\") as
47a1454f707dff2e5d1db2f8bfcc406805d4d450Lennart Poettering last character in the line, similar in style (but different)
47a1454f707dff2e5d1db2f8bfcc406805d4d450Lennart Poettering to how this is supported in shells.
049b4474b35d0b854f87b0795a5113665413f6a4Lennart Poettering * For normal user processes the _SYSTEMD_USER_UNIT= field is
b0adb5468cccf32da1365c2e8f97b2b233c4fa30Lennart Poettering now implicitly appended to every log entry logged. systemctl
b0adb5468cccf32da1365c2e8f97b2b233c4fa30Lennart Poettering has been updated to filter by this field when operating on a
bdeeb6b543a2a2d0a494f17b85f1498859cdfc2fLennart Poettering user systemd instance.
bdeeb6b543a2a2d0a494f17b85f1498859cdfc2fLennart Poettering * nspawn will now implicitly add the CAP_AUDIT_WRITE and
bdeeb6b543a2a2d0a494f17b85f1498859cdfc2fLennart Poettering CAP_AUDIT_CONTROL capabilities to the capabilities set for
bdeeb6b543a2a2d0a494f17b85f1498859cdfc2fLennart Poettering the container. This makes it easier to boot unmodified
bdeeb6b543a2a2d0a494f17b85f1498859cdfc2fLennart Poettering Fedora systems in a container, which however still requires
bdeeb6b543a2a2d0a494f17b85f1498859cdfc2fLennart Poettering audit=0 to be passed on the kernel command line. Auditing in
bdeeb6b543a2a2d0a494f17b85f1498859cdfc2fLennart Poettering kernel and userspace is unfortunately still too broken in
bdeeb6b543a2a2d0a494f17b85f1498859cdfc2fLennart Poettering context of containers, hence we recommend compiling it out
bdeeb6b543a2a2d0a494f17b85f1498859cdfc2fLennart Poettering of the kernel or using audit=0. Hopefully this will be fixed
174da5c5cabbaf3f3a8fc1f14bd6a3b50b2ea278Lennart Poettering one day for good in the kernel.
fb6becb4436ae4078337011b2017ce294e7361cfLennart Poettering * nspawn gained the new --bind= and --bind-ro= parameters to
fb6becb4436ae4078337011b2017ce294e7361cfLennart Poettering bind mount specific directories from the host into the
6c12b52e19640747e96f89d85422941a23dc6b29Lennart Poettering * nspawn will now mount its own devpts file system instance
6c12b52e19640747e96f89d85422941a23dc6b29Lennart Poettering into the container, in order not to leak pty devices from
11ddb6f48e367ae4b51c31d199b28f5be041a301Lennart Poettering the host into the container.
7041efe9600e569da6089c36d00fa3ff58e33178Lennart Poettering * systemd will now read the firmware boot time performance
7041efe9600e569da6089c36d00fa3ff58e33178Lennart Poettering information from the EFI variables, if the used boot loader
b42defe3b8ed3947d85db654a6cdb1b9999f394dLennart Poettering supports this, and takes it into account for boot performance
b42defe3b8ed3947d85db654a6cdb1b9999f394dLennart Poettering analysis via "systemd-analyze". This is currently supported
4ad490007b70e6ac18d3cb04fa2ed92eba1451faLennart Poettering only in conjunction with Gummiboot, but could be supported
3d3ee759e682701fce77b6559508e697e9e60fbfLennart Poettering by other boot loaders too. For details see:
9444b1f20e311f073864d81e913bd4f32fe95cfdLennart Poettering http://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface
9444b1f20e311f073864d81e913bd4f32fe95cfdLennart Poettering * A new generator has been added that automatically mounts the
69af45035913e7119cffd94c542bd3039600e45dZbigniew Jędrzejewski-Szmek EFI System Partition (ESP) to /boot, if that directory
9444b1f20e311f073864d81e913bd4f32fe95cfdLennart Poettering exists, is empty, and no other file system has been
9444b1f20e311f073864d81e913bd4f32fe95cfdLennart Poettering configured to be mounted there.
a016b9228f338cb9b380ce7e00826ef462767d98Lennart Poettering * logind will now send out PrepareForSleep(false) out
a016b9228f338cb9b380ce7e00826ef462767d98Lennart Poettering unconditionally, after coming back from suspend. This may be
a016b9228f338cb9b380ce7e00826ef462767d98Lennart Poettering used by applications as asynchronous notification for
a016b9228f338cb9b380ce7e00826ef462767d98Lennart Poettering system resume events.
1f263d4dc23b9807ac6138eb5014d3d94c5fe51aLennart Poettering * "systemctl unlock-sessions" has been added, that allows
1f263d4dc23b9807ac6138eb5014d3d94c5fe51aLennart Poettering unlocking the screens of all user sessions at once, similar
9444b1f20e311f073864d81e913bd4f32fe95cfdLennart Poettering how "systemctl lock-sessions" already locked all users
1f263d4dc23b9807ac6138eb5014d3d94c5fe51aLennart Poettering sessions. This is backed by a new D-Bus call UnlockSessions().
1f263d4dc23b9807ac6138eb5014d3d94c5fe51aLennart Poettering * "loginctl seat-status" will now show the master device of a
4e09014daf8f98584b3f15e64e93bed232e70a6bLennart Poettering seat. (i.e. the device of a seat that needs to be around for
4e09014daf8f98584b3f15e64e93bed232e70a6bLennart Poettering the seat to be considered available, usually the graphics
a65f06bb27688a6738f2f94b7f055f4c66768d63Zbigniew Jędrzejewski-Szmek * tmpfiles gained a new "X" line type, that allows
4e09014daf8f98584b3f15e64e93bed232e70a6bLennart Poettering configuration of files and directories (with wildcards) that
4e09014daf8f98584b3f15e64e93bed232e70a6bLennart Poettering shall be excluded from automatic cleanup ("aging").
4e09014daf8f98584b3f15e64e93bed232e70a6bLennart Poettering * udev default rules set the device node permissions now only
4e09014daf8f98584b3f15e64e93bed232e70a6bLennart Poettering at "add" events, and do not change them any longer with a
4e09014daf8f98584b3f15e64e93bed232e70a6bLennart Poettering later "change" event.
eb01ba5de14859d7a94835ab9299de40132d549aLennart Poettering * The log messages for lid events and power/sleep keypresses
eb01ba5de14859d7a94835ab9299de40132d549aLennart Poettering now carry a message ID.
eb01ba5de14859d7a94835ab9299de40132d549aLennart Poettering * We now have a substantially larger unit test suite, but this
eb01ba5de14859d7a94835ab9299de40132d549aLennart Poettering continues to be work in progress.
eb01ba5de14859d7a94835ab9299de40132d549aLennart Poettering * udevadm hwdb gained a new --root= parameter to change the
eb01ba5de14859d7a94835ab9299de40132d549aLennart Poettering root directory to operate relative to.
e4ee6e5cc3e8e23e1ecc0d9fa756d9cc2534d218Lennart Poettering * logind will now issue a background sync() request to the kernel
c78196699d3d805b2237896a1d2b8efeec6068d0Lennart Poettering early at shutdown, so that dirty buffers are flushed to disk early
86312ab8de59c1066d6d2b456f3a9106ce3e0991Lennart Poettering instead of at the last moment, in order to optimize shutdown
86312ab8de59c1066d6d2b456f3a9106ce3e0991Lennart Poettering times a little.
86312ab8de59c1066d6d2b456f3a9106ce3e0991Lennart Poettering * A new bootctl tool has been added that is an interface for
86312ab8de59c1066d6d2b456f3a9106ce3e0991Lennart Poettering certain boot loader operations. This is currently a preview
86312ab8de59c1066d6d2b456f3a9106ce3e0991Lennart Poettering and is likely to be extended into a small mechanism daemon
eb01ba5de14859d7a94835ab9299de40132d549aLennart Poettering like timedated, localed, hostnamed, and can be used by
154ff088d371bee5651eaa2bc9bde8a34c185656Lennart Poettering graphical UIs to enumerate available boot options, and
154ff088d371bee5651eaa2bc9bde8a34c185656Lennart Poettering request boot into firmware operations.
154ff088d371bee5651eaa2bc9bde8a34c185656Lennart Poettering * systemd-bootchart has been relicensed to LGPLv2.1+ to match
7e853a9b9a858edbc24e6c85d134478cec840173Lennart Poettering the rest of the package. It also has been updated to work
7e853a9b9a858edbc24e6c85d134478cec840173Lennart Poettering correctly in initrds.
7e853a9b9a858edbc24e6c85d134478cec840173Lennart Poettering * Policykit previously has been runtime optional, and is now
7e853a9b9a858edbc24e6c85d134478cec840173Lennart Poettering also compile time optional via a configure switch.
d686f034c3b9021e07faefe172ee660abd952871Lennart Poettering * systemd-analyze has been reimplemented in C. Also "systemctl
d686f034c3b9021e07faefe172ee660abd952871Lennart Poettering dot" has moved into systemd-analyze.
19aa7c4fef4a3f1dfc6d9980574ca220a6a40a71Lennart Poettering * "systemctl status" with no further parameters will now print
69af45035913e7119cffd94c542bd3039600e45dZbigniew Jędrzejewski-Szmek the status of all active or failed units.
461bd8e47cafacfcd38389e7558330bfb6e902adLennart Poettering * Operations such as "systemctl start" can now be executed
461bd8e47cafacfcd38389e7558330bfb6e902adLennart Poettering with a new mode "--irreversible" which may be used to queue
461bd8e47cafacfcd38389e7558330bfb6e902adLennart Poettering operations that cannot accidentally be reversed by a later
ab8e074ce25b9947314c69e17afe1bd2527ee26dLennart Poettering job queuing. This is by default used to make shutdown
ab8e074ce25b9947314c69e17afe1bd2527ee26dLennart Poettering requests more robust.
ab8e074ce25b9947314c69e17afe1bd2527ee26dLennart Poettering * The Python API of systemd now gained a new module for
ab8e074ce25b9947314c69e17afe1bd2527ee26dLennart Poettering reading journal files.
ab8e074ce25b9947314c69e17afe1bd2527ee26dLennart Poettering * A new tool kernel-install has been added that can install
ab8e074ce25b9947314c69e17afe1bd2527ee26dLennart Poettering kernel images according to the Boot Loader Specification:
b454b11220e87add6d0f011695c7912b009c853dLennart Poettering http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
b454b11220e87add6d0f011695c7912b009c853dLennart Poettering * Boot time console output has been improved to provide
b454b11220e87add6d0f011695c7912b009c853dLennart Poettering animated boot time output for hanging jobs.
755123030a4b4c82251b49155aa0e7f523081558Harald Hoyer * A new tool systemd-activate has been added which can be used
4a449ed73d2c1cfb91a1c773b70231b3457b3046Lennart Poettering to test socket activation with, directly from the command
4a449ed73d2c1cfb91a1c773b70231b3457b3046Lennart Poettering line. This should make it much easier to test and debug
4ff49cb63075aba646b578f2516b37a8dfd5a65bLennart Poettering socket activation in daemons.
fff87a35d9e26c0d4ea41273a963c0eb20e18da4Zbigniew Jędrzejewski-Szmek * journalctl gained a new "--reverse" (or -r) option to show
fff87a35d9e26c0d4ea41273a963c0eb20e18da4Zbigniew Jędrzejewski-Szmek journal output in reverse order (i.e. newest line first).
fff87a35d9e26c0d4ea41273a963c0eb20e18da4Zbigniew Jędrzejewski-Szmek * journalctl gained a new "--pager-end" (or -e) option to jump
b8b4d3dddc7611dce3bf28004b0375d661120c62Lennart Poettering to immediately jump to the end of the journal in the
b8b4d3dddc7611dce3bf28004b0375d661120c62Lennart Poettering pager. This is only supported in conjunction with "less".
b8b4d3dddc7611dce3bf28004b0375d661120c62Lennart Poettering * journalctl gained a new "--user-unit=" option, that works
b8b4d3dddc7611dce3bf28004b0375d661120c62Lennart Poettering similar to "--unit=" but filters for user units rather than
3df82d5a8cdc510f518fd5e234ccb3233b748719Lennart Poettering * A number of unit files to ease adoption of systemd in
3df82d5a8cdc510f518fd5e234ccb3233b748719Lennart Poettering initrds has been added. This moves some minimal logic from
b5c03638d48c07aa0eaf13b5f54000c7133e1883Lennart Poettering the various initrd implementations into systemd proper.
b5c03638d48c07aa0eaf13b5f54000c7133e1883Lennart Poettering * The journal files are now owned by a new group
b5c03638d48c07aa0eaf13b5f54000c7133e1883Lennart Poettering "systemd-journal", which exists specifically to allow access
b5c03638d48c07aa0eaf13b5f54000c7133e1883Lennart Poettering to the journal, and nothing else. Previously, we used the
752beb0c8560fb7e989d2f8da5e10c4692d78422Lennart Poettering "adm" group for that, which however possibly covers more
752beb0c8560fb7e989d2f8da5e10c4692d78422Lennart Poettering than just journal/log file access. This new group is now
eece8c6fb5f4d354dcef6fd369e876c4f3a3f163Lennart Poettering already used by systemd-journal-gatewayd to ensure this
eece8c6fb5f4d354dcef6fd369e876c4f3a3f163Lennart Poettering daemon gets access to the journal files and as little else
eece8c6fb5f4d354dcef6fd369e876c4f3a3f163Lennart Poettering as possible. Note that "make install" will also set FS ACLs
d325d9bcfa8846a65767087f958a2dd11139d0e7Kay Sievers up for /var/log/journal to give "adm" and "wheel" read
d325d9bcfa8846a65767087f958a2dd11139d0e7Kay Sievers access to it, in addition to "systemd-journal" which owns
d325d9bcfa8846a65767087f958a2dd11139d0e7Kay Sievers the journal files. We recommend that packaging scripts also
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering add read access to "adm" + "wheel" to /var/log/journal, and
356ce9915ab1a4a1e6dc26954df34936a69e7c12Lennart Poettering all existing/future journal files. To normal users and
356ce9915ab1a4a1e6dc26954df34936a69e7c12Lennart Poettering administrators little changes, however packagers need to
356ce9915ab1a4a1e6dc26954df34936a69e7c12Lennart Poettering ensure to create the "systemd-journal" system group at
356ce9915ab1a4a1e6dc26954df34936a69e7c12Lennart Poettering package installation time.
3b953d68c628c6ae70adba871719ac0f16083b51Josh Triplett * The systemd-journal-gatewayd now runs as unprivileged user
3b953d68c628c6ae70adba871719ac0f16083b51Josh Triplett systemd-journal-gateway:systemd-journal-gateway. Packaging
3b953d68c628c6ae70adba871719ac0f16083b51Josh Triplett scripts need to create these system user/group at
3b953d68c628c6ae70adba871719ac0f16083b51Josh Triplett installation time.
09f727eebd87661f263d3c2c1e0de7b7771acd40Lennart Poettering * timedated now exposes a new boolean property CanNTP that
09f727eebd87661f263d3c2c1e0de7b7771acd40Lennart Poettering indicates whether a local NTP service is available or not.
795607b22308f5b92073b012e43be1892fdd97c0Lennart Poettering * systemd-detect-virt will now also detect xen PVs
795607b22308f5b92073b012e43be1892fdd97c0Lennart Poettering * The pstore file system is now mounted by default, if it is
795607b22308f5b92073b012e43be1892fdd97c0Lennart Poettering * In addition to the SELinux and IMA policies we will now also
0be8342c04bbf129b4a21e5073eacccbbce4e896Lennart Poettering load SMACK policies at early boot.
0be8342c04bbf129b4a21e5073eacccbbce4e896Lennart Poettering Contributions from: Adel Gadllah, Aleksander Morgado, Auke
0be8342c04bbf129b4a21e5073eacccbbce4e896Lennart Poettering Kok, Ayan George, Bastien Nocera, Colin Walters, Daniel Buch,
0be8342c04bbf129b4a21e5073eacccbbce4e896Lennart Poettering Daniel Wallace, Dave Reisner, David Herrmann, David Strauss,
69af45035913e7119cffd94c542bd3039600e45dZbigniew Jędrzejewski-Szmek Eelco Dolstra, Enrico Scholz, Frederic Crozat, Harald Hoyer,
487060c2394b7703e59650ef332053645ffae2a3Lennart Poettering Jan Janssen, Jonathan Callen, Kay Sievers, Lennart Poettering,
e5ec62c56963d997edaffa904af5dc45dac23988Lennart Poettering Lukas Nykryn, Mantas Mikulėnas, Marc-Antoine Perennou, Martin
54c31a79f72ff57ac8eba089acacc4ab482b745dLennart Poettering Pitt, Mauro Dreissig, Max F. Albrecht, Michael Biebl, Michael
826872b61e4857dfffe63ba84e2b005623baecd6Lennart Poettering Olbrich, Michal Schmidt, Michal Sekletar, Michal Vyskocil,
826872b61e4857dfffe63ba84e2b005623baecd6Lennart Poettering Michał Bartoszkiewicz, Mirco Tischler, Nathaniel Chen, Nestor
54c31a79f72ff57ac8eba089acacc4ab482b745dLennart Poettering Ovroy, Oleksii Shevchuk, Paul W. Frields, Piotr Drąg, Rob
826872b61e4857dfffe63ba84e2b005623baecd6Lennart Poettering Clark, Ryan Lortie, Simon McVittie, Simon Peeters, Steven
8973790ee6f62132b1b57de15c4edaef2c097004Lennart Poettering Hiscocks, Thomas Hindoe Paaboel Andersen, Tollef Fog Heen, Tom
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering Gundersen, Umut Tezduyar, William Giokas, Zbigniew
69af45035913e7119cffd94c542bd3039600e45dZbigniew Jędrzejewski-Szmek Jędrzejewski-Szmek, Zeeshan Ali (Khattak)
3679d1126bae52e02f6cd60fca196f616b9e660dLennart PoetteringCHANGES WITH 197:
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering * Timer units now support calendar time events in addition to
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering monotonic time events. That means you can now trigger a unit
69af45035913e7119cffd94c542bd3039600e45dZbigniew Jędrzejewski-Szmek based on a calendar time specification such as "Thu,Fri
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering 2013-*-1,5 11:12:13" which refers to 11:12:13 of the first
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering or fifth day of any month of the year 2013, given that it is
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering a thursday or friday. This brings timer event support
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering considerably closer to cron's capabilities. For details on
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering the supported calendar time specification language see
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering * udev now supports a number of different naming policies for
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering network interfaces for predictable names, and a combination
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering of these policies is now the default. Please see this wiki
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering document for details:
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering * Auke Kok's bootchart implementation has been added to the
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering systemd tree. It's an optional component that can graph the
cbb7712189527f9f483321607e44c4ead3dd11b8Lennart Poettering boot in quite some detail. It's one of the best bootchart
cbb7712189527f9f483321607e44c4ead3dd11b8Lennart Poettering implementations around and minimal in its code and
990ffbe5cffe7f11a8d3ab2258a85fc52b97bf60Lennart Poettering * nss-myhostname has been integrated into the systemd source
f8aeee1f1fe432924b355f48f01f09c9a552ed97Lennart Poettering tree. nss-myhostname guarantees that the local hostname
f8aeee1f1fe432924b355f48f01f09c9a552ed97Lennart Poettering always stays resolvable via NSS. It has been a weak
f8aeee1f1fe432924b355f48f01f09c9a552ed97Lennart Poettering requirement of systemd-hostnamed since a long time, and
f8aeee1f1fe432924b355f48f01f09c9a552ed97Lennart Poettering since its code is actually trivial we decided to just
f8aeee1f1fe432924b355f48f01f09c9a552ed97Lennart Poettering include it in systemd's source tree. It can be turned off
f8aeee1f1fe432924b355f48f01f09c9a552ed97Lennart Poettering with a configure switch.
356ce9915ab1a4a1e6dc26954df34936a69e7c12Lennart Poettering * The read-ahead logic is now capable of properly detecting
490b7e47093d491a2bdb1084fe92b796f4e07eefLennart Poettering whether a btrfs file system is on SSD or rotating media, in
81d112a8f0522a09fcfe317f420363a2b728137cLennart Poettering order to optimize the read-ahead scheme. Previously, it was
490b7e47093d491a2bdb1084fe92b796f4e07eefLennart Poettering only capable of detecting this on traditional file systems
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * In udev, additional device properties are now read from the
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering IAB in addition to the OUI database. Also, Bluetooth company
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering identities are attached to the devices as well.
e41814846c19a48f4490169d82e359e005c4db45Lennart Poettering * In service files %U may be used as specifier that is
c0fe5db522b52f27e030655ce2c03e05cbbc1558Kay Sievers replaced by the configured user name of the service.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * nspawn may now be invoked without a controlling TTY. This
e9fd44b728ff1fc0d1f24fccb87a767f6865df27Lennart Poettering makes it suitable for invocation as its own service. This
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering may be used to set up a simple containerized server system
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering using only core OS tools.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * systemd and nspawn can now accept socket file descriptors
8ed206517c2be381324ac5832bf34cc14024270eLennart Poettering when they are started for socket activation. This enables
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering implementation of socket activated nspawn
e6c6e7afffa80ad74efdb1ddfa815294624f1608Lennart Poettering containers. i.e. think about autospawning an entire OS image
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering when the first SSH or HTTP connection is received. We expect
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering that similar functionality will also be added to libvirt-lxc
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * journalctl will now suppress ANSI color codes when
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering presenting log data.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * systemctl will no longer show control group information for
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering a unit if a the control group is empty anyway.
eb124a97fb72d076014253b1acde69d428f15ecfLennart Poettering * logind can now automatically suspend/hibernate/shutdown the
e5ec62c56963d997edaffa904af5dc45dac23988Lennart Poettering system on idle.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * /etc/machine-info and hostnamed now also expose the chassis
e673ad0415d89c322e5b1a121e411f1b1d8075c0Lennart Poettering type of the system. This can be used to determine whether
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering the local system is a laptop, desktop, handset or
e673ad0415d89c322e5b1a121e411f1b1d8075c0Lennart Poettering tablet. This information may either be configured by the
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering user/vendor or is automatically determined from ACPI and DMI
e673ad0415d89c322e5b1a121e411f1b1d8075c0Lennart Poettering information if possible.
b87b8b2b5205c0584da220f73322ea4732d44013Kay Sievers * A number of PolicyKit actions are now bound together with
b87b8b2b5205c0584da220f73322ea4732d44013Kay Sievers "imply" rules. This should simplify creating UIs because
b87b8b2b5205c0584da220f73322ea4732d44013Kay Sievers many actions will now authenticate similar ones as well.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * Unit files learnt a new condition ConditionACPower= which
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering may be used to conditionalize a unit depending on whether an
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering AC power source is connected or not, of whether the system
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering is running on battery power.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * systemctl gained a new "is-failed" verb that may be used in
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering shell scripts and suchlike to check whether a specific unit
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering is in the "failed" state.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * The EnvironmentFile= setting in unit files now supports file
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering globbing, and can hence be used to easily read a number of
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering environment files at once.
f47ec8ebb3858553dec870e1c596e39525f46360Lennart Poettering * systemd will no longer detect and recognize specific
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering distributions. All distribution-specific #ifdeffery has been
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering removed, systemd is now fully generic and
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering distribution-agnostic. Effectively, not too much is lost as
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering a lot of the code is still accessible via explicit configure
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering switches. However, support for some distribution specific
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering legacy configuration file formats has been dropped. We
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering recommend distributions to simply adopt the configuration
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering files everybody else uses now and convert the old
f47ec8ebb3858553dec870e1c596e39525f46360Lennart Poettering configuration from packaging scripts. Most distributions
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering already did that. If that's not possible or desirable,
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering distributions are welcome to forward port the specific
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering pieces of code locally from the git history.
77a9e8de6572db6ba5ca49023937b67fc835f356Zbigniew Jędrzejewski-Szmek * When logging a message about a unit systemd will now always
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering log the unit name in the message meta data.
601d9d6fb394a780765e80581daab850623e9698Josh Triplett * localectl will now also discover system locale data that is
601d9d6fb394a780765e80581daab850623e9698Josh Triplett not stored in locale archives, but directly unpacked.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * logind will no longer unconditionally use framebuffer
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering devices as seat masters, i.e. as devices that are required
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering to be existing before a seat is considered preset. Instead,
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering it will now look for all devices that are tagged as
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering "seat-master" in udev. By default framebuffer devices will
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering be marked as such, but depending on local systems other
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering devices might be marked as well. This may be used to
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering integrate graphics cards using closed source drivers (such
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering as NVidia ones) more nicely into logind. Note however, that
eb124a97fb72d076014253b1acde69d428f15ecfLennart Poettering we recommend using the open source NVidia drivers instead,
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering and no udev rules for the closed-source drivers will be
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering shipped from us upstream.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering Contributions from: Adam Williamson, Alessandro Crismani, Auke
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering Kok, Colin Walters, Daniel Wallace, Dave Reisner, David
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering Herrmann, David Strauss, Dimitrios Apostolou, Eelco Dolstra,
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering Eric Benoit, Giovanni Campagna, Hannes Reinecke, Henrik
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering Grindal Bakken, Hermann Gausterer, Kay Sievers, Lennart
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering Poettering, Lukas Nykryn, Mantas Mikulėnas, Marcel Holtmann,
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering Martin Pitt, Matthew Monaco, Michael Biebl, Michael Terry,
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering Michal Schmidt, Michal Sekletar, Michał Bartoszkiewicz, Oleg
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering Samarin, Pekka Lundstrom, Philip Nilsson, Ramkumar
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering Ramachandra, Richard Yao, Robert Millan, Sami Kerola, Shawn
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering Landden, Thomas Hindoe Paaboel Andersen, Thomas Jarosch,
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering Tollef Fog Heen, Tom Gundersen, Umut Tezduyar, Zbigniew
8b04b925e587ff56568c62ff5ad3f2ea2b34ca7aLennart Poettering Jędrzejewski-Szmek
e673ad0415d89c322e5b1a121e411f1b1d8075c0Lennart PoetteringCHANGES WITH 196:
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * udev gained support for loading additional device properties
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering from an indexed database that is keyed by vendor/product IDs
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering and similar device identifiers. For the beginning this
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering "hwdb" is populated with data from the well-known PCI and
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering USB database, but also includes PNP, ACPI and OID data. In
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering the longer run this indexed database shall grow into
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering becoming the one central database for non-essential
eb124a97fb72d076014253b1acde69d428f15ecfLennart Poettering userspace device metadata. Previously, data from the PCI/USB
d2e83c23f5f0cdd3b6ec05c5c40209708721e704Kay Sievers database was only attached to select devices, since the
d2e83c23f5f0cdd3b6ec05c5c40209708721e704Kay Sievers lookup was a relatively expensive operation due to O(n) time
d2e83c23f5f0cdd3b6ec05c5c40209708721e704Kay Sievers complexity (with n being the number of entries in the
d2e83c23f5f0cdd3b6ec05c5c40209708721e704Kay Sievers database). Since this is now O(1), we decided to add in this
f6113d42d015ad9f3a9e702a09eb8006511a4424Kay Sievers data for all devices where this is available, by
f6113d42d015ad9f3a9e702a09eb8006511a4424Kay Sievers default. Note that the indexed database needs to be rebuilt
d2e83c23f5f0cdd3b6ec05c5c40209708721e704Kay Sievers when new data files are installed. To achieve this you need
7a43e910ce00eef22fd42925ae4c85cbea1b1320Kay Sievers to update your packaging scripts to invoke "udevadm hwdb
d2e83c23f5f0cdd3b6ec05c5c40209708721e704Kay Sievers --update" after installation of hwdb data files. For
c55b1b59b837dfd924b704d457ed77c55f8bfeabLennart Poettering RPM-based distributions we introduced the new
6c1703cc35b3a5f93ad3cc813fea10cb9a636102Kay Sievers %udev_hwdb_update macro for this purpose.
6c1703cc35b3a5f93ad3cc813fea10cb9a636102Kay Sievers * The Journal gained support for the "Message Catalog", an
08f9588885c5d65694b324846b0ed19211d2c178Lennart Poettering indexed database to link up additional information with
59704f3e937c664f7324bfbb08483c358dfbc4c6Lennart Poettering journal entries. For further details please check:
59704f3e937c664f7324bfbb08483c358dfbc4c6Lennart Poettering http://www.freedesktop.org/wiki/Software/systemd/catalog
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering The indexed message catalog database also needs to be
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering rebuilt after installation of message catalog files. Use
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering "journalctl --update-catalog" for this. For RPM-based
7f8732835295fce29479b1afc9e8ee801852db09Lennart Poettering distributions we introduced the %journal_catalog_update
7f8732835295fce29479b1afc9e8ee801852db09Lennart Poettering macro for this purpose.
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering * The Python Journal bindings gained support for the standard
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering Python logging framework.
a19554ed92a7460b4e709cc40c558cde827ab85bLennart Poettering * The Journal API gained new functions for checking whether
a19554ed92a7460b4e709cc40c558cde827ab85bLennart Poettering the underlying file system of a journal file is capable of
1cb88f2c61f590083847d65cd5a518e834da87d3Lennart Poettering properly reporting file change notifications, or whether
1cb88f2c61f590083847d65cd5a518e834da87d3Lennart Poettering applications that want to reflect journal changes "live"
1cb88f2c61f590083847d65cd5a518e834da87d3Lennart Poettering need to recheck journal files continously in appropriate
1cb88f2c61f590083847d65cd5a518e834da87d3Lennart Poettering time intervals.
603cd8fe07cb03e8b11722d1a732e569e5a46347Lennart Poettering * It is now possible to set the "age" field for tmpfiles
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering entries to 0, indicating that files matching this entry
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering shall always be removed when the directories are cleaned up.
a7a3f28be404875eff20443a0fa8088bcc4c18dfLennart Poettering * coredumpctl gained a new "gdb" verb which invokes gdb
a7a3f28be404875eff20443a0fa8088bcc4c18dfLennart Poettering right-away on the selected coredump.
9b27910bb0c23e5225fc1177176e4f9bf9bf787bLennart Poettering * There's now support for "hybrid sleep" on kernels that
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering support this, in addition to "suspend" and "hibernate". Use
08f9588885c5d65694b324846b0ed19211d2c178Lennart Poettering "systemctl hybrid-sleep" to make use of this.
7d8197d1f25c1291855bb6cffc705444978c6d8dKay Sievers * logind's HandleSuspendKey= setting (and related settings)
7d8197d1f25c1291855bb6cffc705444978c6d8dKay Sievers now gained support for a new "lock" setting to simply
7d8197d1f25c1291855bb6cffc705444978c6d8dKay Sievers request the screen lock on all local sessions, instead of
7d8197d1f25c1291855bb6cffc705444978c6d8dKay Sievers actually executing a suspend or hibernation.
7d8197d1f25c1291855bb6cffc705444978c6d8dKay Sievers * systemd will now mount the EFI variables file system by
dcfc4b2e5c1af6375488c00bdc6fb8122f86c4d7Lennart Poettering * Socket units now gained support for configuration of the
71ef24d09573874c0f7bc323c07c3aec2a458707Lennart Poettering SMACK security label.
71ef24d09573874c0f7bc323c07c3aec2a458707Lennart Poettering * timedatectl will now output the time of the last and next
71ef24d09573874c0f7bc323c07c3aec2a458707Lennart Poettering daylight saving change.
1b89884ba31cbe98f159ce2c7d6fac5f6a57698fLennart Poettering * We dropped support for various legacy and distro-specific
15abdb9a6f34628b04b887e0b9649fa582d6cd37Lennart Poettering concepts, such as insserv, early-boot SysV services
1920e37ef9fec04a1fd882f66bfa7a9a5b91c536Lennart Poettering (i.e. those for non-standard runlevels such as 'b' or 'S')
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering or ArchLinux /etc/rc.conf support. We recommend the
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering distributions who still need support this to either continue
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering to maintain the necessary patches downstream, or find a
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering different solution. (Talk to us if you have questions!)
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * Various systemd components will now bypass PolicyKit checks
eb124a97fb72d076014253b1acde69d428f15ecfLennart Poettering for root and otherwise handle properly if PolicyKit is not
eb124a97fb72d076014253b1acde69d428f15ecfLennart Poettering found to be around. This should fix most issues for
eb124a97fb72d076014253b1acde69d428f15ecfLennart Poettering PolicyKit-less systems. Quite frankly this should have been
eb124a97fb72d076014253b1acde69d428f15ecfLennart Poettering this way since day one. It is absolutely our intention to
eb124a97fb72d076014253b1acde69d428f15ecfLennart Poettering make systemd work fine on PolicyKit-less systems, and we
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering consider it a bug if something doesn't work as it should if
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering PolicyKit is not around.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * For embedded systems it is now possible to build udev and
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering systemd without blkid and/or kmod support.
5f1dac6bf605871615b35891a3966fa474db5b20Lennart Poettering * "systemctl switch-root" is now capable of switching root
f801968466fed39d50d410b30ac828c26722cc95Lennart Poettering more than once. I.e. in addition to transitions from the
de34a42bcad31f0648ac0f249801310e0dbf83f9Lennart Poettering initrd to the host OS it is now possible to transition to
de34a42bcad31f0648ac0f249801310e0dbf83f9Lennart Poettering further OS images from the host. This is useful to implement
424a19f8a2061c6b058283228734010b2fa24db4Lennart Poettering offline updating tools.
424a19f8a2061c6b058283228734010b2fa24db4Lennart Poettering * Various other additions have been made to the RPM macros
424a19f8a2061c6b058283228734010b2fa24db4Lennart Poettering shipped with systemd. Use %udev_rules_update() after
424a19f8a2061c6b058283228734010b2fa24db4Lennart Poettering installing new udev rules files. %_udevhwdbdir,
a1cccad1fe88ddd6943e18af97cf7f466296970fLennart Poettering %_udevrulesdir, %_journalcatalogdir, %_tmpfilesdir,
a1cccad1fe88ddd6943e18af97cf7f466296970fLennart Poettering %_sysctldir are now available which resolve to the right
8556879e0d14925ce897875c6c264368e2d048c2Lennart Poettering directories for packages to place various data files in.
8556879e0d14925ce897875c6c264368e2d048c2Lennart Poettering * journalctl gained the new --full switch (in addition to
8556879e0d14925ce897875c6c264368e2d048c2Lennart Poettering --all, to disable ellipsation for long messages.
4a30847b9d71e0381948d68279c8f775b9de7850Lennart Poettering Contributions from: Anders Olofsson, Auke Kok, Ben Boeckel,
4a30847b9d71e0381948d68279c8f775b9de7850Lennart Poettering Colin Walters, Cosimo Cecchi, Daniel Wallace, Dave Reisner,
5e8b28838e493b59628322b69580097ef7dd9384Lennart Poettering Eelco Dolstra, Holger Hans Peter Freyther, Kay Sievers,
5e8b28838e493b59628322b69580097ef7dd9384Lennart Poettering Chun-Yi Lee, Lekensteyn, Lennart Poettering, Mantas Mikulėnas,
d87be9b0af81a6e07d4fb3028e45c4409100dc26Lennart Poettering Marti Raudsepp, Martin Pitt, Mauro Dreissig, Michael Biebl,
d87be9b0af81a6e07d4fb3028e45c4409100dc26Lennart Poettering Michal Schmidt, Michal Sekletar, Miklos Vajna, Nis Martensen,
88f89a9b6d25dfcb89691727c8cdaf01f4090b72Lennart Poettering Oleksii Shevchuk, Olivier Brunel, Ramkumar Ramachandra, Thomas
88f89a9b6d25dfcb89691727c8cdaf01f4090b72Lennart Poettering Bächler, Thomas Hindoe Paaboel Andersen, Tom Gundersen, Tony
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering Camuso, Umut Tezduyar, Zbigniew Jędrzejewski-Szmek
d8b78264a5245307babbf5af8e39d6d4a1ae095fLennart PoetteringCHANGES WITH 195:
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering * journalctl gained new --since= and --until= switches to
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering filter by time. It also now supports nice filtering for
68f160039eb78fe122cfe0d4c49695ae91f6f0d1Lennart Poettering units via --unit=/-u.
5a7e959984788cf89719dec31999409b63bb802bLennart Poettering * Type=oneshot services may use ExecReload= and do the
68f160039eb78fe122cfe0d4c49695ae91f6f0d1Lennart Poettering * The journal daemon now supports time-based rotation and
68f160039eb78fe122cfe0d4c49695ae91f6f0d1Lennart Poettering vacuuming, in addition to the usual disk-space based
68f160039eb78fe122cfe0d4c49695ae91f6f0d1Lennart Poettering * The journal will now index the available field values for
0790b9fed42eefc4e22dbbe2337cba9713b7848cLennart Poettering each field name. This enables clients to show pretty drop
5aea932fd54db835b77709ddeba30732648aae53Lennart Poettering downs of available match values when filtering. The bash
5aea932fd54db835b77709ddeba30732648aae53Lennart Poettering completion of journalctl has been updated
918943c75fbd9dee87ff396de3a7c63a8d228433Lennart Poettering accordingly. journalctl gained a new switch -F to list all
918943c75fbd9dee87ff396de3a7c63a8d228433Lennart Poettering values a certain field takes in the journal database.
fd4d89b2c0b31da01d134301e30916931ae3c7d9Lennart Poettering * More service events are now written as structured messages
8230e26dc954a40d8c9dbc8ddd9376117021f9d2Lennart Poettering to the journal, and made recognizable via message IDs.
4d9909c93e9c58789c71b34555a1908307c6849eLennart Poettering * The timedated, localed and hostnamed mini-services which
4d9909c93e9c58789c71b34555a1908307c6849eLennart Poettering previously only provided support for changing time, locale
47ae7201b1df43bd3da83a19e38483b0e5694c99Lennart Poettering and hostname settings from graphical DEs such as GNOME now
47ae7201b1df43bd3da83a19e38483b0e5694c99Lennart Poettering also have a minimal (but very useful) text-based client
88a6c5894c9d3f85d63b87b040c130366b4006ceKay Sievers utility each. This is probably the nicest way to changing
8351ceaea9480d9c2979aa2ff0f4982cfdfef58dLennart Poettering these settings from the command line now, especially since
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering it lists available options and is fully integrated with bash
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * There's now a new tool "systemd-coredumpctl" to list and
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering extract coredumps from the journal.
c66d36e5b5ae81f3c5297d6dacadc13c88c530f6Lennart Poettering * We now install a README each in /var/log/ and
be0aa78406c73a6625308dc0672b5ff27ec6f9a8Lennart Poettering /etc/rc.d/init.d explaining where the system logs and init
be0aa78406c73a6625308dc0672b5ff27ec6f9a8Lennart Poettering scripts went. This hopefully should help folks who go to
9946996cda11a18b44d82344676e5a0e96339408Lennart Poettering that dirs and look into the otherwise now empty void and
9946996cda11a18b44d82344676e5a0e96339408Lennart Poettering scratch their heads.
3471bedc005fab03f40b99bf6599645330adcd9eLennart Poettering * When user-services are invoked (by systemd --user) the
3471bedc005fab03f40b99bf6599645330adcd9eLennart Poettering $MANAGERPID env var is set to the PID of systemd.
35eb6b124ebdf82bd77aad6e44962a9a039c4d33Lennart Poettering * SIGRTMIN+24 when sent to a --user instance will now result
5b40d33761376354116a8cddb9b9fbdb6c4727d6Lennart Poettering in immediate termination of systemd.
b86fa936ce36976cd6a96034cf14ea267695bcb2Lennart Poettering * gatewayd received numerous feature additions such as a
b86fa936ce36976cd6a96034cf14ea267695bcb2Lennart Poettering "follow" mode, for live syncing and filtering.
d3a3f22267a7dac426b07a7ed0baa1632f5daf04Kay Sievers * browse.html now allows filtering and showing detailed
d3a3f22267a7dac426b07a7ed0baa1632f5daf04Kay Sievers information on specific entries. Keyboard navigation and
d3a3f22267a7dac426b07a7ed0baa1632f5daf04Kay Sievers mouse screen support has been added.
d3a3f22267a7dac426b07a7ed0baa1632f5daf04Kay Sievers Server-Sent-Events as output.
d3a3f22267a7dac426b07a7ed0baa1632f5daf04Kay Sievers * The SysV init script compatibility logic will now
d3a3f22267a7dac426b07a7ed0baa1632f5daf04Kay Sievers heuristically determine whether a script supports the
465349c06d994dd2cc6b6fc4109ac0b9952d500aLennart Poettering "reload" verb, and only then make this available as
06dab8e18aebf822392c7ca66c5bf3c1200fdec8Lennart Poettering "systemctl reload".
e01a15b71e18bf2008aec7e75041ffa42eb80b80Kay Sievers * "systemctl status --follow" has been removed, use "journalctl
3f60bcb5e69846fe8a3156ca1c9a7e0813ac158aKay Sievers * journald.conf's RuntimeMinSize=, PersistentMinSize= settings
abd55b16547d0bb0ed1c31e72e16838f0f59f48bKay Sievers have been removed since they are hardly useful to be
abd55b16547d0bb0ed1c31e72e16838f0f59f48bKay Sievers * And I'd like to take the opportunity to specifically mention
b8217b7bd5fd171916a095b150fad4c3a37f5a41Kay Sievers Zbigniew for his great contributions. Zbigniew, you rock!
068665b6fd9839f27bcace7e8f56c0baa6935272Lennart Poettering Contributions from: Andrew Eikum, Christian Hesse, Colin
169c4f65131fbc7bcb51e7d5487a715cdcd0e0ebLennart Poettering Guthrie, Daniel J Walsh, Dave Reisner, Eelco Dolstra, Ferenc
169c4f65131fbc7bcb51e7d5487a715cdcd0e0ebLennart Poettering Wágner, Kay Sievers, Lennart Poettering, Lukas Nykryn, Mantas
bd08f2422491169e92dc0899d5ba848fcae4c15cLennart Poettering Mikulėnas, Martin Mikkelsen, Martin Pitt, Michael Olbrich,
bd08f2422491169e92dc0899d5ba848fcae4c15cLennart Poettering Michael Stapelberg, Michal Schmidt, Sebastian Ott, Thomas
fb0864e7b9c6d26269ccea6ec5c0fd921c029781Lennart Poettering Bächler, Umut Tezduyar, Will Woods, Wulf C. Krueger, Zbigniew
fb0864e7b9c6d26269ccea6ec5c0fd921c029781Lennart Poettering Jędrzejewski-Szmek, Сковорода Никита Андреевич
9586cdfab6a2638078702b7fea7e16b3a71899e2Lennart PoetteringCHANGES WITH 194:
7f110ff9b8828b477e87de7b28c708cf69a3d008Lennart Poettering * If /etc/vconsole.conf is non-existent or empty we will no
d0e5a33374cee92962af33dfc03873e470b014f6Lennart Poettering longer load any console font or key map at boot by
d0e5a33374cee92962af33dfc03873e470b014f6Lennart Poettering default. Instead the kernel defaults will be left
d0e5a33374cee92962af33dfc03873e470b014f6Lennart Poettering intact. This is definitely the right thing to do, as no
d0e5a33374cee92962af33dfc03873e470b014f6Lennart Poettering configuration should mean no configuration, and hard-coding
87a8baa35d6d65ac3b58ae8e26e338e67f8ae8edLennart Poettering font names that are different on all archs is probably a bad
87a8baa35d6d65ac3b58ae8e26e338e67f8ae8edLennart Poettering idea. Also, the kernel default key map and font should be
87a8baa35d6d65ac3b58ae8e26e338e67f8ae8edLennart Poettering good enough for most cases anyway, and mostly identical to
87a8baa35d6d65ac3b58ae8e26e338e67f8ae8edLennart Poettering the userspace fonts/key maps we previously overloaded them
5ba081b0fb02380cee4c2ff5bc7e05f869eb8415Lennart Poettering with. If distributions want to continue to default to a
5ba081b0fb02380cee4c2ff5bc7e05f869eb8415Lennart Poettering non-kernel font or key map they should ship a default
4cbd9ecf45f64c3a9acc99d473fbf3be3687ae24Lennart Poettering /etc/vconsole.conf with the appropriate contents.
65c0cf7108ae3537a357c74b4586a783baba82f9Lennart Poettering Contributions from: Colin Walters, Daniel J Walsh, Dave
65c0cf7108ae3537a357c74b4586a783baba82f9Lennart Poettering Reisner, Kay Sievers, Lennart Poettering, Lukas Nykryn, Tollef
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers Fog Heen, Tom Gundersen, Zbigniew Jędrzejewski-Szmek
f957632b960a0a42999b38ded7089fa602b41745Kay SieversCHANGES WITH 193:
ad740100d108282d0244d5739d4dcc86fe4c5fdeLennart Poettering * journalctl gained a new --cursor= switch to show entries
de6c78f8795743894431a099d26ec562a8acf3dfLennart Poettering starting from the specified location in the journal.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * We now enforce a size limit on journal entry fields exported
14e639ae7a1dbf156273ce697d30fbc6c6594209Lennart Poettering with "-o json" in journalctl. Fields larger than 4K will be
ff01d048b4c1455241c894cf7982662c9d28fd34Lennart Poettering assigned null. This can be turned off with --all.
d3c7d7dd77b2b72315164b672462825cef6c0f9aKay Sievers * An (optional) journal gateway daemon is now available as
72b9ed828bd22f3ddd74b6853c183eebf006d6d8Lennart Poettering "systemd-journal-gatewayd.service". This service provides
1d6702e8d3877c0bebf3ac817dc45ff72f5ecfa9Lennart Poettering access to the journal via HTTP and JSON. This functionality
1d6702e8d3877c0bebf3ac817dc45ff72f5ecfa9Lennart Poettering will be used to implement live log synchronization in both
1d6702e8d3877c0bebf3ac817dc45ff72f5ecfa9Lennart Poettering pull and push modes, but has various other users too, such
71092d70af35567dd154d3de2ce04ce62e157a7cLennart Poettering as easy log access for debugging of embedded devices. Right
71092d70af35567dd154d3de2ce04ce62e157a7cLennart Poettering now it is already useful to retrieve the journal via HTTP:
1258097cd3cdbc5dd3d264850119e553a29c5068Lennart Poettering # systemctl start systemd-journal-gatewayd.service
a4c279f87451186b8beb1b8cc21c7cad561ecf4bLennart Poettering This will download the journal contents in a
7c697168102cb64c5cb65a542959684014da99c7Lennart Poettering /var/log/messages compatible format. The same as JSON:
71092d70af35567dd154d3de2ce04ce62e157a7cLennart Poettering # curl -H"Accept: application/json" http://localhost:19531/entries
f28f1daf754a9a07de90e6fc4ada581bf5de677dLennart Poettering This service is also accessible via a web browser where a
f28f1daf754a9a07de90e6fc4ada581bf5de677dLennart Poettering single static HTML5 app is served that uses the JSON logic
f28f1daf754a9a07de90e6fc4ada581bf5de677dLennart Poettering to enable the user to do some basic browsing of the
f28f1daf754a9a07de90e6fc4ada581bf5de677dLennart Poettering journal. This will be extended later on. Here's an example
88a07670cfa974a605c7c7b520b8a3135fce37f9Lennart Poettering screenshot of this app in its current state:
88a07670cfa974a605c7c7b520b8a3135fce37f9Lennart Poettering http://0pointer.de/public/journal-gatewayd
916abb21d0a6653e0187b91591e492026886b0a4Lennart Poettering Contributions from: Kay Sievers, Lennart Poettering, Robert
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering Milasan, Tom Gundersen
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart PoetteringCHANGES WITH 192:
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * The bash completion logic is now available for journalctl
21bdae12e11ae20460715475d8a0c991f15464acLennart Poettering * We don't mount the "cpuset" controller anymore together with
21bdae12e11ae20460715475d8a0c991f15464acLennart Poettering "cpu" and "cpuacct", as "cpuset" groups generally cannot be
9534ce54858c67363b841cdbdc315140437bfdb4Lennart Poettering started if no parameters are assigned to it. "cpuset" hence
9534ce54858c67363b841cdbdc315140437bfdb4Lennart Poettering broke code that assumed it it could create "cpu" groups and
68c7d001f4117f0c3d0a4582e32cbb03ae5fac57Lennart Poettering just start them.
68c7d001f4117f0c3d0a4582e32cbb03ae5fac57Lennart Poettering * journalctl -f will now subscribe to terminal size changes,
68c7d001f4117f0c3d0a4582e32cbb03ae5fac57Lennart Poettering and line break accordingly.
253ee27a0c7a410d27d490bb79ea97caed6a2b68Lennart Poettering Contributions from: Dave Reisner, Kay Sievers, Lennart
5d0fcd7c8d29340ac9425c309e8ac436a9af699cLennart Poettering Poettering, Lukas Nykrynm, Mirco Tischler, Václav Pavlín
8bbabc447b1d913bd21faf97c7b17d20d315d2b4Lennart PoetteringCHANGES WITH 191:
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering * nspawn will now create a symlink /etc/localtime in the
a19554ed92a7460b4e709cc40c558cde827ab85bLennart Poettering container environment, copying the host's timezone
a73d88fa024b5668ed7dde681e99547d41e6a864Lennart Poettering setting. Previously this has been done via a bind mount, but
a74a8793b04de9886b4f6987b9cb86fa02c73520Lennart Poettering since symlinks cannot be bind mounted this has now been
3040728b6691ea2e9df3a2060e2d49a792bbaedaLennart Poettering changed to create/update the appropriate symlink.
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering * journalctl -n's line number argument is now optional, and
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering will default to 10 if omitted.
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering * journald will now log the maximum size the journal files may
73090dc815390f4fca4e3ed8a7e1d3806605daaaLennart Poettering take up on disk. This is particularly useful if the default
44143309dd0b37d61d7d842ca58f01a65646ec71Kay Sievers built-in logic of determining this parameter from the file
3d57c6ab801f4437f12948e29589e3d00c3ad9dbLennart Poettering system size is used. Use "systemctl status
71092d70af35567dd154d3de2ce04ce62e157a7cLennart Poettering systemd-journald.service" to see this information.
260abb780a135e4cae8c10715c7e85675efc345aLennart Poettering * The multi-seat X wrapper tool has been stripped down. As X
2791a8f8dc8764a9247cdba3562bd4c04010f144Lennart Poettering is now capable of enumerating graphics devices via udev in a
a8f11321c209830a35edd0357e8def5d4437d854Lennart Poettering seat-aware way the wrapper is not strictly necessary
a8f11321c209830a35edd0357e8def5d4437d854Lennart Poettering anymore. A stripped down temporary stop-gap is still shipped
21bdae12e11ae20460715475d8a0c991f15464acLennart Poettering until the upstream display managers have been updated to
21bdae12e11ae20460715475d8a0c991f15464acLennart Poettering fully support the new X logic. Expect this wrapper to be
c32e0c40f7e706e3ebcd101187d5ced96f083491Lennart Poettering removed entirely in one of the next releases.