NEWS revision 85d683970b7dc2c4470b2b7d60c3d9dce28c1471
ee9c9500ab13c1093fc3feaf2aa5a0d330d0bfadKay Sieverssystemd System and Service Manager
c343be283b7152554bac0c02493a4e1759c163f7Kay Sievers
c343be283b7152554bac0c02493a4e1759c163f7Kay SieversCHANGES WITH 198:
c343be283b7152554bac0c02493a4e1759c163f7Kay Sievers
b3ae710c251d0ce5cf2cef63208e325497b5e323Zbigniew Jędrzejewski-Szmek * Configuration of unit files may now be extended via drop-in
b3ae710c251d0ce5cf2cef63208e325497b5e323Zbigniew Jędrzejewski-Szmek files without having to edit/override the unit files
19aadacf92ad86967ffb678e37b2ff9e83cb9480Jan Engelhardt themselves. More specifically, if the administrator wants to
cff452c7e974db5053cdbd0d7bbbab2e3b4c91b9Kay Sievers change one value for a service file foobar.service he can
cff452c7e974db5053cdbd0d7bbbab2e3b4c91b9Kay Sievers now do so by dropping in a configuration snippet into
cff452c7e974db5053cdbd0d7bbbab2e3b4c91b9Kay Sievers /etc/systemd/systemd/foobar.service.d/*.conf. The unit logic
cff452c7e974db5053cdbd0d7bbbab2e3b4c91b9Kay Sievers will load all these snippets and apply them on top of the
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers main unit configuration file, possibly extending or
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers overriding its settings. Using these drop-in snippets is
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers generally nicer than the two earler options for changing
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers unit files locally: copying the files form
a40593a0d0d740efa387e35411e1e456a6c5aba7Lennart Poettering /usr/lib/systemd/system/ to /etc/systemd/system/ and editing
20ffc4c4a9226b0e45cc02ad9c0108981626c0bbKay Sievers them there; or creating a new file in /etc/systemd/system/
04ac799283f517672a5424e7c5bf066cfa4ca020Zbigniew Jędrzejewski-Szmek that incorporates the original one via ".include". Drop-in
04ac799283f517672a5424e7c5bf066cfa4ca020Zbigniew Jędrzejewski-Szmek snippets into these .d/ directories can be placed in any
04ac799283f517672a5424e7c5bf066cfa4ca020Zbigniew Jędrzejewski-Szmek directory systems looks for units in, and the usual
04ac799283f517672a5424e7c5bf066cfa4ca020Zbigniew Jędrzejewski-Szmek overriding semantics between /usr/lib, /etc and /run apply
374c356979ba7222fa7e09005824fe6996b0e91eDavid Herrmann for them too.
374c356979ba7222fa7e09005824fe6996b0e91eDavid Herrmann
374c356979ba7222fa7e09005824fe6996b0e91eDavid Herrmann * Most unit file settings which take lists of items can now be
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering reset by assigning the empty strings to them. For example,
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering normally, settings such as Environment=FOO=BAR append a new
466784c8710e5cb0e0b86a16506d992d7ec5b619Kay Sievers environment variable assignment to the environment block,
55d32caf94d8df547ca763be52b0c35bb6388606Lennart Poettering each time they are used. By assigning Environment= the empty
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering string the environment block can be reset to empty. This is
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering particularly useful with the .d/*.conf drop-in snippets
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering mentioned above, since this allows resetting list settings
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering from vendor unit files via these drop-ins.
eb124a97fb72d076014253b1acde69d428f15ecfLennart Poettering
154ff088d371bee5651eaa2bc9bde8a34c185656Lennart Poettering * systemctl gained a new "list-dependencies" command for
3de03738fc970496d2d3da668c72767a48ccc41bLennart Poettering listing the dependencies of a unit recursively.
3de03738fc970496d2d3da668c72767a48ccc41bLennart Poettering
3de03738fc970496d2d3da668c72767a48ccc41bLennart Poettering * Inhibitors are now honoured and listed by "systemctl
3de03738fc970496d2d3da668c72767a48ccc41bLennart Poettering suspend", "systemctl poweroff" (and similar) too, not only
eaa3b74dfd6395c8abaa8416d90dac5e0dc00e15Lennart Poettering GNOME. These commands will also list active sessions by
eaa3b74dfd6395c8abaa8416d90dac5e0dc00e15Lennart Poettering other users.
5c868fe2e980216b32588e16fa949ebb1f1f7b95Lennart Poettering
5c868fe2e980216b32588e16fa949ebb1f1f7b95Lennart Poettering * Resource limits (as exposed by the various control group
8891f695c71bd4c266d827c9aaedbbbbaf79d3ebLennart Poettering controllers) can now be controlled dynamically at runtime
8891f695c71bd4c266d827c9aaedbbbbaf79d3ebLennart Poettering for all units. More specifically, you can now use a command
8891f695c71bd4c266d827c9aaedbbbbaf79d3ebLennart Poettering like "systemctl set-cgroup-attr foobar.service cpu.shares
2b1c3767515672dfd0f5e0a9c9d7ac3a16a6a361Lennart Poettering 2000" to alter the CPU shares a specific service gets. These
2b1c3767515672dfd0f5e0a9c9d7ac3a16a6a361Lennart Poettering settings are stores persistently on disk, and thus allow the
1df52dd282cd6014ace8ca2279dd90d9ea52d2a4Lennart Poettering administrator to easily adjust the resource usage of
8dfb5bced205a12d5380c95de035100ad6c09454Lennart Poettering services with a few simple commands. This dynamic resource
1df52dd282cd6014ace8ca2279dd90d9ea52d2a4Lennart Poettering management logic is also available to other services via the
37efac5ddb21fd91ed420c070ed07f375e78b3b9Lennart Poettering bus. Almost any kernel cgroup attribute and controller is
37efac5ddb21fd91ed420c070ed07f375e78b3b9Lennart Poettering supported.
7348b3adb324614132cf376f478e883bd7de28f1Lennart Poettering
7348b3adb324614132cf376f478e883bd7de28f1Lennart Poettering * systemd-vconsole-setup will now copy all font settings to
7348b3adb324614132cf376f478e883bd7de28f1Lennart Poettering all open VTs, where it previously applied them only to the
7348b3adb324614132cf376f478e883bd7de28f1Lennart Poettering foreground VT.
f55b9bdfae46e3683c74c30f1d063642a41368a5Lennart Poettering
f55b9bdfae46e3683c74c30f1d063642a41368a5Lennart Poettering * libsystemd-login gained the new sd_session_get_tty() API
f55b9bdfae46e3683c74c30f1d063642a41368a5Lennart Poettering call.
f55b9bdfae46e3683c74c30f1d063642a41368a5Lennart Poettering
e107ed185ef08945102834234a05ec51bb438685Lennart Poettering * This release drops support with a few
e107ed185ef08945102834234a05ec51bb438685Lennart Poettering legacy/distribution-specific LSB facility names when parsing
e107ed185ef08945102834234a05ec51bb438685Lennart Poettering init scripts: $x-display-manager, $mail-transfer-agent,
e107ed185ef08945102834234a05ec51bb438685Lennart Poettering $mail-transport-agent, $mail-transfer-agent, $smtp,
eaa3b74dfd6395c8abaa8416d90dac5e0dc00e15Lennart Poettering $null. Also, the mail-transfer-agent.target unit backing
e107ed185ef08945102834234a05ec51bb438685Lennart Poettering this has been removed. Distributions which want to retain
e107ed185ef08945102834234a05ec51bb438685Lennart Poettering compatibility with this should carry the burden for support
e107ed185ef08945102834234a05ec51bb438685Lennart Poettering this themselves and patch support for these back in if they
e30fa16e27cbd48f960113a1d72d9a15c3b2d67bLennart Poettering really need to. Also, the facilities $syslog and $local_fs
e30fa16e27cbd48f960113a1d72d9a15c3b2d67bLennart Poettering are now ignored, since systemd does not support early-boot
f598ac3e28b729dd0b1d0a881df3e16465687a2bLennart Poettering LSB init scripts anymore, and these facilities are implied
11fb37f16ed99c1603c9d770b60ce4953b96a58dLennart Poettering anyway for normal services. syslog.target has also been
01083ad094664e5c685060f4fb35a05ea2f212edLennart Poettering removed hence.
01083ad094664e5c685060f4fb35a05ea2f212edLennart Poettering
a2b135e3d8d5dfa103a87e304ed8a91b01fdbb02Lennart Poettering * There ar new bus calls on PID1's Manager object for
a2b135e3d8d5dfa103a87e304ed8a91b01fdbb02Lennart Poettering canceling jobs, and removing snapshot units. Previously,
a2b135e3d8d5dfa103a87e304ed8a91b01fdbb02Lennart Poettering both calls were only available on the Job and Snapshot
a2b135e3d8d5dfa103a87e304ed8a91b01fdbb02Lennart Poettering objects themselves.
b107b705cc97d3033e37c44229deb37b5aa31df5Lennart Poettering
b107b705cc97d3033e37c44229deb37b5aa31df5Lennart Poettering * systemd-journal-gatewayd gained SSL support.
edb2935c5c5b95c42b8679086f60da5eafad74cbLennart Poettering
edb2935c5c5b95c42b8679086f60da5eafad74cbLennart Poettering * The various "environment" files, such as /etc/locale.conf
769918ecd30c0f7ee6e87b9aa6226d956bd2f530Lennart Poettering now support continuation lines with a backslash ("\") as
769918ecd30c0f7ee6e87b9aa6226d956bd2f530Lennart Poettering last character in the line, similar in style (but different)
769918ecd30c0f7ee6e87b9aa6226d956bd2f530Lennart Poettering to how this is supported in shells.
769918ecd30c0f7ee6e87b9aa6226d956bd2f530Lennart Poettering
6a3f892a23db71544d0439355f96c44350dafa8fLennart Poettering * For normal user processes the _SYSTEMD_USER_UNIT= field is
2a781fc9bd33982c81e5ff75974a442a33d4f167Lennart Poettering now implicitly appended to every log entry logged. systemctl
2a781fc9bd33982c81e5ff75974a442a33d4f167Lennart Poettering has been updated to filter by this field when operating on a
6a3f892a23db71544d0439355f96c44350dafa8fLennart Poettering user systemd instance.
6a3f892a23db71544d0439355f96c44350dafa8fLennart Poettering
efc141b8ffbfa1e449da40ce27fccaa81428f779Lennart Poettering * nspawn will now implicitly add the CAP_AUDIT_WRITE and
efc141b8ffbfa1e449da40ce27fccaa81428f779Lennart Poettering CAP_AUDIT_CONTROL capabilities to the capabilities set for
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt the container. This makes it easier to boot unmodified
efc141b8ffbfa1e449da40ce27fccaa81428f779Lennart Poettering Fedora systems in a container, which however still requires
efc141b8ffbfa1e449da40ce27fccaa81428f779Lennart Poettering audit=0 to be passed on the kernel command line. Auditing in
726a6e963056a7238a512cfe6ce612af2c2d1419Lennart Poettering kernel and userspace is unfortunately still too broken in
7ba4fedb8048182fb765bd6ae5aa1e548389bef3Lennart Poettering context of containers, hence we recommend compiling it out
23fae27185ddde98706faac0f45d77b11ecd66e6Lennart Poettering of the kernel or using audit=0. Hopefully this will be fixed
23fae27185ddde98706faac0f45d77b11ecd66e6Lennart Poettering one day for good in the kernel.
650264033f2f98f6319513958d94d59078654af8Lennart Poettering
650264033f2f98f6319513958d94d59078654af8Lennart Poettering * nspawn gained the new --bind= and --bind-ro= parameters to
650264033f2f98f6319513958d94d59078654af8Lennart Poettering bind mount specific directories from the host into the
f8901862b2b030921b3d5aba4157044ceab16451Lennart Poettering container.
eda8f06755bd98c4639293c26b856c225f0d1fe1Lennart Poettering
eda8f06755bd98c4639293c26b856c225f0d1fe1Lennart Poettering * nspawn will not mount its own devpts file system instance
d4fdc205a4610965cee46408dbd046c922e7620cLennart Poettering into the container, in order not to leaker pty devices from
d4fdc205a4610965cee46408dbd046c922e7620cLennart Poettering the host into the container.
d4fdc205a4610965cee46408dbd046c922e7620cLennart Poettering
af1082b04a3d45a9b1d796b4271f44e87e307026Lennart Poettering * systemd will now read the firmware boot time performance
af1082b04a3d45a9b1d796b4271f44e87e307026Lennart Poettering from the EFI variables, if the used boot loader supports
af1082b04a3d45a9b1d796b4271f44e87e307026Lennart Poettering this, and take it into account for boot performance analysis
af1082b04a3d45a9b1d796b4271f44e87e307026Lennart Poettering via "systemd-analyze". This is currently supported only in
488ad3b32a7e2b5b1380abf4a15e5f65fa65f3feLennart Poettering conjunction with Gummiboot, but could be supported by other
488ad3b32a7e2b5b1380abf4a15e5f65fa65f3feLennart Poettering boot loaders too. For details, see:
488ad3b32a7e2b5b1380abf4a15e5f65fa65f3feLennart Poettering
488ad3b32a7e2b5b1380abf4a15e5f65fa65f3feLennart Poettering http://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface
488ad3b32a7e2b5b1380abf4a15e5f65fa65f3feLennart Poettering
488ad3b32a7e2b5b1380abf4a15e5f65fa65f3feLennart Poettering * A new generator has been added that automatically mounts the
47c94a96df29080f8b3a97e7362df4e9c6ba3265Lennart Poettering EFI System Partition (ESP) to /boot, if that directory
47c94a96df29080f8b3a97e7362df4e9c6ba3265Lennart Poettering exists, is empty, and no other partition has been configured
09ecd746c9d6581664873674c2188f8c93ed7780Lennart Poettering to be mounted there.
09ecd746c9d6581664873674c2188f8c93ed7780Lennart Poettering
09ecd746c9d6581664873674c2188f8c93ed7780Lennart Poettering * logind will now send out PrepareForSleep(false) out
09ecd746c9d6581664873674c2188f8c93ed7780Lennart Poettering unconditionally, after coming back from suspend. This may be
09ecd746c9d6581664873674c2188f8c93ed7780Lennart Poettering used by applications as asynchronous notification for
09ecd746c9d6581664873674c2188f8c93ed7780Lennart Poettering system resume events.
09ecd746c9d6581664873674c2188f8c93ed7780Lennart Poettering
ef417cfd2211ae017a38b9796c6db29130133e63Zbigniew Jędrzejewski-Szmek * "systemctl unlock-sessions" has been added, that allows
ef417cfd2211ae017a38b9796c6db29130133e63Zbigniew Jędrzejewski-Szmek unlocking the screens of all user sessions at once, similar
3333d748facc15f49935b6b793490ba0824976e6Zbigniew Jędrzejewski-Szmek how "systemctl lock-sessions" already locked all users
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering sessions. This is backed by a new D-Bus call
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering UnlockSessions().
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering * "loginctl seat-status" will now show the master device of a
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering seat. (i.e. the device of a seat that needs to be around for
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering the seat to be considered available, usually the graphics
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering card).
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering
0bee65f0622c4faa8ac8ae771cc0c8a936dfa284Lennart Poettering * tmpfiles gained a new "X" line type, that allows
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering configuration of files and directories (with wildcards) that
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering shall be excluded from automatic cleanup ("aging").
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering * udev permission rules are now only applied for "add" rules,
ebcf1f97de4f6b1580ae55eb56b1a3939fe6b602Lennart Poettering no longer for "change" events.
47c94a96df29080f8b3a97e7362df4e9c6ba3265Lennart Poettering
47c94a96df29080f8b3a97e7362df4e9c6ba3265Lennart Poettering * The log messages for lid events and power/sleep keypresses
718db96199eb307751264e4163555662c9a389faLennart Poettering now carry a message ID.
718db96199eb307751264e4163555662c9a389faLennart Poettering
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering * We now have a substantially larger unit test suite, but this
718db96199eb307751264e4163555662c9a389faLennart Poettering continues to be work in progress.
718db96199eb307751264e4163555662c9a389faLennart Poettering
718db96199eb307751264e4163555662c9a389faLennart Poettering * udevadm hwdb gained a new --root= parameter to change the
966204e010ed432a1d7a0481d41a326d8ec7b0c8Lennart Poettering root directory to operate relative to.
966204e010ed432a1d7a0481d41a326d8ec7b0c8Lennart Poettering
94676f3e9352cbf1f72e0a512ee0d2ed83ff676dLennart Poettering * logind will now issue a sync() request to the kernel early
6fd4d0209827e5c3e52fa8c7144852f550f8f95cLennart Poettering at shutdown, so that dirty buffers are flushed to disk early
ced4d06784dbb19666688947901961f949f2aa6dLennart Poettering instead of at the last moment, in order to optimize shutdown
ced4d06784dbb19666688947901961f949f2aa6dLennart Poettering times a little.
af1082b04a3d45a9b1d796b4271f44e87e307026Lennart Poettering
416446221d905b6815175dc4d525d27f8ae43d1bLennart Poettering * A new bootctl tool has been added that is an interface for
416446221d905b6815175dc4d525d27f8ae43d1bLennart Poettering certain boot loader operations. This is currently a preview
416446221d905b6815175dc4d525d27f8ae43d1bLennart Poettering and is likely to be extended into a small mechanism daemon
7f79cd7109a60810140a045cc725291fc5515264Lennart Poettering like timedated, localed, hostnamed, and can be used by
0aafd43d235982510d1c40564079f7bcec0c7c19Lennart Poettering graphical UIs to enumerate available boot options, and
19aadacf92ad86967ffb678e37b2ff9e83cb9480Jan Engelhardt request boot into firmware operations.
19aadacf92ad86967ffb678e37b2ff9e83cb9480Jan Engelhardt
df5f6971e6e15b4632884916c71daa076c8bae96Lennart Poettering * systemd-bootchart has been relicensed to LGPLv2.1+ to match
df5f6971e6e15b4632884916c71daa076c8bae96Lennart Poettering the rest of the package. It also has been updated to work
fcba531ed4c6e6f8f21d8ca4e3a56e3162b1c578Lennart Poettering correctly in initrds.
fcba531ed4c6e6f8f21d8ca4e3a56e3162b1c578Lennart Poettering
8b8f259170e35b93e6c6d1757cb8b835bbdaa40cZbigniew Jędrzejewski-Szmek * Policykit previously has been runtime optional, and is now
8b8f259170e35b93e6c6d1757cb8b835bbdaa40cZbigniew Jędrzejewski-Szmek also compile time optional via a configure switch.
e10e429f2dcbb586215e65f62847f40c7d8b5956David Herrmann
e1b7e7ec9b34ae6ae54a4c8084395cbf2bfe9960Lennart Poettering * systemd-analyze has been reimplemented in C. Also "systemctl
6aaa8c2f783cd1b3ac27c5ce40625d032e7e3d71Zbigniew Jędrzejewski-Szmek dot" has moved into systemd-analyze.
c3bb87dbab8b79bb9253407cb5b7f3e6fe8db395Lennart Poettering
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt * "systemctl status" with no further parameters will now print
18d4e7c26e7806ac363d19989df7144d5058ce41Lennart Poettering the status of all active or failed units.
bdeeb6b543a2a2d0a494f17b85f1498859cdfc2fLennart Poettering
bdeeb6b543a2a2d0a494f17b85f1498859cdfc2fLennart Poettering * Operations such as "systemctl start" can now be executed
bdeeb6b543a2a2d0a494f17b85f1498859cdfc2fLennart Poettering with a new mode "--irreversible" which may be used to queue
bdeeb6b543a2a2d0a494f17b85f1498859cdfc2fLennart Poettering operations that cannot accidentally be reversed by a later
4e09014daf8f98584b3f15e64e93bed232e70a6bLennart Poettering job queuing. This is by default use to make shutdown
4e09014daf8f98584b3f15e64e93bed232e70a6bLennart Poettering requests more robust.
4e09014daf8f98584b3f15e64e93bed232e70a6bLennart Poettering
6bb648a16ae4a682ad4784412af706d2e6a3e4daTom Gundersen * The Python API of systemd now gained a new module for
e30fa16e27cbd48f960113a1d72d9a15c3b2d67bLennart Poettering reading journal files.
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt
7973ca1927e1f3bac9438f3529458c9ff868905dLennart Poettering * A new tool kernel-install has been added that can install
7973ca1927e1f3bac9438f3529458c9ff868905dLennart Poettering kernel images according to the Boot Loader Specification:
7973ca1927e1f3bac9438f3529458c9ff868905dLennart Poettering
7973ca1927e1f3bac9438f3529458c9ff868905dLennart Poettering http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
7973ca1927e1f3bac9438f3529458c9ff868905dLennart Poettering
7973ca1927e1f3bac9438f3529458c9ff868905dLennart Poettering * Boot time console output has been improved to provide
7973ca1927e1f3bac9438f3529458c9ff868905dLennart Poettering animated boot time output.
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering * A new tool systemd-activate has been added which can be used
80caea6cc72ebd311a311b1527cc6b87201c13bfLennart Poettering to test socket activation with, directly from the command
ab9716c2489f9141ed13ec22dbb216b3e6fbd6b5Lennart Poettering line. This should make it much easier to test and debug
df98a87ba389bdfc0359beedf47557411f3af434Lennart Poettering socket activation in daemons.
df98a87ba389bdfc0359beedf47557411f3af434Lennart Poettering
df98a87ba389bdfc0359beedf47557411f3af434Lennart Poettering * journalctl gained a new "--reverse" (or -r) option to show
df98a87ba389bdfc0359beedf47557411f3af434Lennart Poettering journal output in reverse order (i.e. newest line first).
bee7e928990fd8a0c5909c2022a2b9eede557c81Lennart Poettering
2ecfc64e59b5e4e96bed6f68bd36b612ef77a146Lennart Poettering * journalctl gained a new "--user-unit=" option, that works
6a8b5fa4635ed858788fb10099ec9b62b3359a0aLennart Poettering similar to "--unit=" but filters for user units rather than
69727e6dc69ae5d9b5ae3681723778a3faa354e9Lennart Poettering system units.
0f3e07b7cc535af3c4ea56c3b28c140c1771fa6aLennart Poettering
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering * A number of unit files to ease adoption of systemd in
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering initrds has been added. This moves some minimal logic from
12179984a38fe74581333fbcdc11c822d81f505fLennart Poettering the various initrd implementations into systemd proper.
eb01ba5de14859d7a94835ab9299de40132d549aLennart Poettering
154ff088d371bee5651eaa2bc9bde8a34c185656Lennart Poettering * The journal files are now owned by a new group
154ff088d371bee5651eaa2bc9bde8a34c185656Lennart Poettering "systemd-journal", which exists specifically to allow access
154ff088d371bee5651eaa2bc9bde8a34c185656Lennart Poettering to the journal, and nothing else. Previously, we used the
154ff088d371bee5651eaa2bc9bde8a34c185656Lennart Poettering "adm" group for that, which however possible covers more
69af45035913e7119cffd94c542bd3039600e45dZbigniew Jędrzejewski-Szmek than just journal/log file access. This new group is now
e8a7a315391a6a07897122725cd707f4e9ce63d7Lennart Poettering already used by systemd-journal-gatewayd to ensure this
461bd8e47cafacfcd38389e7558330bfb6e902adLennart Poettering daemon gets access to the journal files and as little else
461bd8e47cafacfcd38389e7558330bfb6e902adLennart Poettering as possible. Note that "make install" will also set FS ACLs
461bd8e47cafacfcd38389e7558330bfb6e902adLennart Poettering up for /var/log/journal to give "adm" and "wheel" read
ab8e074ce25b9947314c69e17afe1bd2527ee26dLennart Poettering access to it, in addition to "systemd-journal" which owns
ab8e074ce25b9947314c69e17afe1bd2527ee26dLennart Poettering the journal files. We recommend that packaging scripts also
ab8e074ce25b9947314c69e17afe1bd2527ee26dLennart Poettering add read access to "adm", "wheel" to /var/log/journal, and
ab8e074ce25b9947314c69e17afe1bd2527ee26dLennart Poettering all existing/future journal files. To normal users and
b454b11220e87add6d0f011695c7912b009c853dLennart Poettering administrators little changes, however packagers need to
b454b11220e87add6d0f011695c7912b009c853dLennart Poettering ensure to create the "systemd-journal" system group at
b454b11220e87add6d0f011695c7912b009c853dLennart Poettering package installation time.
b454b11220e87add6d0f011695c7912b009c853dLennart Poettering
06db8540cdfc8259423ed90e7352dbc1d71eccd9Lennart Poettering * The systemd-journal-gatewayd now runs as unprivileged user
06db8540cdfc8259423ed90e7352dbc1d71eccd9Lennart Poettering systemd-journal-gateway:systemd-journal-gateway. Packaging
4ff49cb63075aba646b578f2516b37a8dfd5a65bLennart Poettering scripts need to create these system user/group at
4ff49cb63075aba646b578f2516b37a8dfd5a65bLennart Poettering installation time.
fff87a35d9e26c0d4ea41273a963c0eb20e18da4Zbigniew Jędrzejewski-Szmek
fff87a35d9e26c0d4ea41273a963c0eb20e18da4Zbigniew Jędrzejewski-Szmek * timedated now exposes a new boolean property CanNTP that
fff87a35d9e26c0d4ea41273a963c0eb20e18da4Zbigniew Jędrzejewski-Szmek indicates whether a local NTP service is available or not.
b8b4d3dddc7611dce3bf28004b0375d661120c62Lennart Poettering
b8b4d3dddc7611dce3bf28004b0375d661120c62Lennart Poettering * systemd-detect-virt will now also detect xen PVs
b8b4d3dddc7611dce3bf28004b0375d661120c62Lennart Poettering
3df82d5a8cdc510f518fd5e234ccb3233b748719Lennart Poettering * The pstore file system is now mounted by default, if it is available.
3df82d5a8cdc510f518fd5e234ccb3233b748719Lennart Poettering
3df82d5a8cdc510f518fd5e234ccb3233b748719Lennart Poettering Contributions from: Adel Gadllah, Aleksander Morgado, Auke
3df82d5a8cdc510f518fd5e234ccb3233b748719Lennart Poettering Kok, Ayan George, Bastien Nocera, Colin Walters, Daniel Buch,
b5c03638d48c07aa0eaf13b5f54000c7133e1883Lennart Poettering Daniel Wallace, Dave Reisner, David Herrmann, David Strauss,
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt Eelco Dolstra, Enrico Scholz, Frederic Crozat, Harald Hoyer,
b5c03638d48c07aa0eaf13b5f54000c7133e1883Lennart Poettering Jan Janssen, Jonathan Callen, Kay Sievers, Lennart Poettering,
b5c03638d48c07aa0eaf13b5f54000c7133e1883Lennart Poettering Lukas Nykryn, Mantas Mikulėnas, Marc-Antoine Perennou, Martin
b5c03638d48c07aa0eaf13b5f54000c7133e1883Lennart Poettering Pitt, Mauro Dreissig, Max F. Albrecht, Michael Biebl, Michael
eece8c6fb5f4d354dcef6fd369e876c4f3a3f163Lennart Poettering Olbrich, Michal Schmidt, Michal Sekletar, Michal Vyskocil,
eece8c6fb5f4d354dcef6fd369e876c4f3a3f163Lennart Poettering Michał Bartoszkiewicz, Mirco Tischler, Nathaniel Chen, Nestor
eece8c6fb5f4d354dcef6fd369e876c4f3a3f163Lennart Poettering Ovroy, Oleksii Shevchuk, Paul W. Frields, Piotr Drąg, Rob
356ce9915ab1a4a1e6dc26954df34936a69e7c12Lennart Poettering Clark, Ryan Lortie, Simon McVittie, Simon Peeters, Steven
356ce9915ab1a4a1e6dc26954df34936a69e7c12Lennart Poettering Hiscocks, Thomas Hindoe Paaboel Andersen, Tollef Fog Heen, Tom
09f727eebd87661f263d3c2c1e0de7b7771acd40Lennart Poettering Gundersen, Umut Tezduyar, William Giokas, Zbigniew
09f727eebd87661f263d3c2c1e0de7b7771acd40Lennart Poettering Jędrzejewski-Szmek, Zeeshan Ali (Khattak)
09f727eebd87661f263d3c2c1e0de7b7771acd40Lennart Poettering
c144692179098c1861f2aeafc67689a74439cf4cLennart PoetteringCHANGES WITH 197:
c144692179098c1861f2aeafc67689a74439cf4cLennart Poettering
c144692179098c1861f2aeafc67689a74439cf4cLennart Poettering * Timer units now support calendar time events in addition to
c144692179098c1861f2aeafc67689a74439cf4cLennart Poettering monotonic time events. That means you can now trigger a unit
795607b22308f5b92073b012e43be1892fdd97c0Lennart Poettering based on a calendar time specification such as "Thu,Fri
0be8342c04bbf129b4a21e5073eacccbbce4e896Lennart Poettering 2013-*-1,5 11:12:13" which refers to 11:12:13 of the first
0be8342c04bbf129b4a21e5073eacccbbce4e896Lennart Poettering or fifth day of any month of the year 2013, given that it is
0be8342c04bbf129b4a21e5073eacccbbce4e896Lennart Poettering a thursday or friday. This brings timer event support
0be8342c04bbf129b4a21e5073eacccbbce4e896Lennart Poettering considerably closer to cron's capabilities. For details on
0be8342c04bbf129b4a21e5073eacccbbce4e896Lennart Poettering the supported calendar time specification language see
e5ec62c56963d997edaffa904af5dc45dac23988Lennart Poettering systemd.time(7).
54c31a79f72ff57ac8eba089acacc4ab482b745dLennart Poettering
826872b61e4857dfffe63ba84e2b005623baecd6Lennart Poettering * udev now supports a number of different naming policies for
826872b61e4857dfffe63ba84e2b005623baecd6Lennart Poettering network interfaces for predictable names, and a combination
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt of these policies is now the default. Please see this wiki
826872b61e4857dfffe63ba84e2b005623baecd6Lennart Poettering document for details:
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering
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
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering boot in quite some detail. It's one of the best bootchart
cbb7712189527f9f483321607e44c4ead3dd11b8Lennart Poettering implementations around and minimal in its code and
cbb7712189527f9f483321607e44c4ead3dd11b8Lennart Poettering dependencies.
d01a73b6396f57792113c1b5df6e8492fc703e5eLennart Poettering
d01a73b6396f57792113c1b5df6e8492fc703e5eLennart Poettering * nss-myhostname has been integrated into the systemd source
356ce9915ab1a4a1e6dc26954df34936a69e7c12Lennart Poettering tree. nss-myhostname guarantees that the local hostname
490b7e47093d491a2bdb1084fe92b796f4e07eefLennart Poettering always stays resolvable via NSS. It has been a weak
81d112a8f0522a09fcfe317f420363a2b728137cLennart Poettering requirement of systemd-hostnamed since a long time, and
490b7e47093d491a2bdb1084fe92b796f4e07eefLennart Poettering since its code is actually trivial we decided to just
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering include it in systemd's source tree. It can be turned off
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering with a configure switch.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering
466784c8710e5cb0e0b86a16506d992d7ec5b619Kay Sievers * The read-ahead logic is now capable of properly detecting
e41814846c19a48f4490169d82e359e005c4db45Lennart Poettering whether a btrfs file system is on SSD or rotating media, in
c0fe5db522b52f27e030655ce2c03e05cbbc1558Kay Sievers order to optimize the read-ahead scheme. Previously, it was
e9fd44b728ff1fc0d1f24fccb87a767f6865df27Lennart Poettering only capable of detecting this on traditional file systems
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering such as ext4.
e9fd44b728ff1fc0d1f24fccb87a767f6865df27Lennart Poettering
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * In udev, additional device properties are now read from the
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering IAB in addition to the OUI database. Also, Bluetooth company
3040728b6691ea2e9df3a2060e2d49a792bbaedaLennart Poettering identities are attached to the devices as well.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering
8ed206517c2be381324ac5832bf34cc14024270eLennart Poettering * In service files %U may be used as specifier that is
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering replaced by the configured user name of the service.
e6c6e7afffa80ad74efdb1ddfa815294624f1608Lennart Poettering
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * nspawn may now be invoked without a controlling TTY. This
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart 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
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * systemd and nspawn can now accept socket file descriptors
e5ec62c56963d997edaffa904af5dc45dac23988Lennart Poettering when they are started for socket activation. This enables
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering implementation of socket activated nspawn
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering containers. i.e. think about autospawning an entire OS image
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering when the first SSH or HTTP connection is received. We expect
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering that similar functionality will also be added to libvirt-lxc
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering eventually.
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering
e673ad0415d89c322e5b1a121e411f1b1d8075c0Lennart Poettering * journalctl will now suppress ANSI color codes when
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering presenting log data.
e673ad0415d89c322e5b1a121e411f1b1d8075c0Lennart Poettering
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * systemctl will no longer show control group information for
e673ad0415d89c322e5b1a121e411f1b1d8075c0Lennart Poettering a unit if a the control group is empty anyway.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering
c06bf414042cd1bf94e0af63e9e2a0c291bfc546Kay Sievers * logind can now automatically suspend/hibernate/shutdown the
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering system on idle.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * /etc/machine-info and hostnamed now also expose the chassis
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt type of the system. This can be used to determine whether
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering the local system is a laptop, desktop, handset or
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering tablet. This information may either be configured by the
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering user/vendor or is automatically determined from ACPI and DMI
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering information if possible.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * A number of PolicyKit actions are now bound together with
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering "imply" rules. This should simplify creating UIs because
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering many actions will now authenticate similar ones as well.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering
f47ec8ebb3858553dec870e1c596e39525f46360Lennart 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
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.
f47ec8ebb3858553dec870e1c596e39525f46360Lennart Poettering
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.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * systemd will no longer detect and recognize specific
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering distributions. All distribution-specific #ifdeffery has been
601d9d6fb394a780765e80581daab850623e9698Josh Triplett removed, systemd is now fully generic and
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering distribution-agnostic. Effectively, not too much is lost as
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering a lot of the code is still accessible via explicit configure
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering switches. However, support for some distribution specific
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering legacy configuration file formats has been dropped. We
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering recommend distributions to simply adopt the configuration
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering files everybody else uses now and convert the old
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering configuration from packaging scripts. Most distributions
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering already did that. If that's not possible or desirable,
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering distributions are welcome to forward port the specific
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering pieces of code locally from the git history.
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering * When logging a message about a unit systemd will now always
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering log the unit name in the message meta data.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering
8b8f259170e35b93e6c6d1757cb8b835bbdaa40cZbigniew Jędrzejewski-Szmek * localectl will now also discover system locale data that is
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering not stored in locale archives, but directly unpacked.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * logind will no longer unconditionally use framebuffer
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering devices as seat masters, i.e. as devices that are required
eb124a97fb72d076014253b1acde69d428f15ecfLennart Poettering to be existing before a seat is considered preset. Instead,
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering it will now look for all devices that are tagged as
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering "seat-master" in udev. By default framebuffer devices will
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering be marked as such, but depending on local systems other
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering devices might be marked as well. This may be used to
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering integrate graphics cards using closed source drivers (such
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering as NVidia ones) more nicely into logind. Note however, that
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart 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
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
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt 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
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering Jędrzejewski-Szmek
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart PoetteringCHANGES WITH 196:
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering * udev gained support for loading additional device properties
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering from an indexed database that is keyed by vendor/product IDs
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering and similar device identifiers. For the beginning this
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering "hwdb" is populated with data from the well-known PCI and
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering USB database, but also includes PNP, ACPI and OID data. In
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering the longer run this indexed database shall grow into
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering becoming the one central database for non-essential
8b04b925e587ff56568c62ff5ad3f2ea2b34ca7aLennart Poettering userspace device metadata. Previously, data from the PCI/USB
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering database was only attached to select devices, since the
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering lookup was a relatively expensive operation due to O(n) time
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering complexity (with n being the number of entries in the
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering database). Since this is now O(1), we decided to add in this
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering data for all devices where this is available, by
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering default. Note that the indexed database needs to be rebuilt
eb124a97fb72d076014253b1acde69d428f15ecfLennart Poettering when new data files are installed. To achieve this you need
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering to update your packaging scripts to invoke "udevadm hwdb
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt --update" after installation of hwdb data files. For
90e071d1d59be05fcba66561439c3ca67c80ee20Lennart Poettering RPM-based distributions we introduced the new
d2e83c23f5f0cdd3b6ec05c5c40209708721e704Kay Sievers %udev_hwdb_update macro for this purpose.
d2e83c23f5f0cdd3b6ec05c5c40209708721e704Kay Sievers
d2e83c23f5f0cdd3b6ec05c5c40209708721e704Kay Sievers * The Journal gained support for the "Message Catalog", an
d2e83c23f5f0cdd3b6ec05c5c40209708721e704Kay Sievers indexed database to link up additional information with
f6113d42d015ad9f3a9e702a09eb8006511a4424Kay Sievers journal entries. For further details please check:
f6113d42d015ad9f3a9e702a09eb8006511a4424Kay Sievers
d2e83c23f5f0cdd3b6ec05c5c40209708721e704Kay Sievers http://www.freedesktop.org/wiki/Software/systemd/catalog
7a43e910ce00eef22fd42925ae4c85cbea1b1320Kay Sievers
d2e83c23f5f0cdd3b6ec05c5c40209708721e704Kay Sievers The indexed message catalog database also needs to be
c55b1b59b837dfd924b704d457ed77c55f8bfeabLennart Poettering rebuilt after installation of message catalog files. Use
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering "journalctl --update-catalog" for this. For RPM-based
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering distributions we introduced the %journal_catalog_update
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering macro for this purpose.
7f8732835295fce29479b1afc9e8ee801852db09Lennart Poettering
7f8732835295fce29479b1afc9e8ee801852db09Lennart Poettering * The Python Journal bindings gained support for the standard
7f8732835295fce29479b1afc9e8ee801852db09Lennart Poettering Python logging framework.
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering
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
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt time intervals.
1cb88f2c61f590083847d65cd5a518e834da87d3Lennart Poettering
603cd8fe07cb03e8b11722d1a732e569e5a46347Lennart Poettering * It is now possible to set the "age" field for tmpfiles
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering entries to 0, indicating that files matching this entry
6d0274f11547a0f11200bb82bf598a5a253e12cfLennart Poettering shall always be removed when the directories are cleaned up.
a7a3f28be404875eff20443a0fa8088bcc4c18dfLennart Poettering
a7a3f28be404875eff20443a0fa8088bcc4c18dfLennart Poettering * coredumpctl gained a new "gdb" verb which invokes gdb
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering right-away on the selected coredump.
08f9588885c5d65694b324846b0ed19211d2c178Lennart Poettering
97c52b838b45aee16ed9dad5a614a027f12d89eeLennart Poettering * There's now support for "hybrid sleep" on kernels that
7d8197d1f25c1291855bb6cffc705444978c6d8dKay Sievers support this, in addition to "suspend" and "hibernate". Use
7d8197d1f25c1291855bb6cffc705444978c6d8dKay Sievers "systemctl hybrid-sleep" to make use of this.
7d8197d1f25c1291855bb6cffc705444978c6d8dKay Sievers
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
9ee58bddeb6eb044753167e0047fe836479ca5dbKay Sievers actually executing a suspend or hibernation.
9ee58bddeb6eb044753167e0047fe836479ca5dbKay Sievers
dcfc4b2e5c1af6375488c00bdc6fb8122f86c4d7Lennart Poettering * systemd will now mount the EFI variables file system by
71ef24d09573874c0f7bc323c07c3aec2a458707Lennart Poettering default.
71ef24d09573874c0f7bc323c07c3aec2a458707Lennart Poettering
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt * Socket units now gained support for configuration of the
1b89884ba31cbe98f159ce2c7d6fac5f6a57698fLennart Poettering SMACK security label.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering * timedatectl will now output the time of the last and next
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering daylight saving change.
9e281251e99bbbbcb0366575b5195c36fc9483d7Lennart Poettering
9cb74bcb23dde8488459ca233bf9caee642b8402Zbigniew Jędrzejewski-Szmek * We dropped support for various legacy and distro-specific
a56b63f41dc779a86573ae77814c14c1db156398Lennart Poettering concepts, such as insserv, early-boot SysV services
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart 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!)
5f1dac6bf605871615b35891a3966fa474db5b20Lennart Poettering
f801968466fed39d50d410b30ac828c26722cc95Lennart Poettering * Various systemd components will now bypass PolicyKit checks
424a19f8a2061c6b058283228734010b2fa24db4Lennart Poettering for root and otherwise handle properly if PolicyKit is not
41f9172f427bdbb8221c64029f78364b8dd4e527Lennart Poettering found to be around. This should fix most issues for
424a19f8a2061c6b058283228734010b2fa24db4Lennart Poettering PolicyKit-less systems. Quite frankly this should have been
424a19f8a2061c6b058283228734010b2fa24db4Lennart Poettering this way since day one. It is absolutely our intention to
424a19f8a2061c6b058283228734010b2fa24db4Lennart Poettering make systemd work fine on PolicyKit-less systems, and we
a1cccad1fe88ddd6943e18af97cf7f466296970fLennart Poettering consider it a bug if something doesn't work as it should if
a1cccad1fe88ddd6943e18af97cf7f466296970fLennart Poettering PolicyKit is not around.
8556879e0d14925ce897875c6c264368e2d048c2Lennart Poettering
d05c556b6b2a680ec8b51ecbbc99a9ab14c28eedZbigniew Jędrzejewski-Szmek * For embedded systems it is now possible to build udev and
8556879e0d14925ce897875c6c264368e2d048c2Lennart Poettering systemd without blkid and/or kmod support.
8556879e0d14925ce897875c6c264368e2d048c2Lennart Poettering
8556879e0d14925ce897875c6c264368e2d048c2Lennart Poettering * "systemctl switch-root" is now capable of switching root
4a30847b9d71e0381948d68279c8f775b9de7850Lennart Poettering more than once. I.e. in addition to transitions from the
4a30847b9d71e0381948d68279c8f775b9de7850Lennart Poettering initrd to the host OS it is now possible to transition to
5e8b28838e493b59628322b69580097ef7dd9384Lennart Poettering further OS images from the host. This is useful to implement
5e8b28838e493b59628322b69580097ef7dd9384Lennart Poettering offline updating tools.
d87be9b0af81a6e07d4fb3028e45c4409100dc26Lennart Poettering
d87be9b0af81a6e07d4fb3028e45c4409100dc26Lennart Poettering * Various other additions have been made to the RPM macros
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering shipped with systemd. Use %udev_rules_update() after
38a60d7112d33ffd596b23e8df53d75a7c09e71bLennart Poettering installing new udev rules files. %_udevhwdbdir,
d8b78264a5245307babbf5af8e39d6d4a1ae095fLennart Poettering %_udevrulesdir, %_journalcatalogdir, %_tmpfilesdir,
d8b78264a5245307babbf5af8e39d6d4a1ae095fLennart Poettering %_sysctldir are now available which resolve to the right
68f160039eb78fe122cfe0d4c49695ae91f6f0d1Lennart Poettering directories for packages to place various data files in.
0790b9fed42eefc4e22dbbe2337cba9713b7848cLennart Poettering
5a7e959984788cf89719dec31999409b63bb802bLennart Poettering * journalctl gained the new --full switch (in addition to
5a7e959984788cf89719dec31999409b63bb802bLennart Poettering --all, to disable ellipsation for long messages.
68f160039eb78fe122cfe0d4c49695ae91f6f0d1Lennart Poettering
68f160039eb78fe122cfe0d4c49695ae91f6f0d1Lennart Poettering Contributions from: Anders Olofsson, Auke Kok, Ben Boeckel,
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt Colin Walters, Cosimo Cecchi, Daniel Wallace, Dave Reisner,
68f160039eb78fe122cfe0d4c49695ae91f6f0d1Lennart Poettering Eelco Dolstra, Holger Hans Peter Freyther, Kay Sievers,
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt Chun-Yi Lee, Lekensteyn, Lennart Poettering, Mantas Mikulėnas,
68f160039eb78fe122cfe0d4c49695ae91f6f0d1Lennart Poettering Marti Raudsepp, Martin Pitt, Mauro Dreissig, Michael Biebl,
0790b9fed42eefc4e22dbbe2337cba9713b7848cLennart Poettering Michal Schmidt, Michal Sekletar, Miklos Vajna, Nis Martensen,
fd4d89b2c0b31da01d134301e30916931ae3c7d9Lennart Poettering Oleksii Shevchuk, Olivier Brunel, Ramkumar Ramachandra, Thomas
fd4d89b2c0b31da01d134301e30916931ae3c7d9Lennart Poettering Bächler, Thomas Hindoe Paaboel Andersen, Tom Gundersen, Tony
8230e26dc954a40d8c9dbc8ddd9376117021f9d2Lennart Poettering Camuso, Umut Tezduyar, Zbigniew Jędrzejewski-Szmek
8230e26dc954a40d8c9dbc8ddd9376117021f9d2Lennart Poettering
4d9909c93e9c58789c71b34555a1908307c6849eLennart PoetteringCHANGES WITH 195:
4d9909c93e9c58789c71b34555a1908307c6849eLennart Poettering
47ae7201b1df43bd3da83a19e38483b0e5694c99Lennart Poettering * journalctl gained new --since= and --until= switches to
47ae7201b1df43bd3da83a19e38483b0e5694c99Lennart Poettering filter by time. It also now supports nice filtering for
88a6c5894c9d3f85d63b87b040c130366b4006ceKay Sievers units via --unit=/-u.
8351ceaea9480d9c2979aa2ff0f4982cfdfef58dLennart Poettering
9946996cda11a18b44d82344676e5a0e96339408Lennart Poettering * Type=oneshot services may use ExecReload= and do the
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt right thing.
9946996cda11a18b44d82344676e5a0e96339408Lennart Poettering
3471bedc005fab03f40b99bf6599645330adcd9eLennart Poettering * The journal daemon now supports time-based rotation and
3471bedc005fab03f40b99bf6599645330adcd9eLennart Poettering vacuuming, in addition to the usual disk-space based
59cea26a349cfa8db906b520dac72563dd773ff2Lennart Poettering rotation.
35eb6b124ebdf82bd77aad6e44962a9a039c4d33Lennart Poettering
5b40d33761376354116a8cddb9b9fbdb6c4727d6Lennart Poettering * The journal will now index the available field values for
5b40d33761376354116a8cddb9b9fbdb6c4727d6Lennart Poettering each field name. This enables clients to show pretty drop
d3a3f22267a7dac426b07a7ed0baa1632f5daf04Kay Sievers downs of available match values when filtering. The bash
d3a3f22267a7dac426b07a7ed0baa1632f5daf04Kay Sievers completion of journalctl has been updated
d3a3f22267a7dac426b07a7ed0baa1632f5daf04Kay Sievers accordingly. journalctl gained a new switch -F to list all
d3a3f22267a7dac426b07a7ed0baa1632f5daf04Kay Sievers values a certain field takes in the journal database.
d3a3f22267a7dac426b07a7ed0baa1632f5daf04Kay Sievers
d3a3f22267a7dac426b07a7ed0baa1632f5daf04Kay Sievers * More service events are now written as structured messages
d3a3f22267a7dac426b07a7ed0baa1632f5daf04Kay Sievers to the journal, and made recognizable via message IDs.
d3a3f22267a7dac426b07a7ed0baa1632f5daf04Kay Sievers
d3a3f22267a7dac426b07a7ed0baa1632f5daf04Kay Sievers * The timedated, localed and hostnamed mini-services which
d3a3f22267a7dac426b07a7ed0baa1632f5daf04Kay Sievers previously only provided support for changing time, locale
465349c06d994dd2cc6b6fc4109ac0b9952d500aLennart Poettering and hostname settings from graphical DEs such as GNOME now
e01a15b71e18bf2008aec7e75041ffa42eb80b80Kay Sievers also have a minimal (but very useful) text-based client
a888b352eb53b07daa24fa859ceeb254336b293dLennart Poettering utility each. This is probably the nicest way to changing
abd55b16547d0bb0ed1c31e72e16838f0f59f48bKay Sievers these settings from the command line now, especially since
3f60bcb5e69846fe8a3156ca1c9a7e0813ac158aKay Sievers it lists available options and is fully integrated with bash
abd55b16547d0bb0ed1c31e72e16838f0f59f48bKay Sievers completion.
abd55b16547d0bb0ed1c31e72e16838f0f59f48bKay Sievers
abd55b16547d0bb0ed1c31e72e16838f0f59f48bKay Sievers * There's now a new tool "systemd-coredumpctl" to list and
e8d842a0d0b39f298e1e7f70d29759e50b2b16d4Tom Gundersen extract coredumps from the journal.
b8217b7bd5fd171916a095b150fad4c3a37f5a41Kay Sievers
169c4f65131fbc7bcb51e7d5487a715cdcd0e0ebLennart Poettering * We now install a README each in /var/log/ and
169c4f65131fbc7bcb51e7d5487a715cdcd0e0ebLennart Poettering /etc/rc.d/init.d explaining where the system logs and init
fb0864e7b9c6d26269ccea6ec5c0fd921c029781Lennart Poettering scripts went. This hopefully should help folks who go to
fb0864e7b9c6d26269ccea6ec5c0fd921c029781Lennart Poettering that dirs and look into the otherwise now empty void and
7f110ff9b8828b477e87de7b28c708cf69a3d008Lennart Poettering scratch their heads.
7f110ff9b8828b477e87de7b28c708cf69a3d008Lennart Poettering
d0e5a33374cee92962af33dfc03873e470b014f6Lennart Poettering * When user-services are invoked (by systemd --user) the
d0e5a33374cee92962af33dfc03873e470b014f6Lennart Poettering $MANAGERPID env var is set to the PID of systemd.
d0e5a33374cee92962af33dfc03873e470b014f6Lennart Poettering
d0e5a33374cee92962af33dfc03873e470b014f6Lennart Poettering * SIGRTMIN+24 when sent to a --user instance will now result
87a8baa35d6d65ac3b58ae8e26e338e67f8ae8edLennart Poettering in immediate termination of systemd.
87a8baa35d6d65ac3b58ae8e26e338e67f8ae8edLennart Poettering
87a8baa35d6d65ac3b58ae8e26e338e67f8ae8edLennart Poettering * gatewayd received numerous feature additions such as a
87a8baa35d6d65ac3b58ae8e26e338e67f8ae8edLennart Poettering "follow" mode, for live syncing and filtering.
70a44afee385c4afadaab9a002b3f9dd44aedf4aJan Engelhardt
65c0cf7108ae3537a357c74b4586a783baba82f9Lennart Poettering * browse.html now allows filtering and showing detailed
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers information on specific entries. Keyboard navigation and
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers mouse screen support has been added.
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers
ad740100d108282d0244d5739d4dcc86fe4c5fdeLennart Poettering * gatewayd/journalctl now supports HTML5/JSON
ad740100d108282d0244d5739d4dcc86fe4c5fdeLennart Poettering Server-Sent-Events as output.
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering * The SysV init script compatibility logic will now
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering heuristically determine whether a script supports the
7d441ddb5ca090b5a97f58ac4b4d97b3e84fa81eLennart Poettering "reload" verb, and only then make this available as
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan Engelhardt "systemctl reload".
14e639ae7a1dbf156273ce697d30fbc6c6594209Lennart Poettering
7f8aa67131cfc03ddcbd31c0420754864fc122f0Lennart Poettering * "systemctl status --follow" has been removed, use "journalctl
ff01d048b4c1455241c894cf7982662c9d28fd34Lennart Poettering -u" instead.
d3c7d7dd77b2b72315164b672462825cef6c0f9aKay Sievers
72b9ed828bd22f3ddd74b6853c183eebf006d6d8Lennart Poettering * journald.conf's RuntimeMinSize=, PersistentMinSize= settings
1d6702e8d3877c0bebf3ac817dc45ff72f5ecfa9Lennart Poettering have been removed since they are hardly useful to be
1d6702e8d3877c0bebf3ac817dc45ff72f5ecfa9Lennart Poettering configured.
1d6702e8d3877c0bebf3ac817dc45ff72f5ecfa9Lennart Poettering
71092d70af35567dd154d3de2ce04ce62e157a7cLennart Poettering * And I'd like to take the opportunity to specifically mention
71092d70af35567dd154d3de2ce04ce62e157a7cLennart Poettering Zbigniew for his great contributions. Zbigniew, you rock!
1258097cd3cdbc5dd3d264850119e553a29c5068Lennart Poettering
1258097cd3cdbc5dd3d264850119e553a29c5068Lennart Poettering Contributions from: Andrew Eikum, Christian Hesse, Colin
1258097cd3cdbc5dd3d264850119e553a29c5068Lennart Poettering Guthrie, Daniel J Walsh, Dave Reisner, Eelco Dolstra, Ferenc
a4c279f87451186b8beb1b8cc21c7cad561ecf4bLennart Poettering Wágner, Kay Sievers, Lennart Poettering, Lukas Nykryn, Mantas
a4c279f87451186b8beb1b8cc21c7cad561ecf4bLennart Poettering Mikulėnas, Martin Mikkelsen, Martin Pitt, Michael Olbrich,
7c697168102cb64c5cb65a542959684014da99c7Lennart Poettering Michael Stapelberg, Michal Schmidt, Sebastian Ott, Thomas
253ee27a0c7a410d27d490bb79ea97caed6a2b68Lennart Poettering Bächler, Umut Tezduyar, Will Woods, Wulf C. Krueger, Zbigniew
71092d70af35567dd154d3de2ce04ce62e157a7cLennart Poettering Jędrzejewski-Szmek, Сковорода Никита Андреевич
8d0e38a2b966799af884e78a54fd6a2dffa44788Lennart Poettering
f28f1daf754a9a07de90e6fc4ada581bf5de677dLennart PoetteringCHANGES WITH 194:
f28f1daf754a9a07de90e6fc4ada581bf5de677dLennart Poettering
f28f1daf754a9a07de90e6fc4ada581bf5de677dLennart Poettering * If /etc/vconsole.conf is non-existent or empty we will no
f28f1daf754a9a07de90e6fc4ada581bf5de677dLennart Poettering longer load any console font or key map at boot by
f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3Lennart Poettering default. Instead the kernel defaults will be left
a012ab5293a28af93454b3105ca85ca148b1c11fDave Reisner intact. This is definitely the right thing to do, as no
88a07670cfa974a605c7c7b520b8a3135fce37f9Lennart Poettering configuration should mean no configuration, and hard-coding
88a07670cfa974a605c7c7b520b8a3135fce37f9Lennart Poettering font names that are different on all archs is probably a bad
88a07670cfa974a605c7c7b520b8a3135fce37f9Lennart Poettering idea. Also, the kernel default key map and font should be
71092d70af35567dd154d3de2ce04ce62e157a7cLennart Poettering good enough for most cases anyway, and mostly identical to
916abb21d0a6653e0187b91591e492026886b0a4Lennart Poettering the userspace fonts/key maps we previously overloaded them
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering with. If distributions want to continue to default to a
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering non-kernel font or key map they should ship a default
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering /etc/vconsole.conf with the appropriate contents.
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering Contributions from: Colin Walters, Daniel J Walsh, Dave
b44be3ecf6326c27aa2c6c6d1fe34e22e22592a0Lennart Poettering Reisner, Kay Sievers, Lennart Poettering, Lukas Nykryn, Tollef
b23de6af893c11da4286bc416455cd0926d1532eLennart Poettering Fog Heen, Tom Gundersen, Zbigniew Jędrzejewski-Szmek
21bdae12e11ae20460715475d8a0c991f15464acLennart Poettering
21bdae12e11ae20460715475d8a0c991f15464acLennart PoetteringCHANGES WITH 193:
9534ce54858c67363b841cdbdc315140437bfdb4Lennart Poettering
9534ce54858c67363b841cdbdc315140437bfdb4Lennart Poettering * journalctl gained a new --cursor= switch to show entries
68c7d001f4117f0c3d0a4582e32cbb03ae5fac57Lennart Poettering starting from the specified location in the journal.
796b06c21b62d13c9021e2fbd9c58a5c6edb2764Kay Sievers
68c7d001f4117f0c3d0a4582e32cbb03ae5fac57Lennart Poettering * We now enforce a size limit on journal entry fields exported
68c7d001f4117f0c3d0a4582e32cbb03ae5fac57Lennart Poettering with "-o json" in journalctl. Fields larger than 4K will be
7a2a0b907b5cc60f5d9a871997d7d6e7f62bf4d8Lennart Poettering assigned null. This can be turned off with --all.
253ee27a0c7a410d27d490bb79ea97caed6a2b68Lennart Poettering
5d0fcd7c8d29340ac9425c309e8ac436a9af699cLennart Poettering * An (optional) journal gateway daemon is now available as
5d0fcd7c8d29340ac9425c309e8ac436a9af699cLennart Poettering "systemd-journal-gatewayd.service". This service provides
8bbabc447b1d913bd21faf97c7b17d20d315d2b4Lennart Poettering access to the journal via HTTP and JSON. This functionality
f530371f1f85a070d7d0fb5112146a43533ae00bLennart Poettering will be used to implement live log synchronization in both
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering pull and push modes, but has various other users too, such
a19554ed92a7460b4e709cc40c558cde827ab85bLennart Poettering as easy log access for debugging of embedded devices. Right
a73d88fa024b5668ed7dde681e99547d41e6a864Lennart Poettering now it is already useful to retrieve the journal via HTTP:
a74a8793b04de9886b4f6987b9cb86fa02c73520Lennart Poettering
3040728b6691ea2e9df3a2060e2d49a792bbaedaLennart Poettering # systemctl start systemd-journal-gatewayd.service
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering # wget http://localhost:19531/entries
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering This will download the journal contents in a
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering /var/log/messages compatible format. The same as JSON:
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering
73090dc815390f4fca4e3ed8a7e1d3806605daaaLennart Poettering # curl -H"Accept: application/json" http://localhost:19531/entries
44143309dd0b37d61d7d842ca58f01a65646ec71Kay Sievers
3d57c6ab801f4437f12948e29589e3d00c3ad9dbLennart Poettering This service is also accessible via a web browser where a
71092d70af35567dd154d3de2ce04ce62e157a7cLennart Poettering single static HTML5 app is served that uses the JSON logic
3f7a8c4e9f1d3ce48919e24eb2c9d56dd6fd88d8Kay Sievers to enable the user to do some basic browsing of the
260abb780a135e4cae8c10715c7e85675efc345aLennart Poettering journal. This will be extended later on. Here's an example
2791a8f8dc8764a9247cdba3562bd4c04010f144Lennart Poettering screenshot of this app in its current state:
a8f11321c209830a35edd0357e8def5d4437d854Lennart Poettering
a8f11321c209830a35edd0357e8def5d4437d854Lennart Poettering http://0pointer.de/public/journal-gatewayd
Error!

 

There was an error!

null

java.lang.NullPointerException