]>
Commit | Line | Data |
---|---|---|
d657c51f | 1 | systemd System and Service Manager |
220a21d3 | 2 | |
9ca3c17f LP |
3 | CHANGES WITH 200: |
4 | ||
5 | * The boot-time readahead implementation for rotating media | |
6 | will now read the read-ahead data in multiple passes which | |
7 | consist of all read requests made in equidistant time | |
8 | intervals. This means instead of strictly reading read-ahead | |
9 | data in its physical order on disk we now try to find a | |
10 | middle ground between physical and access time order. | |
11 | ||
12 | * /etc/os-release files gained a new BUILD_ID= field for usage | |
13 | on operating systems that provide continuous builds of OS | |
14 | images. | |
15 | ||
16 | Contributions from: Auke Kok, Eelco Dolstra, Kay Sievers, | |
17 | Lennart Poettering, Lukas Nykryn, Martin Pitt, Václav Pavlín | |
18 | William Douglas, Zbigniew Jędrzejewski-Szmek | |
19 | ||
35911459 LP |
20 | CHANGES WITH 199: |
21 | ||
22 | * systemd-python gained an API exposing libsystemd-daemon. | |
23 | ||
24 | * The SMACK setup logic gained support for uploading CIPSO | |
25 | security policy. | |
26 | ||
27 | * Behaviour of PrivateTmp=, ReadWriteDirectories=, | |
28 | ReadOnlyDirectories= and InaccessibleDirectories= has | |
29 | changed. The private /tmp and /var/tmp directories are now | |
30 | shared by all processes of a service (which means | |
31 | ExecStartPre= may now leave data in /tmp that ExecStart= of | |
32 | the same service can still access). When a service is | |
33 | stopped its temporary directories are immediately deleted | |
a87197f5 | 34 | (normal clean-up with tmpfiles is still done in addition to |
35911459 LP |
35 | this though). |
36 | ||
37 | * By default, systemd will now set a couple of sysctl | |
38 | variables in the kernel: the safe sysrq options are turned | |
39 | on, IP route verification is turned on, and source routing | |
40 | disabled. The recently added hardlink and softlink | |
41 | protection of the kernel is turned on. These settings should | |
42 | be reasonably safe, and good defaults for all new systems. | |
43 | ||
44 | * The predictable network naming logic may now be turned off | |
a87197f5 | 45 | with a new kernel command line switch: net.ifnames=0. |
35911459 LP |
46 | |
47 | * A new libsystemd-bus module has been added that implements a | |
48 | pretty complete D-Bus client library. For details see: | |
49 | ||
50 | http://lists.freedesktop.org/archives/systemd-devel/2013-March/009797.html | |
51 | ||
c20d8298 | 52 | * journald will now explicitly flush the journal files to disk |
a87197f5 ZJS |
53 | at the latest 5min after each write. The file will then also |
54 | be marked offline until the next write. This should increase | |
55 | reliability in case of a crash. The synchronization delay | |
56 | can be configured via SyncIntervalSec= in journald.conf. | |
35911459 LP |
57 | |
58 | * There's a new remote-fs-setup.target unit that can be used | |
59 | to pull in specific services when at least one remote file | |
60 | system is to be mounted. | |
61 | ||
62 | * There are new targets timers.target and paths.target as | |
63 | canonical targets to pull user timer and path units in | |
64 | from. This complements sockets.target with a similar | |
65 | purpose for socket units. | |
66 | ||
6a7d3d68 LP |
67 | * libudev gained a new call udev_device_set_attribute_value() |
68 | to set sysfs attributes of a device. | |
69 | ||
a87197f5 ZJS |
70 | * The udev daemon now sets the default number of worker |
71 | processes executed in parallel based on the number of available | |
c20d8298 KS |
72 | CPUs instead of the amount of available RAM. This is supposed |
73 | to provide a more reliable default and limit a too agressive | |
74 | paralellism for setups with 1000s of devices connected. | |
75 | ||
35911459 LP |
76 | Contributions from: Auke Kok, Colin Walters, Cristian |
77 | Rodríguez, Daniel Buch, Dave Reisner, Frederic Crozat, Hannes | |
78 | Reinecke, Harald Hoyer, Jan Alexander Steffens, Jan | |
79 | Engelhardt, Josh Triplett, Kay Sievers, Lennart Poettering, | |
80 | Mantas Mikulėnas, Martin Pitt, Mathieu Bridon, Michael Biebl, | |
81 | Michal Schmidt, Michal Sekletar, Miklos Vajna, Nathaniel Chen, | |
82 | Oleksii Shevchuk, Ozan Çağlayan, Thomas Hindoe Paaboel | |
83 | Andersen, Tollef Fog Heen, Tom Gundersen, Umut Tezduyar, | |
84 | Zbigniew Jędrzejewski-Szmek | |
85 | ||
85d68397 LP |
86 | CHANGES WITH 198: |
87 | ||
88 | * Configuration of unit files may now be extended via drop-in | |
89 | files without having to edit/override the unit files | |
90 | themselves. More specifically, if the administrator wants to | |
91 | change one value for a service file foobar.service he can | |
92 | now do so by dropping in a configuration snippet into | |
ad88e758 | 93 | /etc/systemd/system/foobar.service.d/*.conf. The unit logic |
85d68397 LP |
94 | will load all these snippets and apply them on top of the |
95 | main unit configuration file, possibly extending or | |
96 | overriding its settings. Using these drop-in snippets is | |
40e21da8 KS |
97 | generally nicer than the two earlier options for changing |
98 | unit files locally: copying the files from | |
85d68397 LP |
99 | /usr/lib/systemd/system/ to /etc/systemd/system/ and editing |
100 | them there; or creating a new file in /etc/systemd/system/ | |
101 | that incorporates the original one via ".include". Drop-in | |
102 | snippets into these .d/ directories can be placed in any | |
fd868975 | 103 | directory systemd looks for units in, and the usual |
85d68397 LP |
104 | overriding semantics between /usr/lib, /etc and /run apply |
105 | for them too. | |
106 | ||
107 | * Most unit file settings which take lists of items can now be | |
6aa8d43a | 108 | reset by assigning the empty string to them. For example, |
85d68397 LP |
109 | normally, settings such as Environment=FOO=BAR append a new |
110 | environment variable assignment to the environment block, | |
111 | each time they are used. By assigning Environment= the empty | |
112 | string the environment block can be reset to empty. This is | |
113 | particularly useful with the .d/*.conf drop-in snippets | |
156f7d09 KS |
114 | mentioned above, since this adds the ability to reset list |
115 | settings from vendor unit files via these drop-ins. | |
85d68397 LP |
116 | |
117 | * systemctl gained a new "list-dependencies" command for | |
118 | listing the dependencies of a unit recursively. | |
119 | ||
40e21da8 | 120 | * Inhibitors are now honored and listed by "systemctl |
85d68397 LP |
121 | suspend", "systemctl poweroff" (and similar) too, not only |
122 | GNOME. These commands will also list active sessions by | |
123 | other users. | |
124 | ||
125 | * Resource limits (as exposed by the various control group | |
126 | controllers) can now be controlled dynamically at runtime | |
127 | for all units. More specifically, you can now use a command | |
128 | like "systemctl set-cgroup-attr foobar.service cpu.shares | |
129 | 2000" to alter the CPU shares a specific service gets. These | |
6aa8d43a | 130 | settings are stored persistently on disk, and thus allow the |
85d68397 LP |
131 | administrator to easily adjust the resource usage of |
132 | services with a few simple commands. This dynamic resource | |
6aa8d43a | 133 | management logic is also available to other programs via the |
85d68397 LP |
134 | bus. Almost any kernel cgroup attribute and controller is |
135 | supported. | |
136 | ||
137 | * systemd-vconsole-setup will now copy all font settings to | |
6aa8d43a LP |
138 | all allocated VTs, where it previously applied them only to |
139 | the foreground VT. | |
85d68397 LP |
140 | |
141 | * libsystemd-login gained the new sd_session_get_tty() API | |
142 | call. | |
143 | ||
6aa8d43a LP |
144 | * This release drops support for a few legacy or |
145 | distribution-specific LSB facility names when parsing init | |
146 | scripts: $x-display-manager, $mail-transfer-agent, | |
85d68397 LP |
147 | $mail-transport-agent, $mail-transfer-agent, $smtp, |
148 | $null. Also, the mail-transfer-agent.target unit backing | |
149 | this has been removed. Distributions which want to retain | |
6aa8d43a LP |
150 | compatibility with this should carry the burden for |
151 | supporting this themselves and patch support for these back | |
152 | in, if they really need to. Also, the facilities $syslog and | |
153 | $local_fs are now ignored, since systemd does not support | |
154 | early-boot LSB init scripts anymore, and these facilities | |
155 | are implied anyway for normal services. syslog.target has | |
156 | also been removed. | |
85d68397 | 157 | |
40e21da8 | 158 | * There are new bus calls on PID1's Manager object for |
6aa8d43a | 159 | cancelling jobs, and removing snapshot units. Previously, |
85d68397 LP |
160 | both calls were only available on the Job and Snapshot |
161 | objects themselves. | |
162 | ||
163 | * systemd-journal-gatewayd gained SSL support. | |
164 | ||
165 | * The various "environment" files, such as /etc/locale.conf | |
166 | now support continuation lines with a backslash ("\") as | |
167 | last character in the line, similar in style (but different) | |
168 | to how this is supported in shells. | |
169 | ||
170 | * For normal user processes the _SYSTEMD_USER_UNIT= field is | |
171 | now implicitly appended to every log entry logged. systemctl | |
172 | has been updated to filter by this field when operating on a | |
173 | user systemd instance. | |
174 | ||
175 | * nspawn will now implicitly add the CAP_AUDIT_WRITE and | |
176 | CAP_AUDIT_CONTROL capabilities to the capabilities set for | |
177 | the container. This makes it easier to boot unmodified | |
178 | Fedora systems in a container, which however still requires | |
179 | audit=0 to be passed on the kernel command line. Auditing in | |
180 | kernel and userspace is unfortunately still too broken in | |
181 | context of containers, hence we recommend compiling it out | |
182 | of the kernel or using audit=0. Hopefully this will be fixed | |
183 | one day for good in the kernel. | |
184 | ||
185 | * nspawn gained the new --bind= and --bind-ro= parameters to | |
186 | bind mount specific directories from the host into the | |
187 | container. | |
188 | ||
40e21da8 | 189 | * nspawn will now mount its own devpts file system instance |
6aa8d43a | 190 | into the container, in order not to leak pty devices from |
85d68397 LP |
191 | the host into the container. |
192 | ||
193 | * systemd will now read the firmware boot time performance | |
6aa8d43a LP |
194 | information from the EFI variables, if the used boot loader |
195 | supports this, and takes it into account for boot performance | |
196 | analysis via "systemd-analyze". This is currently supported | |
197 | only in conjunction with Gummiboot, but could be supported | |
198 | by other boot loaders too. For details see: | |
85d68397 LP |
199 | |
200 | http://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface | |
201 | ||
202 | * A new generator has been added that automatically mounts the | |
203 | EFI System Partition (ESP) to /boot, if that directory | |
6aa8d43a LP |
204 | exists, is empty, and no other file system has been |
205 | configured to be mounted there. | |
85d68397 LP |
206 | |
207 | * logind will now send out PrepareForSleep(false) out | |
208 | unconditionally, after coming back from suspend. This may be | |
209 | used by applications as asynchronous notification for | |
210 | system resume events. | |
211 | ||
212 | * "systemctl unlock-sessions" has been added, that allows | |
213 | unlocking the screens of all user sessions at once, similar | |
214 | how "systemctl lock-sessions" already locked all users | |
40e21da8 | 215 | sessions. This is backed by a new D-Bus call UnlockSessions(). |
85d68397 LP |
216 | |
217 | * "loginctl seat-status" will now show the master device of a | |
218 | seat. (i.e. the device of a seat that needs to be around for | |
219 | the seat to be considered available, usually the graphics | |
220 | card). | |
221 | ||
222 | * tmpfiles gained a new "X" line type, that allows | |
223 | configuration of files and directories (with wildcards) that | |
224 | shall be excluded from automatic cleanup ("aging"). | |
225 | ||
bf933560 KS |
226 | * udev default rules set the device node permissions now only |
227 | at "add" events, and do not change them any longer with a | |
228 | later "change" event. | |
85d68397 LP |
229 | |
230 | * The log messages for lid events and power/sleep keypresses | |
231 | now carry a message ID. | |
232 | ||
233 | * We now have a substantially larger unit test suite, but this | |
234 | continues to be work in progress. | |
235 | ||
236 | * udevadm hwdb gained a new --root= parameter to change the | |
237 | root directory to operate relative to. | |
238 | ||
40e21da8 KS |
239 | * logind will now issue a background sync() request to the kernel |
240 | early at shutdown, so that dirty buffers are flushed to disk early | |
85d68397 LP |
241 | instead of at the last moment, in order to optimize shutdown |
242 | times a little. | |
243 | ||
244 | * A new bootctl tool has been added that is an interface for | |
245 | certain boot loader operations. This is currently a preview | |
246 | and is likely to be extended into a small mechanism daemon | |
247 | like timedated, localed, hostnamed, and can be used by | |
248 | graphical UIs to enumerate available boot options, and | |
249 | request boot into firmware operations. | |
250 | ||
251 | * systemd-bootchart has been relicensed to LGPLv2.1+ to match | |
252 | the rest of the package. It also has been updated to work | |
253 | correctly in initrds. | |
254 | ||
255 | * Policykit previously has been runtime optional, and is now | |
256 | also compile time optional via a configure switch. | |
257 | ||
258 | * systemd-analyze has been reimplemented in C. Also "systemctl | |
259 | dot" has moved into systemd-analyze. | |
260 | ||
261 | * "systemctl status" with no further parameters will now print | |
262 | the status of all active or failed units. | |
263 | ||
264 | * Operations such as "systemctl start" can now be executed | |
265 | with a new mode "--irreversible" which may be used to queue | |
266 | operations that cannot accidentally be reversed by a later | |
6aa8d43a | 267 | job queuing. This is by default used to make shutdown |
85d68397 LP |
268 | requests more robust. |
269 | ||
270 | * The Python API of systemd now gained a new module for | |
271 | reading journal files. | |
272 | ||
273 | * A new tool kernel-install has been added that can install | |
274 | kernel images according to the Boot Loader Specification: | |
275 | ||
276 | http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec | |
277 | ||
278 | * Boot time console output has been improved to provide | |
6aa8d43a | 279 | animated boot time output for hanging jobs. |
85d68397 LP |
280 | |
281 | * A new tool systemd-activate has been added which can be used | |
282 | to test socket activation with, directly from the command | |
283 | line. This should make it much easier to test and debug | |
284 | socket activation in daemons. | |
285 | ||
286 | * journalctl gained a new "--reverse" (or -r) option to show | |
287 | journal output in reverse order (i.e. newest line first). | |
288 | ||
43447fb7 LP |
289 | * journalctl gained a new "--pager-end" (or -e) option to jump |
290 | to immediately jump to the end of the journal in the | |
291 | pager. This is only supported in conjunction with "less". | |
292 | ||
85d68397 LP |
293 | * journalctl gained a new "--user-unit=" option, that works |
294 | similar to "--unit=" but filters for user units rather than | |
295 | system units. | |
296 | ||
297 | * A number of unit files to ease adoption of systemd in | |
298 | initrds has been added. This moves some minimal logic from | |
299 | the various initrd implementations into systemd proper. | |
300 | ||
301 | * The journal files are now owned by a new group | |
302 | "systemd-journal", which exists specifically to allow access | |
303 | to the journal, and nothing else. Previously, we used the | |
6aa8d43a | 304 | "adm" group for that, which however possibly covers more |
85d68397 LP |
305 | than just journal/log file access. This new group is now |
306 | already used by systemd-journal-gatewayd to ensure this | |
307 | daemon gets access to the journal files and as little else | |
308 | as possible. Note that "make install" will also set FS ACLs | |
309 | up for /var/log/journal to give "adm" and "wheel" read | |
310 | access to it, in addition to "systemd-journal" which owns | |
311 | the journal files. We recommend that packaging scripts also | |
6aa8d43a | 312 | add read access to "adm" + "wheel" to /var/log/journal, and |
85d68397 LP |
313 | all existing/future journal files. To normal users and |
314 | administrators little changes, however packagers need to | |
315 | ensure to create the "systemd-journal" system group at | |
316 | package installation time. | |
317 | ||
318 | * The systemd-journal-gatewayd now runs as unprivileged user | |
319 | systemd-journal-gateway:systemd-journal-gateway. Packaging | |
320 | scripts need to create these system user/group at | |
321 | installation time. | |
322 | ||
323 | * timedated now exposes a new boolean property CanNTP that | |
324 | indicates whether a local NTP service is available or not. | |
325 | ||
326 | * systemd-detect-virt will now also detect xen PVs | |
327 | ||
40e21da8 KS |
328 | * The pstore file system is now mounted by default, if it is |
329 | available. | |
85d68397 | 330 | |
1aed4590 LP |
331 | * In addition to the SELinux and IMA policies we will now also |
332 | load SMACK policies at early boot. | |
333 | ||
85d68397 LP |
334 | Contributions from: Adel Gadllah, Aleksander Morgado, Auke |
335 | Kok, Ayan George, Bastien Nocera, Colin Walters, Daniel Buch, | |
336 | Daniel Wallace, Dave Reisner, David Herrmann, David Strauss, | |
337 | Eelco Dolstra, Enrico Scholz, Frederic Crozat, Harald Hoyer, | |
338 | Jan Janssen, Jonathan Callen, Kay Sievers, Lennart Poettering, | |
339 | Lukas Nykryn, Mantas Mikulėnas, Marc-Antoine Perennou, Martin | |
340 | Pitt, Mauro Dreissig, Max F. Albrecht, Michael Biebl, Michael | |
341 | Olbrich, Michal Schmidt, Michal Sekletar, Michal Vyskocil, | |
342 | Michał Bartoszkiewicz, Mirco Tischler, Nathaniel Chen, Nestor | |
343 | Ovroy, Oleksii Shevchuk, Paul W. Frields, Piotr Drąg, Rob | |
344 | Clark, Ryan Lortie, Simon McVittie, Simon Peeters, Steven | |
345 | Hiscocks, Thomas Hindoe Paaboel Andersen, Tollef Fog Heen, Tom | |
346 | Gundersen, Umut Tezduyar, William Giokas, Zbigniew | |
347 | Jędrzejewski-Szmek, Zeeshan Ali (Khattak) | |
348 | ||
8ad26859 LP |
349 | CHANGES WITH 197: |
350 | ||
351 | * Timer units now support calendar time events in addition to | |
352 | monotonic time events. That means you can now trigger a unit | |
353 | based on a calendar time specification such as "Thu,Fri | |
354 | 2013-*-1,5 11:12:13" which refers to 11:12:13 of the first | |
355 | or fifth day of any month of the year 2013, given that it is | |
356 | a thursday or friday. This brings timer event support | |
357 | considerably closer to cron's capabilities. For details on | |
358 | the supported calendar time specification language see | |
359 | systemd.time(7). | |
360 | ||
361 | * udev now supports a number of different naming policies for | |
362 | network interfaces for predictable names, and a combination | |
363 | of these policies is now the default. Please see this wiki | |
364 | document for details: | |
365 | ||
366 | http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames | |
367 | ||
368 | * Auke Kok's bootchart implementation has been added to the | |
369 | systemd tree. It's an optional component that can graph the | |
370 | boot in quite some detail. It's one of the best bootchart | |
371 | implementations around and minimal in its code and | |
372 | dependencies. | |
373 | ||
374 | * nss-myhostname has been integrated into the systemd source | |
375 | tree. nss-myhostname guarantees that the local hostname | |
376 | always stays resolvable via NSS. It has been a weak | |
377 | requirement of systemd-hostnamed since a long time, and | |
378 | since its code is actually trivial we decided to just | |
379 | include it in systemd's source tree. It can be turned off | |
380 | with a configure switch. | |
381 | ||
382 | * The read-ahead logic is now capable of properly detecting | |
383 | whether a btrfs file system is on SSD or rotating media, in | |
384 | order to optimize the read-ahead scheme. Previously, it was | |
385 | only capable of detecting this on traditional file systems | |
386 | such as ext4. | |
387 | ||
388 | * In udev, additional device properties are now read from the | |
389 | IAB in addition to the OUI database. Also, Bluetooth company | |
390 | identities are attached to the devices as well. | |
391 | ||
392 | * In service files %U may be used as specifier that is | |
393 | replaced by the configured user name of the service. | |
394 | ||
395 | * nspawn may now be invoked without a controlling TTY. This | |
396 | makes it suitable for invocation as its own service. This | |
397 | may be used to set up a simple containerized server system | |
398 | using only core OS tools. | |
399 | ||
400 | * systemd and nspawn can now accept socket file descriptors | |
401 | when they are started for socket activation. This enables | |
402 | implementation of socket activated nspawn | |
403 | containers. i.e. think about autospawning an entire OS image | |
404 | when the first SSH or HTTP connection is received. We expect | |
405 | that similar functionality will also be added to libvirt-lxc | |
406 | eventually. | |
407 | ||
408 | * journalctl will now suppress ANSI color codes when | |
409 | presenting log data. | |
410 | ||
411 | * systemctl will no longer show control group information for | |
412 | a unit if a the control group is empty anyway. | |
413 | ||
414 | * logind can now automatically suspend/hibernate/shutdown the | |
415 | system on idle. | |
416 | ||
417 | * /etc/machine-info and hostnamed now also expose the chassis | |
418 | type of the system. This can be used to determine whether | |
419 | the local system is a laptop, desktop, handset or | |
420 | tablet. This information may either be configured by the | |
421 | user/vendor or is automatically determined from ACPI and DMI | |
422 | information if possible. | |
423 | ||
424 | * A number of PolicyKit actions are now bound together with | |
425 | "imply" rules. This should simplify creating UIs because | |
426 | many actions will now authenticate similar ones as well. | |
427 | ||
428 | * Unit files learnt a new condition ConditionACPower= which | |
429 | may be used to conditionalize a unit depending on whether an | |
430 | AC power source is connected or not, of whether the system | |
431 | is running on battery power. | |
432 | ||
433 | * systemctl gained a new "is-failed" verb that may be used in | |
434 | shell scripts and suchlike to check whether a specific unit | |
435 | is in the "failed" state. | |
436 | ||
437 | * The EnvironmentFile= setting in unit files now supports file | |
438 | globbing, and can hence be used to easily read a number of | |
439 | environment files at once. | |
440 | ||
441 | * systemd will no longer detect and recognize specific | |
442 | distributions. All distribution-specific #ifdeffery has been | |
443 | removed, systemd is now fully generic and | |
444 | distribution-agnostic. Effectively, not too much is lost as | |
445 | a lot of the code is still accessible via explicit configure | |
446 | switches. However, support for some distribution specific | |
447 | legacy configuration file formats has been dropped. We | |
448 | recommend distributions to simply adopt the configuration | |
449 | files everybody else uses now and convert the old | |
450 | configuration from packaging scripts. Most distributions | |
451 | already did that. If that's not possible or desirable, | |
452 | distributions are welcome to forward port the specific | |
453 | pieces of code locally from the git history. | |
454 | ||
455 | * When logging a message about a unit systemd will now always | |
456 | log the unit name in the message meta data. | |
457 | ||
458 | * localectl will now also discover system locale data that is | |
459 | not stored in locale archives, but directly unpacked. | |
460 | ||
461 | * logind will no longer unconditionally use framebuffer | |
462 | devices as seat masters, i.e. as devices that are required | |
463 | to be existing before a seat is considered preset. Instead, | |
464 | it will now look for all devices that are tagged as | |
465 | "seat-master" in udev. By default framebuffer devices will | |
466 | be marked as such, but depending on local systems other | |
467 | devices might be marked as well. This may be used to | |
468 | integrate graphics cards using closed source drivers (such | |
469 | as NVidia ones) more nicely into logind. Note however, that | |
470 | we recommend using the open source NVidia drivers instead, | |
471 | and no udev rules for the closed-source drivers will be | |
472 | shipped from us upstream. | |
473 | ||
474 | Contributions from: Adam Williamson, Alessandro Crismani, Auke | |
475 | Kok, Colin Walters, Daniel Wallace, Dave Reisner, David | |
476 | Herrmann, David Strauss, Dimitrios Apostolou, Eelco Dolstra, | |
477 | Eric Benoit, Giovanni Campagna, Hannes Reinecke, Henrik | |
478 | Grindal Bakken, Hermann Gausterer, Kay Sievers, Lennart | |
479 | Poettering, Lukas Nykryn, Mantas Mikulėnas, Marcel Holtmann, | |
480 | Martin Pitt, Matthew Monaco, Michael Biebl, Michael Terry, | |
481 | Michal Schmidt, Michal Sekletar, Michał Bartoszkiewicz, Oleg | |
482 | Samarin, Pekka Lundstrom, Philip Nilsson, Ramkumar | |
483 | Ramachandra, Richard Yao, Robert Millan, Sami Kerola, Shawn | |
484 | Landden, Thomas Hindoe Paaboel Andersen, Thomas Jarosch, | |
485 | Tollef Fog Heen, Tom Gundersen, Umut Tezduyar, Zbigniew | |
486 | Jędrzejewski-Szmek | |
487 | ||
0428ddb7 LP |
488 | CHANGES WITH 196: |
489 | ||
490 | * udev gained support for loading additional device properties | |
491 | from an indexed database that is keyed by vendor/product IDs | |
492 | and similar device identifiers. For the beginning this | |
493 | "hwdb" is populated with data from the well-known PCI and | |
494 | USB database, but also includes PNP, ACPI and OID data. In | |
495 | the longer run this indexed database shall grow into | |
496 | becoming the one central database for non-essential | |
497 | userspace device metadata. Previously, data from the PCI/USB | |
96ec33c0 | 498 | database was only attached to select devices, since the |
0428ddb7 | 499 | lookup was a relatively expensive operation due to O(n) time |
96ec33c0 LP |
500 | complexity (with n being the number of entries in the |
501 | database). Since this is now O(1), we decided to add in this | |
502 | data for all devices where this is available, by | |
0428ddb7 LP |
503 | default. Note that the indexed database needs to be rebuilt |
504 | when new data files are installed. To achieve this you need | |
505 | to update your packaging scripts to invoke "udevadm hwdb | |
506 | --update" after installation of hwdb data files. For | |
507 | RPM-based distributions we introduced the new | |
508 | %udev_hwdb_update macro for this purpose. | |
509 | ||
510 | * The Journal gained support for the "Message Catalog", an | |
511 | indexed database to link up additional information with | |
512 | journal entries. For further details please check: | |
513 | ||
514 | http://www.freedesktop.org/wiki/Software/systemd/catalog | |
515 | ||
516 | The indexed message catalog database also needs to be | |
517 | rebuilt after installation of message catalog files. Use | |
518 | "journalctl --update-catalog" for this. For RPM-based | |
519 | distributions we introduced the %journal_catalog_update | |
520 | macro for this purpose. | |
521 | ||
522 | * The Python Journal bindings gained support for the standard | |
523 | Python logging framework. | |
524 | ||
525 | * The Journal API gained new functions for checking whether | |
526 | the underlying file system of a journal file is capable of | |
527 | properly reporting file change notifications, or whether | |
528 | applications that want to reflect journal changes "live" | |
529 | need to recheck journal files continously in appropriate | |
530 | time intervals. | |
531 | ||
532 | * It is now possible to set the "age" field for tmpfiles | |
533 | entries to 0, indicating that files matching this entry | |
534 | shall always be removed when the directories are cleaned up. | |
535 | ||
536 | * coredumpctl gained a new "gdb" verb which invokes gdb | |
537 | right-away on the selected coredump. | |
538 | ||
539 | * There's now support for "hybrid sleep" on kernels that | |
540 | support this, in addition to "suspend" and "hibernate". Use | |
541 | "systemctl hybrid-sleep" to make use of this. | |
542 | ||
543 | * logind's HandleSuspendKey= setting (and related settings) | |
544 | now gained support for a new "lock" setting to simply | |
545 | request the screen lock on all local sessions, instead of | |
546 | actually executing a suspend or hibernation. | |
547 | ||
548 | * systemd will now mount the EFI variables file system by | |
549 | default. | |
550 | ||
551 | * Socket units now gained support for configuration of the | |
552 | SMACK security label. | |
553 | ||
554 | * timedatectl will now output the time of the last and next | |
555 | daylight saving change. | |
556 | ||
557 | * We dropped support for various legacy and distro-specific | |
558 | concepts, such as insserv, early-boot SysV services | |
559 | (i.e. those for non-standard runlevels such as 'b' or 'S') | |
560 | or ArchLinux /etc/rc.conf support. We recommend the | |
561 | distributions who still need support this to either continue | |
562 | to maintain the necessary patches downstream, or find a | |
563 | different solution. (Talk to us if you have questions!) | |
564 | ||
565 | * Various systemd components will now bypass PolicyKit checks | |
566 | for root and otherwise handle properly if PolicyKit is not | |
567 | found to be around. This should fix most issues for | |
568 | PolicyKit-less systems. Quite frankly this should have been | |
569 | this way since day one. It is absolutely our intention to | |
570 | make systemd work fine on PolicyKit-less systems, and we | |
571 | consider it a bug if something doesn't work as it should if | |
572 | PolicyKit is not around. | |
573 | ||
574 | * For embedded systems it is now possible to build udev and | |
575 | systemd without blkid and/or kmod support. | |
576 | ||
577 | * "systemctl switch-root" is now capable of switching root | |
578 | more than once. I.e. in addition to transitions from the | |
579 | initrd to the host OS it is now possible to transition to | |
580 | further OS images from the host. This is useful to implement | |
581 | offline updating tools. | |
582 | ||
583 | * Various other additions have been made to the RPM macros | |
584 | shipped with systemd. Use %udev_rules_update() after | |
585 | installing new udev rules files. %_udevhwdbdir, | |
586 | %_udevrulesdir, %_journalcatalogdir, %_tmpfilesdir, | |
587 | %_sysctldir are now available which resolve to the right | |
588 | directories for packages to place various data files in. | |
589 | ||
590 | * journalctl gained the new --full switch (in addition to | |
591 | --all, to disable ellipsation for long messages. | |
592 | ||
593 | Contributions from: Anders Olofsson, Auke Kok, Ben Boeckel, | |
594 | Colin Walters, Cosimo Cecchi, Daniel Wallace, Dave Reisner, | |
595 | Eelco Dolstra, Holger Hans Peter Freyther, Kay Sievers, | |
596 | Chun-Yi Lee, Lekensteyn, Lennart Poettering, Mantas Mikulėnas, | |
597 | Marti Raudsepp, Martin Pitt, Mauro Dreissig, Michael Biebl, | |
598 | Michal Schmidt, Michal Sekletar, Miklos Vajna, Nis Martensen, | |
599 | Oleksii Shevchuk, Olivier Brunel, Ramkumar Ramachandra, Thomas | |
600 | Bächler, Thomas Hindoe Paaboel Andersen, Tom Gundersen, Tony | |
601 | Camuso, Umut Tezduyar, Zbigniew Jędrzejewski-Szmek | |
602 | ||
139ee8cc LP |
603 | CHANGES WITH 195: |
604 | ||
6827101a | 605 | * journalctl gained new --since= and --until= switches to |
139ee8cc LP |
606 | filter by time. It also now supports nice filtering for |
607 | units via --unit=/-u. | |
608 | ||
6827101a | 609 | * Type=oneshot services may use ExecReload= and do the |
139ee8cc LP |
610 | right thing. |
611 | ||
612 | * The journal daemon now supports time-based rotation and | |
613 | vacuuming, in addition to the usual disk-space based | |
614 | rotation. | |
615 | ||
616 | * The journal will now index the available field values for | |
617 | each field name. This enables clients to show pretty drop | |
618 | downs of available match values when filtering. The bash | |
619 | completion of journalctl has been updated | |
620 | accordingly. journalctl gained a new switch -F to list all | |
621 | values a certain field takes in the journal database. | |
622 | ||
623 | * More service events are now written as structured messages | |
624 | to the journal, and made recognizable via message IDs. | |
625 | ||
626 | * The timedated, localed and hostnamed mini-services which | |
627 | previously only provided support for changing time, locale | |
628 | and hostname settings from graphical DEs such as GNOME now | |
629 | also have a minimal (but very useful) text-based client | |
630 | utility each. This is probably the nicest way to changing | |
631 | these settings from the command line now, especially since | |
632 | it lists available options and is fully integrated with bash | |
633 | completion. | |
634 | ||
635 | * There's now a new tool "systemd-coredumpctl" to list and | |
636 | extract coredumps from the journal. | |
637 | ||
638 | * We now install a README each in /var/log/ and | |
639 | /etc/rc.d/init.d explaining where the system logs and init | |
640 | scripts went. This hopefully should help folks who go to | |
641 | that dirs and look into the otherwise now empty void and | |
642 | scratch their heads. | |
643 | ||
644 | * When user-services are invoked (by systemd --user) the | |
645 | $MANAGERPID env var is set to the PID of systemd. | |
646 | ||
647 | * SIGRTMIN+24 when sent to a --user instance will now result | |
648 | in immediate termination of systemd. | |
649 | ||
650 | * gatewayd received numerous feature additions such as a | |
651 | "follow" mode, for live syncing and filtering. | |
652 | ||
653 | * browse.html now allows filtering and showing detailed | |
654 | information on specific entries. Keyboard navigation and | |
655 | mouse screen support has been added. | |
656 | ||
657 | * gatewayd/journalctl now supports HTML5/JSON | |
658 | Server-Sent-Events as output. | |
659 | ||
1cb88f2c | 660 | * The SysV init script compatibility logic will now |
139ee8cc LP |
661 | heuristically determine whether a script supports the |
662 | "reload" verb, and only then make this available as | |
663 | "systemctl reload". | |
664 | ||
15f47220 | 665 | * "systemctl status --follow" has been removed, use "journalctl |
139ee8cc LP |
666 | -u" instead. |
667 | ||
668 | * journald.conf's RuntimeMinSize=, PersistentMinSize= settings | |
669 | have been removed since they are hardly useful to be | |
670 | configured. | |
671 | ||
672 | * And I'd like to take the opportunity to specifically mention | |
673 | Zbigniew for his great contributions. Zbigniew, you rock! | |
674 | ||
675 | Contributions from: Andrew Eikum, Christian Hesse, Colin | |
676 | Guthrie, Daniel J Walsh, Dave Reisner, Eelco Dolstra, Ferenc | |
4d92e078 LP |
677 | Wágner, Kay Sievers, Lennart Poettering, Lukas Nykryn, Mantas |
678 | Mikulėnas, Martin Mikkelsen, Martin Pitt, Michael Olbrich, | |
679 | Michael Stapelberg, Michal Schmidt, Sebastian Ott, Thomas | |
680 | Bächler, Umut Tezduyar, Will Woods, Wulf C. Krueger, Zbigniew | |
681 | Jędrzejewski-Szmek, Сковорода Никита Андреевич | |
139ee8cc | 682 | |
f9b55720 LP |
683 | CHANGES WITH 194: |
684 | ||
685 | * If /etc/vconsole.conf is non-existent or empty we will no | |
686 | longer load any console font or key map at boot by | |
687 | default. Instead the kernel defaults will be left | |
688 | intact. This is definitely the right thing to do, as no | |
689 | configuration should mean no configuration, and hard-coding | |
690 | font names that are different on all archs is probably a bad | |
691 | idea. Also, the kernel default key map and font should be | |
692 | good enough for most cases anyway, and mostly identical to | |
693 | the userspace fonts/key maps we previously overloaded them | |
694 | with. If distributions want to continue to default to a | |
695 | non-kernel font or key map they should ship a default | |
696 | /etc/vconsole.conf with the appropriate contents. | |
697 | ||
698 | Contributions from: Colin Walters, Daniel J Walsh, Dave | |
699 | Reisner, Kay Sievers, Lennart Poettering, Lukas Nykryn, Tollef | |
700 | Fog Heen, Tom Gundersen, Zbigniew Jędrzejewski-Szmek | |
701 | ||
597c52cf LP |
702 | CHANGES WITH 193: |
703 | ||
704 | * journalctl gained a new --cursor= switch to show entries | |
705 | starting from the specified location in the journal. | |
706 | ||
707 | * We now enforce a size limit on journal entry fields exported | |
708 | with "-o json" in journalctl. Fields larger than 4K will be | |
709 | assigned null. This can be turned off with --all. | |
710 | ||
711 | * An (optional) journal gateway daemon is now available as | |
712 | "systemd-journal-gatewayd.service". This service provides | |
713 | access to the journal via HTTP and JSON. This functionality | |
714 | will be used to implement live log synchronization in both | |
715 | pull and push modes, but has various other users too, such | |
716 | as easy log access for debugging of embedded devices. Right | |
717 | now it is already useful to retrieve the journal via HTTP: | |
718 | ||
719 | # systemctl start systemd-journal-gatewayd.service | |
720 | # wget http://localhost:19531/entries | |
721 | ||
722 | This will download the journal contents in a | |
723 | /var/log/messages compatible format. The same as JSON: | |
724 | ||
725 | # curl -H"Accept: application/json" http://localhost:19531/entries | |
726 | ||
727 | This service is also accessible via a web browser where a | |
728 | single static HTML5 app is served that uses the JSON logic | |
729 | to enable the user to do some basic browsing of the | |
730 | journal. This will be extended later on. Here's an example | |
731 | screenshot of this app in its current state: | |
732 | ||
733 | http://0pointer.de/public/journal-gatewayd | |
734 | ||
735 | Contributions from: Kay Sievers, Lennart Poettering, Robert | |
736 | Milasan, Tom Gundersen | |
737 | ||
075d4ecb LP |
738 | CHANGES WITH 192: |
739 | ||
740 | * The bash completion logic is now available for journalctl | |
741 | too. | |
742 | ||
743 | * We don't mount the "cpuset" controller anymore together with | |
744 | "cpu" and "cpuacct", as "cpuset" groups generally cannot be | |
745 | started if no parameters are assigned to it. "cpuset" hence | |
746 | broke code that assumed it it could create "cpu" groups and | |
747 | just start them. | |
748 | ||
749 | * journalctl -f will now subscribe to terminal size changes, | |
750 | and line break accordingly. | |
751 | ||
597c52cf LP |
752 | Contributions from: Dave Reisner, Kay Sievers, Lennart |
753 | Poettering, Lukas Nykrynm, Mirco Tischler, Václav Pavlín | |
075d4ecb | 754 | |
b6a86739 LP |
755 | CHANGES WITH 191: |
756 | ||
757 | * nspawn will now create a symlink /etc/localtime in the | |
758 | container environment, copying the host's timezone | |
759 | setting. Previously this has been done via a bind mount, but | |
760 | since symlinks cannot be bind mounted this has now been | |
761 | changed to create/update the appropriate symlink. | |
762 | ||
763 | * journalctl -n's line number argument is now optional, and | |
764 | will default to 10 if omitted. | |
765 | ||
766 | * journald will now log the maximum size the journal files may | |
767 | take up on disk. This is particularly useful if the default | |
768 | built-in logic of determining this parameter from the file | |
769 | system size is used. Use "systemctl status | |
6563b535 | 770 | systemd-journald.service" to see this information. |
b6a86739 LP |
771 | |
772 | * The multi-seat X wrapper tool has been stripped down. As X | |
773 | is now capable of enumerating graphics devices via udev in a | |
774 | seat-aware way the wrapper is not strictly necessary | |
775 | anymore. A stripped down temporary stop-gap is still shipped | |
776 | until the upstream display managers have been updated to | |
777 | fully support the new X logic. Expect this wrapper to be | |
6563b535 | 778 | removed entirely in one of the next releases. |
b6a86739 LP |
779 | |
780 | * HandleSleepKey= in logind.conf has been split up into | |
781 | HandleSuspendKey= and HandleHibernateKey=. The old setting | |
6563b535 | 782 | is not available anymore. X11 and the kernel are |
b6a86739 LP |
783 | distuingishing between these keys and we should too. This |
784 | also means the inhibition lock for these keys has been split | |
785 | into two. | |
786 | ||
597c52cf LP |
787 | Contributions from: Dave Airlie, Eelco Dolstra, Lennart |
788 | Poettering, Lukas Nykryn, Václav Pavlín | |
b6a86739 | 789 | |
0c11f949 LP |
790 | CHANGES WITH 190: |
791 | ||
792 | * Whenever a unit changes state we'll now log this to the | |
793 | journal and show along the unit's own log output in | |
794 | "systemctl status". | |
795 | ||
796 | * ConditionPathIsMountPoint= can now properly detect bind | |
797 | mount points too. (Previously, a bind mount of one file | |
8d0256b7 | 798 | system to another place in the same file system could not be |
0c11f949 LP |
799 | detected as mount, since they shared struct stat's st_dev |
800 | field.) | |
801 | ||
802 | * We will now mount the cgroup controllers cpu, cpuacct, | |
803 | cpuset and the controllers net_cls, net_prio together by | |
804 | default. | |
805 | ||
806 | * nspawn containers will now have a virtualized boot | |
807 | ID. (i.e. /proc/sys/kernel/random/boot_id is now mounted | |
808 | over with a randomized ID at container initialization). This | |
809 | has the effect of making "journalctl -b" do the right thing | |
810 | in a container. | |
811 | ||
812 | * The JSON output journal serialization has been updated not | |
813 | to generate "endless" list objects anymore, but rather one | |
814 | JSON object per line. This is more in line how most JSON | |
815 | parsers expect JSON objects. The new output mode | |
816 | "json-pretty" has been added to provide similar output, but | |
817 | neatly aligned for readability by humans. | |
818 | ||
819 | * We dropped all explicit sync() invocations in the shutdown | |
820 | code. The kernel does this implicitly anyway in the kernel | |
821 | reboot() syscall. halt(8)'s -n option is now a compatibility | |
822 | no-op. | |
823 | ||
824 | * We now support virtualized reboot() in containers, as | |
825 | supported by newer kernels. We will fall back to exit() if | |
826 | CAP_SYS_REBOOT is not available to the container. Also, | |
827 | nspawn makes use of this now and will actually reboot the | |
828 | container if the containerized OS asks for that. | |
829 | ||
830 | * journalctl will only show local log output by default | |
831 | now. Use --merge (-m) to show remote log output, too. | |
832 | ||
833 | * libsystemd-journal gained the new sd_journal_get_usage() | |
834 | call to determine the current disk usage of all journal | |
835 | files. This is exposed in the new "journalctl --disk-usage" | |
836 | command. | |
837 | ||
838 | * journald gained a new configuration setting SplitMode= in | |
839 | journald.conf which may be used to control how user journals | |
840 | are split off. See journald.conf(5) for details. | |
841 | ||
842 | * A new condition type ConditionFileNotEmpty= has been added. | |
843 | ||
844 | * tmpfiles' "w" lines now support file globbing, to write | |
845 | multiple files at once. | |
846 | ||
847 | * We added Python bindings for the journal submission | |
848 | APIs. More Python APIs for a number of selected APIs will | |
849 | likely follow. Note that we intend to add native bindings | |
850 | only for the Python language, as we consider it common | |
851 | enough to deserve bindings shipped within systemd. There are | |
852 | various projects outside of systemd that provide bindings | |
853 | for languages such as PHP or Lua. | |
854 | ||
a98d5d64 LP |
855 | * Many conditions will now resolve specifiers such as %i. In |
856 | addition, PathChanged= and related directives of .path units | |
857 | now support specifiers as well. | |
0c11f949 LP |
858 | |
859 | * There's now a new RPM macro definition for the system preset | |
860 | dir: %_presetdir. | |
861 | ||
862 | * journald will now warn if it can't foward a message to the | |
863 | syslog daemon because it's socket is full. | |
864 | ||
865 | * timedated will no longer write or process /etc/timezone, | |
866 | except on Debian. As we do not support late mounted /usr | |
867 | anymore /etc/localtime always being a symlink is now safe, | |
868 | and hence the information in /etc/timezone is not necessary | |
869 | anymore. | |
870 | ||
aaccc32c | 871 | * logind will now always reserve one VT for a text getty (VT6 |
0c11f949 LP |
872 | by default). Previously if more than 6 X sessions where |
873 | started they took up all the VTs with auto-spawned gettys, | |
874 | so that no text gettys were available anymore. | |
875 | ||
876 | * udev will now automatically inform the btrfs kernel logic | |
877 | about btrfs RAID components showing up. This should make | |
878 | simple hotplug based btrfs RAID assembly work. | |
879 | ||
880 | * PID 1 will now increase its RLIMIT_NOFILE to 64K by default | |
881 | (but not for its children which will stay at the kernel | |
882 | default). This should allow setups with a lot more listening | |
883 | sockets. | |
884 | ||
885 | * systemd will now always pass the configured timezone to the | |
886 | kernel at boot. timedated will do the same when the timezone | |
887 | is changed. | |
888 | ||
889 | * logind's inhibition logic has been updated. By default, | |
890 | logind will now handle the lid switch, the power and sleep | |
891 | keys all the time, even in graphical sessions. If DEs want | |
892 | to handle these events on their own they should take the new | |
893 | handle-power-key, handle-sleep-key and handle-lid-switch | |
894 | inhibitors during their runtime. A simple way to achiveve | |
895 | that is to invoke the DE wrapped in an invocation of: | |
896 | ||
897 | systemd-inhibit --what=handle-power-key:handle-sleep-key:handle-lid-switch ... | |
898 | ||
899 | * Access to unit operations is now checked via SELinux taking | |
900 | the unit file label and client process label into account. | |
901 | ||
aad803af LP |
902 | * systemd will now notify the administrator in the journal |
903 | when he over-mounts a non-empty directory. | |
904 | ||
905 | * There are new specifiers that are resolved in unit files, | |
906 | for the host name (%H), the machine ID (%m) and the boot ID | |
907 | (%b). | |
908 | ||
b6a86739 | 909 | Contributions from: Allin Cottrell, Auke Kok, Brandon Philips, |
0c11f949 LP |
910 | Colin Guthrie, Colin Walters, Daniel J Walsh, Dave Reisner, |
911 | Eelco Dolstra, Jan Engelhardt, Kay Sievers, Lennart | |
912 | Poettering, Lucas De Marchi, Lukas Nykryn, Mantas Mikulėnas, | |
913 | Martin Pitt, Matthias Clasen, Michael Olbrich, Pierre Schmitz, | |
914 | Shawn Landden, Thomas Hindoe Paaboel Andersen, Tom Gundersen, | |
915 | Václav Pavlín, Yin Kangkai, Zbigniew Jędrzejewski-Szmek | |
916 | ||
38a60d71 LP |
917 | CHANGES WITH 189: |
918 | ||
919 | * Support for reading structured kernel messages from | |
920 | /dev/kmsg has now been added and is enabled by default. | |
921 | ||
922 | * Support for reading kernel messages from /proc/kmsg has now | |
923 | been removed. If you want kernel messages in the journal | |
924 | make sure to run a recent kernel (>= 3.5) that supports | |
925 | reading structured messages from /dev/kmsg (see | |
926 | above). /proc/kmsg is now exclusive property of classic | |
927 | syslog daemons again. | |
928 | ||
929 | * The libudev API gained the new | |
930 | udev_device_new_from_device_id() call. | |
931 | ||
932 | * The logic for file system namespace (ReadOnlyDirectory=, | |
933 | ReadWriteDirectoy=, PrivateTmp=) has been reworked not to | |
934 | require pivot_root() anymore. This means fewer temporary | |
935 | directories are created below /tmp for this feature. | |
936 | ||
937 | * nspawn containers will now see and receive all submounts | |
938 | made on the host OS below the root file system of the | |
939 | container. | |
940 | ||
941 | * Forward Secure Sealing is now supported for Journal files, | |
942 | which provide cryptographical sealing of journal files so | |
943 | that attackers cannot alter log history anymore without this | |
944 | being detectable. Lennart will soon post a blog story about | |
945 | this explaining it in more detail. | |
946 | ||
947 | * There are two new service settings RestartPreventExitStatus= | |
948 | and SuccessExitStatus= which allow configuration of exit | |
949 | status (exit code or signal) which will be excepted from the | |
950 | restart logic, resp. consider successful. | |
951 | ||
952 | * journalctl gained the new --verify switch that can be used | |
953 | to check the integrity of the structure of journal files and | |
954 | (if Forward Secure Sealing is enabled) the contents of | |
955 | journal files. | |
956 | ||
957 | * nspawn containers will now be run with /dev/stdin, /dev/fd/ | |
958 | and similar symlinks pre-created. This makes running shells | |
959 | as container init process a lot more fun. | |
960 | ||
961 | * The fstab support can now handle PARTUUID= and PARTLABEL= | |
962 | entries. | |
963 | ||
964 | * A new ConditionHost= condition has been added to match | |
965 | against the hostname (with globs) and machine ID. This is | |
966 | useful for clusters where a single OS image is used to | |
967 | provision a large number of hosts which shall run slightly | |
968 | different sets of services. | |
969 | ||
970 | * Services which hit the restart limit will now be placed in a | |
971 | failure state. | |
972 | ||
b6a86739 | 973 | Contributions from: Bertram Poettering, Dave Reisner, Huang |
38a60d71 LP |
974 | Hang, Kay Sievers, Lennart Poettering, Lukas Nykryn, Martin |
975 | Pitt, Simon Peeters, Zbigniew Jędrzejewski-Szmek | |
976 | ||
c269cec3 LP |
977 | CHANGES WITH 188: |
978 | ||
979 | * When running in --user mode systemd will now become a | |
980 | subreaper (PR_SET_CHILD_SUBREAPER). This should make the ps | |
981 | tree a lot more organized. | |
982 | ||
983 | * A new PartOf= unit dependency type has been introduced that | |
984 | may be used to group services in a natural way. | |
985 | ||
986 | * "systemctl enable" may now be used to enable instances of | |
987 | services. | |
988 | ||
989 | * journalctl now prints error log levels in red, and | |
990 | warning/notice log levels in bright white. It also supports | |
991 | filtering by log level now. | |
992 | ||
993 | * cgtop gained a new -n switch (similar to top), to configure | |
994 | the maximum number of iterations to run for. It also gained | |
995 | -b, to run in batch mode (accepting no input). | |
996 | ||
997 | * The suffix ".service" may now be ommited on most systemctl | |
998 | command lines involving service unit names. | |
999 | ||
1000 | * There's a new bus call in logind to lock all sessions, as | |
1001 | well as a loginctl verb for it "lock-sessions". | |
1002 | ||
1003 | * libsystemd-logind.so gained a new call sd_journal_perror() | |
1004 | that works similar to libc perror() but logs to the journal | |
1005 | and encodes structured information about the error number. | |
1006 | ||
1007 | * /etc/crypttab entries now understand the new keyfile-size= | |
1008 | option. | |
1009 | ||
1010 | * shutdown(8) now can send a (configurable) wall message when | |
1011 | a shutdown is cancelled. | |
1012 | ||
1013 | * The mount propagation mode for the root file system will now | |
1014 | default to "shared", which is useful to make containers work | |
1015 | nicely out-of-the-box so that they receive new mounts from | |
1016 | the host. This can be undone locally by running "mount | |
1017 | --make-rprivate /" if needed. | |
1018 | ||
1019 | * The prefdm.service file has been removed. Distributions | |
1020 | should maintain this unit downstream if they intend to keep | |
1021 | it around. However, we recommend writing normal unit files | |
1022 | for display managers instead. | |
1023 | ||
1024 | * Since systemd is a crucial part of the OS we will now | |
1025 | default to a number of compiler switches that improve | |
1026 | security (hardening) such as read-only relocations, stack | |
1027 | protection, and suchlike. | |
1028 | ||
1029 | * The TimeoutSec= setting for services is now split into | |
1030 | TimeoutStartSec= and TimeoutStopSec= to allow configuration | |
1031 | of individual time outs for the start and the stop phase of | |
1032 | the service. | |
1033 | ||
1034 | Contributions from: Artur Zaprzala, Arvydas Sidorenko, Auke | |
1035 | Kok, Bryan Kadzban, Dave Reisner, David Strauss, Harald Hoyer, | |
1036 | Jim Meyering, Kay Sievers, Lennart Poettering, Mantas | |
1037 | Mikulėnas, Martin Pitt, Michal Schmidt, Michal Sekletar, Peter | |
1038 | Alfredsen, Shawn Landden, Simon Peeters, Terence Honles, Tom | |
1039 | Gundersen, Zbigniew Jędrzejewski-Szmek | |
1040 | ||
c4f1b862 LP |
1041 | CHANGES WITH 187: |
1042 | ||
1043 | * The journal and id128 C APIs are now fully documented as man | |
1044 | pages. | |
1045 | ||
1046 | * Extra safety checks have been added when transitioning from | |
1047 | the initial RAM disk to the main system to avoid accidental | |
1048 | data loss. | |
1049 | ||
c269cec3 | 1050 | * /etc/crypttab entries now understand the new keyfile-offset= |
c4f1b862 LP |
1051 | option. |
1052 | ||
1053 | * systemctl -t can now be used to filter by unit load state. | |
1054 | ||
1055 | * The journal C API gained the new sd_journal_wait() call to | |
1056 | make writing synchronous journal clients easier. | |
1057 | ||
1058 | * journalctl gained the new -D switch to show journals from a | |
1059 | specific directory. | |
1060 | ||
1061 | * journalctl now displays a special marker between log | |
1062 | messages of two different boots. | |
1063 | ||
1064 | * The journal is now explicitly flushed to /var via a service | |
1065 | systemd-journal-flush.service, rather than implicitly simply | |
1066 | by seeing /var/log/journal to be writable. | |
1067 | ||
1068 | * journalctl (and the journal C APIs) can now match for much | |
1069 | more complex expressions, with alternatives and | |
1070 | disjunctions. | |
1071 | ||
1072 | * When transitioning from the initial RAM disk to the main | |
1073 | system we will now kill all processes in a killing spree to | |
1074 | ensure no processes stay around by accident. | |
1075 | ||
1076 | * Three new specifiers may be used in unit files: %u, %h, %s | |
1077 | resolve to the user name, user home directory resp. user | |
1078 | shell. This is useful for running systemd user instances. | |
1079 | ||
1080 | * We now automatically rotate journal files if their data | |
1081 | object hash table gets a fill level > 75%. We also size the | |
1082 | hash table based on the configured maximum file size. This | |
1083 | together should lower hash collisions drastically and thus | |
1084 | speed things up a bit. | |
1085 | ||
1086 | * journalctl gained the new "--header" switch to introspect | |
1087 | header data of journal files. | |
1088 | ||
1089 | * A new setting SystemCallFilters= has been added to services | |
1090 | which may be used to apply blacklists or whitelists to | |
1091 | system calls. This is based on SECCOMP Mode 2 of Linux 3.5. | |
1092 | ||
1093 | * nspawn gained a new --link-journal= switch (and quicker: -j) | |
1094 | to link the container journal with the host. This makes it | |
1095 | very easy to centralize log viewing on the host for all | |
1096 | guests while still keeping the journal files separated. | |
1097 | ||
1098 | * Many bugfixes and optimizations | |
1099 | ||
1100 | Contributions from: Auke Kok, Eelco Dolstra, Harald Hoyer, Kay | |
1101 | Sievers, Lennart Poettering, Malte Starostik, Paul Menzel, Rex | |
1102 | Tsai, Shawn Landden, Tom Gundersen, Ville Skyttä, Zbigniew | |
1103 | Jędrzejewski-Szmek | |
1104 | ||
b5b4c94a LP |
1105 | CHANGES WITH 186: |
1106 | ||
1107 | * Several tools now understand kernel command line arguments, | |
1108 | which are only read when run in an initial RAM disk. They | |
1109 | usually follow closely their normal counterparts, but are | |
1110 | prefixed with rd. | |
1111 | ||
1112 | * There's a new tool to analyze the readahead files that are | |
1113 | automatically generated at boot. Use: | |
1114 | ||
1115 | /usr/lib/systemd/systemd-readahead analyze /.readahead | |
1116 | ||
1117 | * We now provide an early debug shell on tty9 if this enabled. Use: | |
1118 | ||
d1f9edaf | 1119 | systemctl enable debug-shell.service |
b5b4c94a LP |
1120 | |
1121 | * All plymouth related units have been moved into the Plymouth | |
1122 | package. Please make sure to upgrade your Plymouth version | |
1123 | as well. | |
1124 | ||
1125 | * systemd-tmpfiles now supports getting passed the basename of | |
1126 | a configuration file only, in which case it will look for it | |
1127 | in all appropriate directories automatically. | |
1128 | ||
1129 | * udevadm info now takes a /dev or /sys path as argument, and | |
1130 | does the right thing. Example: | |
1131 | ||
1132 | udevadm info /dev/sda | |
1133 | udevadm info /sys/class/block/sda | |
1134 | ||
1135 | * systemctl now prints a warning if a unit is stopped but a | |
1136 | unit that might trigger it continues to run. Example: a | |
1137 | service is stopped but the socket that activates it is left | |
1138 | running. | |
1139 | ||
1140 | * "systemctl status" will now mention if the log output was | |
1141 | shortened due to rotation since a service has been started. | |
1142 | ||
1143 | * The journal API now exposes functions to determine the | |
1144 | "cutoff" times due to rotation. | |
1145 | ||
1146 | * journald now understands SIGUSR1 and SIGUSR2 for triggering | |
1147 | immediately flushing of runtime logs to /var if possible, | |
1148 | resp. for triggering immediate rotation of the journal | |
1149 | files. | |
1150 | ||
1151 | * It is now considered an error if a service is attempted to | |
1152 | be stopped that is not loaded. | |
1153 | ||
1154 | * XDG_RUNTIME_DIR now uses numeric UIDs instead of usernames. | |
1155 | ||
1156 | * systemd-analyze now supports Python 3 | |
1157 | ||
1158 | * tmpfiles now supports cleaning up directories via aging | |
1159 | where the first level dirs are always kept around but | |
1160 | directories beneath it automatically aged. This is enabled | |
1161 | by prefixing the age field with '~'. | |
1162 | ||
1163 | * Seat objects now expose CanGraphical, CanTTY properties | |
1164 | which is required to deal with very fast bootups where the | |
1165 | display manager might be running before the graphics drivers | |
1166 | completed initialization. | |
1167 | ||
1168 | * Seat objects now expose a State property. | |
1169 | ||
1170 | * We now include RPM macros for service enabling/disabling | |
1171 | based on the preset logic. We recommend RPM based | |
1172 | distributions to make use of these macros if possible. This | |
1173 | makes it simpler to reuse RPM spec files across | |
1174 | distributions. | |
1175 | ||
1176 | * We now make sure that the collected systemd unit name is | |
1177 | always valid when services log to the journal via | |
1178 | STDOUT/STDERR. | |
1179 | ||
1180 | * There's a new man page kernel-command-line(7) detailing all | |
1181 | command line options we understand. | |
1182 | ||
1183 | * The fstab generator may now be disabled at boot by passing | |
1184 | fstab=0 on the kernel command line. | |
1185 | ||
91ac7425 | 1186 | * A new kernel command line option modules-load= is now understood |
b5b4c94a LP |
1187 | to load a specific kernel module statically, early at boot. |
1188 | ||
1189 | * Unit names specified on the systemctl command line are now | |
1190 | automatically escaped as needed. Also, if file system or | |
1191 | device paths are specified they are automatically turned | |
1192 | into the appropriate mount or device unit names. Example: | |
1193 | ||
1194 | systemctl status /home | |
1195 | systemctl status /dev/sda | |
1196 | ||
1197 | * The SysVConsole= configuration option has been removed from | |
1198 | system.conf parsing. | |
1199 | ||
1200 | * The SysV search path is no longer exported on the D-Bus | |
1201 | Manager object. | |
1202 | ||
1203 | * The Names= option is been removed from unit file parsing. | |
1204 | ||
1205 | * There's a new man page bootup(7) detailing the boot process. | |
1206 | ||
1207 | * Every unit and every generator we ship with systemd now | |
1208 | comes with full documentation. The self-explanatory boot is | |
1209 | complete. | |
1210 | ||
1211 | * A couple of services gained "systemd-" prefixes in their | |
1212 | name if they wrap systemd code, rather than only external | |
1213 | code. Among them fsck@.service which is now | |
1214 | systemd-fsck@.service. | |
1215 | ||
1216 | * The HaveWatchdog property has been removed from the D-Bus | |
1217 | Manager object. | |
1218 | ||
1219 | * systemd.confirm_spawn= on the kernel command line should now | |
1220 | work sensibly. | |
1221 | ||
1222 | * There's a new man page crypttab(5) which details all options | |
1223 | we actually understand. | |
1224 | ||
1225 | * systemd-nspawn gained a new --capability= switch to pass | |
1226 | additional capabilities to the container. | |
1227 | ||
1228 | * timedated will now read known NTP implementation unit names | |
5b00c016 | 1229 | from /usr/lib/systemd/ntp-units.d/*.list, |
b5b4c94a LP |
1230 | systemd-timedated-ntp.target has been removed. |
1231 | ||
1232 | * journalctl gained a new switch "-b" that lists log data of | |
1233 | the current boot only. | |
1234 | ||
1235 | * The notify socket is in the abstract namespace again, in | |
1236 | order to support daemons which chroot() at start-up. | |
1237 | ||
1238 | * There is a new Storage= configuration option for journald | |
1239 | which allows configuration of where log data should go. This | |
1240 | also provides a way to disable journal logging entirely, so | |
1241 | that data collected is only forwarded to the console, the | |
1242 | kernel log buffer or another syslog implementation. | |
1243 | ||
c4f1b862 | 1244 | * Many bugfixes and optimizations |
b5b4c94a | 1245 | |
2d938ac7 LP |
1246 | Contributions from: Auke Kok, Colin Guthrie, Dave Reisner, |
1247 | David Strauss, Eelco Dolstra, Kay Sievers, Lennart Poettering, | |
1248 | Lukas Nykryn, Michal Schmidt, Michal Sekletar, Paul Menzel, | |
1249 | Shawn Landden, Tom Gundersen | |
b5b4c94a | 1250 | |
2d197285 | 1251 | CHANGES WITH 185: |
b6a86739 | 1252 | |
2d197285 KS |
1253 | * "systemctl help <unit>" now shows the man page if one is |
1254 | available. | |
1255 | ||
1256 | * Several new man pages have been added. | |
1257 | ||
b5b4c94a LP |
1258 | * MaxLevelStore=, MaxLevelSyslog=, MaxLevelKMsg=, |
1259 | MaxLevelConsole= can now be specified in | |
1260 | journald.conf. These options allow reducing the amount of | |
1261 | data stored on disk or forwarded by the log level. | |
2d197285 | 1262 | |
b5b4c94a LP |
1263 | * TimerSlackNSec= can now be specified in system.conf for |
1264 | PID1. This allows system-wide power savings. | |
2d197285 KS |
1265 | |
1266 | Contributions from: Dave Reisner, Kay Sievers, Lauri Kasanen, | |
1267 | Lennart Poettering, Malte Starostik, Marc-Antoine Perennou, | |
1268 | Matthias Clasen | |
1269 | ||
4c8cd173 | 1270 | CHANGES WITH 184: |
b6a86739 | 1271 | |
4c8cd173 LP |
1272 | * logind is now capable of (optionally) handling power and |
1273 | sleep keys as well as the lid switch. | |
1274 | ||
1275 | * journalctl now understands the syntax "journalctl | |
1276 | /usr/bin/avahi-daemon" to get all log output of a specific | |
1277 | daemon. | |
1278 | ||
1279 | * CapabilityBoundingSet= in system.conf now also influences | |
1280 | the capability bound set of usermode helpers of the kernel. | |
1281 | ||
1282 | Contributions from: Daniel Drake, Daniel J. Walsh, Gert | |
1283 | Michael Kulyk, Harald Hoyer, Jean Delvare, Kay Sievers, | |
1284 | Lennart Poettering, Matthew Garrett, Matthias Clasen, Paul | |
1285 | Menzel, Shawn Landden, Tero Roponen, Tom Gundersen | |
1286 | ||
ea5943d3 | 1287 | CHANGES WITH 183: |
b6a86739 | 1288 | |
187076d4 LP |
1289 | * Note that we skipped 139 releases here in order to set the |
1290 | new version to something that is greater than both udev's | |
1291 | and systemd's most recent version number. | |
1292 | ||
194bbe33 KS |
1293 | * udev: all udev sources are merged into the systemd source tree now. |
1294 | All future udev development will happen in the systemd tree. It | |
1295 | is still fully supported to use the udev daemon and tools without | |
1296 | systemd running, like in initramfs or other init systems. Building | |
1297 | udev though, will require the *build* of the systemd tree, but | |
ea5943d3 | 1298 | udev can be properly *run* without systemd. |
07cd4fc1 | 1299 | |
91cf7e5c | 1300 | * udev: /lib/udev/devices/ are not read anymore; systemd-tmpfiles |
f13b388f KS |
1301 | should be used to create dead device nodes as workarounds for broken |
1302 | subsystems. | |
64661ee7 | 1303 | |
2d13da88 KS |
1304 | * udev: RUN+="socket:..." and udev_monitor_new_from_socket() is |
1305 | no longer supported. udev_monitor_new_from_netlink() needs to be | |
1306 | used to subscribe to events. | |
1307 | ||
194bbe33 KS |
1308 | * udev: when udevd is started by systemd, processes which are left |
1309 | behind by forking them off of udev rules, are unconditionally cleaned | |
1310 | up and killed now after the event handling has finished. Services or | |
1311 | daemons must be started as systemd services. Services can be | |
ea5943d3 | 1312 | pulled-in by udev to get started, but they can no longer be directly |
194bbe33 KS |
1313 | forked by udev rules. |
1314 | ||
f13b388f KS |
1315 | * udev: the daemon binary is called systemd-udevd now and installed |
1316 | in /usr/lib/systemd/. Standalone builds or non-systemd systems need | |
1317 | to adapt to that, create symlink, or rename the binary after building | |
1318 | it. | |
1319 | ||
ea5943d3 | 1320 | * libudev no longer provides these symbols: |
c1959569 KS |
1321 | udev_monitor_from_socket() |
1322 | udev_queue_get_failed_list_entry() | |
1323 | udev_get_{dev,sys,run}_path() | |
ea5943d3 | 1324 | The versions number was bumped and symbol versioning introduced. |
c1959569 | 1325 | |
ea5943d3 | 1326 | * systemd-loginctl and systemd-journalctl have been renamed |
9ae9afce | 1327 | to loginctl and journalctl to match systemctl. |
18b754d3 KS |
1328 | |
1329 | * The config files: /etc/systemd/systemd-logind.conf and | |
1330 | /etc/systemd/systemd-journald.conf have been renamed to | |
1331 | logind.conf and journald.conf. Package updates should rename | |
1332 | the files to the new names on upgrade. | |
1333 | ||
ea5943d3 LP |
1334 | * For almost all files the license is now LGPL2.1+, changed |
1335 | from the previous GPL2.0+. Exceptions are some minor stuff | |
1336 | of udev (which will be changed to LGPL2.1 eventually, too), | |
1337 | and the MIT licensed sd-daemon.[ch] library that is suitable | |
1338 | to be used as drop-in files. | |
1339 | ||
1340 | * systemd and logind now handle system sleep states, in | |
49f43d5f | 1341 | particular suspending and hibernating. |
ea5943d3 LP |
1342 | |
1343 | * logind now implements a sleep/shutdown/idle inhibiting logic | |
1344 | suitable for a variety of uses. Soonishly Lennart will blog | |
1345 | about this in more detail. | |
1346 | ||
1347 | * var-run.mount and var-lock.mount are no longer provided | |
1348 | (which prevously bind mounted these directories to their new | |
1349 | places). Distributions which have not converted these | |
1350 | directories to symlinks should consider stealing these files | |
1351 | from git history and add them downstream. | |
1352 | ||
1353 | * We introduced the Documentation= field for units and added | |
1354 | this to all our shipped units. This is useful to make it | |
3943231c | 1355 | easier to explore the boot and the purpose of the various |
ea5943d3 LP |
1356 | units. |
1357 | ||
1358 | * All smaller setup units (such as | |
1359 | systemd-vconsole-setup.service) now detect properly if they | |
1360 | are run in a container and are skipped when | |
1361 | appropriate. This guarantees an entirely noise-free boot in | |
1362 | Linux container environments such as systemd-nspawn. | |
1363 | ||
1364 | * A framework for implementing offline system updates is now | |
1365 | integrated, for details see: | |
1366 | http://freedesktop.org/wiki/Software/systemd/SystemUpdates | |
1367 | ||
1368 | * A new service type Type=idle is available now which helps us | |
1369 | avoiding ugly interleaving of getty output and boot status | |
1370 | messages. | |
1371 | ||
439d6dfd LP |
1372 | * There's now a system-wide CapabilityBoundingSet= option to |
1373 | globally reduce the set of capabilities for the | |
ea5943d3 LP |
1374 | system. This is useful to drop CAP_SYS_MKNOD, CAP_SYS_RAWIO, |
1375 | CAP_NET_RAW, CAP_SYS_MODULE, CAP_SYS_TIME, CAP_SYS_PTRACE or | |
1376 | even CAP_NET_ADMIN system-wide for secure systems. | |
1377 | ||
1378 | * There are now system-wide DefaultLimitXXX= options to | |
1379 | globally change the defaults of the various resource limits | |
1380 | for all units started by PID 1. | |
1381 | ||
1382 | * Harald Hoyer's systemd test suite has been integrated into | |
1383 | systemd which allows easy testing of systemd builds in qemu | |
1384 | and nspawn. (This is really awesome! Ask us for details!) | |
1385 | ||
3943231c LP |
1386 | * The fstab parser is now implemented as generator, not inside |
1387 | of PID 1 anymore. | |
ea5943d3 LP |
1388 | |
1389 | * systemctl will now warn you if .mount units generated from | |
1390 | /etc/fstab are out of date due to changes in fstab that | |
1391 | haven't been read by systemd yet. | |
1392 | ||
1393 | * systemd is now suitable for usage in initrds. Dracut has | |
1394 | already been updated to make use of this. With this in place | |
1395 | initrds get a slight bit faster but primarily are much | |
1396 | easier to introspect and debug since "systemctl status" in | |
1397 | the host system can be used to introspect initrd services, | |
1398 | and the journal from the initrd is kept around too. | |
1399 | ||
1400 | * systemd-delta has been added, a tool to explore differences | |
1401 | between user/admin configuration and vendor defaults. | |
1402 | ||
1403 | * PrivateTmp= now affects both /tmp and /var/tmp. | |
1404 | ||
1405 | * Boot time status messages are now much prettier and feature | |
1406 | proper english language. Booting up systemd has never been | |
1407 | so sexy. | |
1408 | ||
1409 | * Read-ahead pack files now include the inode number of all | |
1410 | files to pre-cache. When the inode changes the pre-caching | |
1411 | is not attempted. This should be nicer to deal with updated | |
1412 | packages which might result in changes of read-ahead | |
1413 | patterns. | |
1414 | ||
1415 | * We now temporaritly lower the kernel's read_ahead_kb variable | |
1416 | when collecting read-ahead data to ensure the kernel's | |
1417 | built-in read-ahead does not add noise to our measurements | |
1418 | of necessary blocks to pre-cache. | |
1419 | ||
1420 | * There's now RequiresMountsFor= to add automatic dependencies | |
1421 | for all mounts necessary for a specific file system path. | |
1422 | ||
1423 | * MountAuto= and SwapAuto= have been removed from | |
1424 | system.conf. Mounting file systems at boot has to take place | |
1425 | in systemd now. | |
1426 | ||
1427 | * nspawn now learned a new switch --uuid= to set the machine | |
1428 | ID on the command line. | |
1429 | ||
f8c0a2cb | 1430 | * nspawn now learned the -b switch to automatically search |
ea5943d3 LP |
1431 | for an init system. |
1432 | ||
1433 | * vt102 is now the default TERM for serial TTYs, upgraded from | |
1434 | vt100. | |
1435 | ||
1436 | * systemd-logind now works on VT-less systems. | |
1437 | ||
1438 | * The build tree has been reorganized. The individual | |
3943231c | 1439 | components now have directories of their own. |
ea5943d3 LP |
1440 | |
1441 | * A new condition type ConditionPathIsReadWrite= is now available. | |
1442 | ||
1443 | * nspawn learned the new -C switch to create cgroups for the | |
1444 | container in other hierarchies. | |
1445 | ||
1446 | * We now have support for hardware watchdogs, configurable in | |
1447 | system.conf. | |
1448 | ||
1449 | * The scheduled shutdown logic now has a public API. | |
1450 | ||
1451 | * We now mount /tmp as tmpfs by default, but this can be | |
1452 | masked and /etc/fstab can override it. | |
1453 | ||
1454 | * Since udisks doesn't make use of /media anymore we are not | |
1455 | mounting a tmpfs on it anymore. | |
1456 | ||
1457 | * journalctl gained a new --local switch to only interleave | |
1458 | locally generated journal files. | |
1459 | ||
1460 | * We can now load the IMA policy at boot automatically. | |
1461 | ||
1462 | * The GTK tools have been split off into a systemd-ui. | |
1463 | ||
79849bf9 LP |
1464 | Contributions from: Andreas Schwab, Auke Kok, Ayan George, |
1465 | Colin Guthrie, Daniel Mack, Dave Reisner, David Ward, Elan | |
1466 | Ruusamäe, Frederic Crozat, Gergely Nagy, Guillermo Vidal, | |
1467 | Hannes Reinecke, Harald Hoyer, Javier Jardón, Kay Sievers, | |
1468 | Lennart Poettering, Lucas De Marchi, Léo Gillot-Lamure, | |
1469 | Marc-Antoine Perennou, Martin Pitt, Matthew Monaco, Maxim | |
1470 | A. Mikityanskiy, Michael Biebl, Michael Olbrich, Michal | |
1471 | Schmidt, Nis Martensen, Patrick McCarty, Roberto Sassu, Shawn | |
1472 | Landden, Sjoerd Simons, Sven Anders, Tollef Fog Heen, Tom | |
1473 | Gundersen | |
1474 | ||
16f1239e | 1475 | CHANGES WITH 44: |
b6a86739 | 1476 | |
16f1239e LP |
1477 | * This is mostly a bugfix release |
1478 | ||
1479 | * Support optional initialization of the machine ID from the | |
1480 | KVM or container configured UUID. | |
1481 | ||
1482 | * Support immediate reboots with "systemctl reboot -ff" | |
1483 | ||
1484 | * Show /etc/os-release data in systemd-analyze output | |
1485 | ||
1486 | * Many bugfixes for the journal, including endianess fixes and | |
1487 | ensuring that disk space enforcement works | |
1488 | ||
1489 | * sd-login.h is C++ comptaible again | |
1490 | ||
1491 | * Extend the /etc/os-release format on request of the Debian | |
1492 | folks | |
1493 | ||
1494 | * We now refuse non-UTF8 strings used in various configuration | |
1495 | and unit files. This is done to ensure we don't pass invalid | |
1496 | data over D-Bus or expose it elsewhere. | |
1497 | ||
1498 | * Register Mimo USB Screens as suitable for automatic seat | |
1499 | configuration | |
1500 | ||
1501 | * Read SELinux client context from journal clients in a race | |
1502 | free fashion | |
1503 | ||
1504 | * Reorder configuration file lookup order. /etc now always | |
1505 | overrides /run in order to allow the administrator to always | |
1506 | and unconditionally override vendor supplied or | |
1507 | automatically generated data. | |
1508 | ||
1509 | * The various user visible bits of the journal now have man | |
1510 | pages. We still lack man pages for the journal API calls | |
1511 | however. | |
1512 | ||
1513 | * We now ship all man pages in HTML format again in the | |
1514 | tarball. | |
1515 | ||
1516 | Contributions from: Dave Reisner, Dirk Eibach, Frederic | |
1517 | Crozat, Harald Hoyer, Kay Sievers, Lennart Poettering, Marti | |
1518 | Raudsepp, Michal Schmidt, Shawn Landden, Tero Roponen, Thierry | |
1519 | Reding | |
1520 | ||
437b7dee | 1521 | CHANGES WITH 43: |
b6a86739 | 1522 | |
437b7dee LP |
1523 | * This is mostly a bugfix release |
1524 | ||
1525 | * systems lacking /etc/os-release are no longer supported. | |
1526 | ||
1527 | * Various functionality updates to libsystemd-login.so | |
1528 | ||
1529 | * Track class of PAM logins to distuingish greeters from | |
1530 | normal user logins. | |
1531 | ||
1532 | Contributions from: Kay Sievers, Lennart Poettering, Michael | |
1533 | Biebl | |
1534 | ||
204fa33c | 1535 | CHANGES WITH 42: |
b6a86739 | 1536 | |
204fa33c LP |
1537 | * This is an important bugfix release for v41. |
1538 | ||
1539 | * Building man pages is now optional which should be useful | |
1540 | for those building systemd from git but unwilling to install | |
1541 | xsltproc. | |
1542 | ||
1543 | * Watchdog support for supervising services is now usable. In | |
1544 | a future release support for hardware watchdogs | |
1545 | (i.e. /dev/watchdog) will be added building on this. | |
1546 | ||
1547 | * Service start rate limiting is now configurable and can be | |
1548 | turned off per service. When a start rate limit is hit a | |
1549 | reboot can automatically be triggered. | |
1550 | ||
1551 | * New CanReboot(), CanPowerOff() bus calls in systemd-logind. | |
1552 | ||
1553 | Contributions from: Benjamin Franzke, Bill Nottingham, | |
1554 | Frederic Crozat, Lennart Poettering, Michael Olbrich, Michal | |
1555 | Schmidt, Michał Górny, Piotr Drąg | |
1556 | ||
e0d25329 | 1557 | CHANGES WITH 41: |
b6a86739 | 1558 | |
e0d25329 KS |
1559 | * The systemd binary is installed /usr/lib/systemd/systemd now; |
1560 | An existing /sbin/init symlink needs to be adapted with the | |
1561 | package update. | |
1562 | ||
b13df964 LP |
1563 | * The code that loads kernel modules has been ported to invoke |
1564 | libkmod directly, instead of modprobe. This means we do not | |
1565 | support systems with module-init-tools anymore. | |
1566 | ||
1567 | * Watchdog support is now already useful, but still not | |
1568 | complete. | |
1569 | ||
1570 | * A new kernel command line option systemd.setenv= is | |
1571 | understood to set system wide environment variables | |
1572 | dynamically at boot. | |
1573 | ||
ccd07a08 LP |
1574 | * We now limit the set of capabilities of systemd-journald. |
1575 | ||
353e12c2 LP |
1576 | * We now set SIGPIPE to ignore by default, since it only is |
1577 | useful in shell pipelines, and has little use in general | |
1578 | code. This can be disabled with IgnoreSIPIPE=no in unit | |
1579 | files. | |
1580 | ||
b13df964 LP |
1581 | Contributions from: Benjamin Franzke, Kay Sievers, Lennart |
1582 | Poettering, Michael Olbrich, Michal Schmidt, Tom Gundersen, | |
1583 | William Douglas | |
1584 | ||
d26e4270 | 1585 | CHANGES WITH 40: |
b6a86739 | 1586 | |
d26e4270 LP |
1587 | * This is mostly a bugfix release |
1588 | ||
1589 | * We now expose the reason why a service failed in the | |
1590 | "Result" D-Bus property. | |
1591 | ||
1592 | * Rudimentary service watchdog support (will be completed over | |
1593 | the next few releases.) | |
1594 | ||
1595 | * When systemd forks off in order execute some service we will | |
1596 | now immediately changes its argv[0] to reflect which process | |
1597 | it will execute. This is useful to minimize the time window | |
1598 | with a generic argv[0], which makes bootcharts more useful | |
1599 | ||
b13df964 LP |
1600 | Contributions from: Alvaro Soliverez, Chris Paulson-Ellis, Kay |
1601 | Sievers, Lennart Poettering, Michael Olbrich, Michal Schmidt, | |
1602 | Mike Kazantsev, Ray Strode | |
1603 | ||
220a21d3 | 1604 | CHANGES WITH 39: |
b6a86739 | 1605 | |
220a21d3 LP |
1606 | * This is mostly a test release, but incorporates many |
1607 | bugfixes. | |
1608 | ||
1609 | * New systemd-cgtop tool to show control groups by their | |
1610 | resource usage. | |
1611 | ||
1612 | * Linking against libacl for ACLs is optional again. If | |
1613 | disabled, support tracking device access for active logins | |
1614 | goes becomes unavailable, and so does access to the user | |
1615 | journals by the respective users. | |
1616 | ||
1617 | * If a group "adm" exists, journal files are automatically | |
1618 | owned by them, thus allow members of this group full access | |
1619 | to the system journal as well as all user journals. | |
1620 | ||
1621 | * The journal now stores the SELinux context of the logging | |
1622 | client for all entries. | |
1623 | ||
1624 | * Add C++ inclusion guards to all public headers | |
1625 | ||
1626 | * New output mode "cat" in the journal to print only text | |
1627 | messages, without any meta data like date or time. | |
1628 | ||
1629 | * Include tiny X server wrapper as a temporary stop-gap to | |
1630 | teach XOrg udev display enumeration. This is used by display | |
1631 | managers such as gdm, and will go away as soon as XOrg | |
1632 | learned native udev hotplugging for display devices. | |
1633 | ||
1634 | * Add new systemd-cat tool for executing arbitrary programs | |
1635 | with STDERR/STDOUT connected to the journal. Can also act as | |
1636 | BSD logger replacement, and does so by default. | |
1637 | ||
1638 | * Optionally store all locally generated coredumps in the | |
1639 | journal along with meta data. | |
1640 | ||
1641 | * systemd-tmpfiles learnt four new commands: n, L, c, b, for | |
1642 | writing short strings to files (for usage for /sys), and for | |
1643 | creating symlinks, character and block device nodes. | |
1644 | ||
1645 | * New unit file option ControlGroupPersistent= to make cgroups | |
1646 | persistent, following the mechanisms outlined in | |
1647 | http://www.freedesktop.org/wiki/Software/systemd/PaxControlGroups | |
1648 | ||
1649 | * Support multiple local RTCs in a sane way | |
1650 | ||
1651 | * No longer monopolize IO when replaying readahead data on | |
1652 | rotating disks, since we might starve non-file-system IO to | |
1653 | death, since fanotify() will not see accesses done by blkid, | |
1654 | or fsck. | |
1655 | ||
1656 | * Don't show kernel threads in systemd-cgls anymore, unless | |
1657 | requested with new -k switch. | |
1658 | ||
1659 | Contributions from: Dan Horák, Kay Sievers, Lennart | |
1660 | Poettering, Michal Schmidt | |
1661 | ||
1662 | CHANGES WITH 38: | |
b6a86739 | 1663 | |
220a21d3 LP |
1664 | * This is mostly a test release, but incorporates many |
1665 | bugfixes. | |
1666 | ||
1667 | * The git repository moved to: | |
1668 | git://anongit.freedesktop.org/systemd/systemd | |
1669 | ssh://git.freedesktop.org/git/systemd/systemd | |
1670 | ||
1671 | * First release with the journal | |
1672 | http://0pointer.de/blog/projects/the-journal.html | |
1673 | ||
1674 | * The journal replaces both systemd-kmsg-syslogd and | |
1675 | systemd-stdout-bridge. | |
1676 | ||
1677 | * New sd_pid_get_unit() API call in libsystemd-logind | |
1678 | ||
1679 | * Many systemadm clean-ups | |
1680 | ||
1681 | * Introduce remote-fs-pre.target which is ordered before all | |
1682 | remote mounts and may be used to start services before all | |
1683 | remote mounts. | |
1684 | ||
1685 | * Added Mageia support | |
1686 | ||
1687 | * Add bash completion for systemd-loginctl | |
1688 | ||
1689 | * Actively monitor PID file creation for daemons which exit in | |
1690 | the parent process before having finished writing the PID | |
1691 | file in the daemon process. Daemons which do this need to be | |
1692 | fixed (i.e. PID file creation must have finished before the | |
1693 | parent exits), but we now react a bit more gracefully to them. | |
1694 | ||
1695 | * Add colourful boot output, mimicking the well-known output | |
1696 | of existing distributions. | |
1697 | ||
1698 | * New option PassCredentials= for socket units, for | |
1699 | compatibility with a recent kernel ABI breakage. | |
1700 | ||
1701 | * /etc/rc.local is now hooked in via a generator binary, and | |
1702 | thus will no longer act as synchronization point during | |
1703 | boot. | |
1704 | ||
1705 | * systemctl list-unit-files now supports --root=. | |
1706 | ||
1707 | * systemd-tmpfiles now understands two new commands: z, Z for | |
1708 | relabelling files according to the SELinux database. This is | |
1709 | useful to apply SELinux labels to specific files in /sys, | |
1710 | among other things. | |
1711 | ||
1712 | * Output of SysV services is now forwarded to both the console | |
1713 | and the journal by default, not only just the console. | |
1714 | ||
1715 | * New man pages for all APIs from libsystemd-login. | |
1716 | ||
1717 | * The build tree got reorganized and a the build system is a | |
1718 | lot more modular allowing embedded setups to specifically | |
1719 | select the components of systemd they are interested in. | |
1720 | ||
1721 | * Support for Linux systems lacking the kernel VT subsystem is | |
1722 | restored. | |
1723 | ||
1724 | * configure's --with-rootdir= got renamed to | |
1725 | --with-rootprefix= to follow the naming used by udev and | |
1726 | kmod | |
1727 | ||
1728 | * Unless specified otherwise we'll now install to /usr instead | |
1729 | of /usr/local by default. | |
1730 | ||
1731 | * Processes with '@' in argv[0][0] are now excluded from the | |
1732 | final shut-down killing spree, following the logic explained | |
1733 | in: | |
1734 | http://www.freedesktop.org/wiki/Software/systemd/RootStorageDaemons | |
1735 | ||
1736 | * All processes remaining in a service cgroup when we enter | |
1737 | the START or START_PRE states are now killed with | |
1738 | SIGKILL. That means it is no longer possible to spawn | |
1739 | background processes from ExecStart= lines (which was never | |
1740 | supported anyway, and bad style). | |
1741 | ||
1742 | * New PropagateReloadTo=/PropagateReloadFrom= options to bind | |
1743 | reloading of units together. | |
1744 | ||
4c8cd173 | 1745 | Contributions from: Bill Nottingham, Daniel J. Walsh, Dave |
220a21d3 LP |
1746 | Reisner, Dexter Morgan, Gregs Gregs, Jonathan Nieder, Kay |
1747 | Sievers, Lennart Poettering, Michael Biebl, Michal Schmidt, | |
1748 | Michał Górny, Ran Benita, Thomas Jarosch, Tim Waugh, Tollef | |
1749 | Fog Heen, Tom Gundersen, Zbigniew Jędrzejewski-Szmek |