]>
Commit | Line | Data |
---|---|---|
d657c51f | 1 | systemd System and Service Manager |
220a21d3 | 2 | |
0c11f949 LP |
3 | CHANGES WITH 190: |
4 | ||
5 | * Whenever a unit changes state we'll now log this to the | |
6 | journal and show along the unit's own log output in | |
7 | "systemctl status". | |
8 | ||
9 | * ConditionPathIsMountPoint= can now properly detect bind | |
10 | mount points too. (Previously, a bind mount of one file | |
11 | system to another place in the file system could not be | |
12 | detected as mount, since they shared struct stat's st_dev | |
13 | field.) | |
14 | ||
15 | * We will now mount the cgroup controllers cpu, cpuacct, | |
16 | cpuset and the controllers net_cls, net_prio together by | |
17 | default. | |
18 | ||
19 | * nspawn containers will now have a virtualized boot | |
20 | ID. (i.e. /proc/sys/kernel/random/boot_id is now mounted | |
21 | over with a randomized ID at container initialization). This | |
22 | has the effect of making "journalctl -b" do the right thing | |
23 | in a container. | |
24 | ||
25 | * The JSON output journal serialization has been updated not | |
26 | to generate "endless" list objects anymore, but rather one | |
27 | JSON object per line. This is more in line how most JSON | |
28 | parsers expect JSON objects. The new output mode | |
29 | "json-pretty" has been added to provide similar output, but | |
30 | neatly aligned for readability by humans. | |
31 | ||
32 | * We dropped all explicit sync() invocations in the shutdown | |
33 | code. The kernel does this implicitly anyway in the kernel | |
34 | reboot() syscall. halt(8)'s -n option is now a compatibility | |
35 | no-op. | |
36 | ||
37 | * We now support virtualized reboot() in containers, as | |
38 | supported by newer kernels. We will fall back to exit() if | |
39 | CAP_SYS_REBOOT is not available to the container. Also, | |
40 | nspawn makes use of this now and will actually reboot the | |
41 | container if the containerized OS asks for that. | |
42 | ||
43 | * journalctl will only show local log output by default | |
44 | now. Use --merge (-m) to show remote log output, too. | |
45 | ||
46 | * libsystemd-journal gained the new sd_journal_get_usage() | |
47 | call to determine the current disk usage of all journal | |
48 | files. This is exposed in the new "journalctl --disk-usage" | |
49 | command. | |
50 | ||
51 | * journald gained a new configuration setting SplitMode= in | |
52 | journald.conf which may be used to control how user journals | |
53 | are split off. See journald.conf(5) for details. | |
54 | ||
55 | * A new condition type ConditionFileNotEmpty= has been added. | |
56 | ||
57 | * tmpfiles' "w" lines now support file globbing, to write | |
58 | multiple files at once. | |
59 | ||
60 | * We added Python bindings for the journal submission | |
61 | APIs. More Python APIs for a number of selected APIs will | |
62 | likely follow. Note that we intend to add native bindings | |
63 | only for the Python language, as we consider it common | |
64 | enough to deserve bindings shipped within systemd. There are | |
65 | various projects outside of systemd that provide bindings | |
66 | for languages such as PHP or Lua. | |
67 | ||
68 | * Many conditions will not resolve specifiers such as %i. They | |
69 | are also available in PathChanged= and related directives of | |
70 | .path units. | |
71 | ||
72 | * There's now a new RPM macro definition for the system preset | |
73 | dir: %_presetdir. | |
74 | ||
75 | * journald will now warn if it can't foward a message to the | |
76 | syslog daemon because it's socket is full. | |
77 | ||
78 | * timedated will no longer write or process /etc/timezone, | |
79 | except on Debian. As we do not support late mounted /usr | |
80 | anymore /etc/localtime always being a symlink is now safe, | |
81 | and hence the information in /etc/timezone is not necessary | |
82 | anymore. | |
83 | ||
84 | * logind will now always resolve one VT for a text getty (VT6 | |
85 | by default). Previously if more than 6 X sessions where | |
86 | started they took up all the VTs with auto-spawned gettys, | |
87 | so that no text gettys were available anymore. | |
88 | ||
89 | * udev will now automatically inform the btrfs kernel logic | |
90 | about btrfs RAID components showing up. This should make | |
91 | simple hotplug based btrfs RAID assembly work. | |
92 | ||
93 | * PID 1 will now increase its RLIMIT_NOFILE to 64K by default | |
94 | (but not for its children which will stay at the kernel | |
95 | default). This should allow setups with a lot more listening | |
96 | sockets. | |
97 | ||
98 | * systemd will now always pass the configured timezone to the | |
99 | kernel at boot. timedated will do the same when the timezone | |
100 | is changed. | |
101 | ||
102 | * logind's inhibition logic has been updated. By default, | |
103 | logind will now handle the lid switch, the power and sleep | |
104 | keys all the time, even in graphical sessions. If DEs want | |
105 | to handle these events on their own they should take the new | |
106 | handle-power-key, handle-sleep-key and handle-lid-switch | |
107 | inhibitors during their runtime. A simple way to achiveve | |
108 | that is to invoke the DE wrapped in an invocation of: | |
109 | ||
110 | systemd-inhibit --what=handle-power-key:handle-sleep-key:handle-lid-switch ... | |
111 | ||
112 | * Access to unit operations is now checked via SELinux taking | |
113 | the unit file label and client process label into account. | |
114 | ||
115 | Contributions from Allin Cottrell, Auke Kok, Brandon Philips, | |
116 | Colin Guthrie, Colin Walters, Daniel J Walsh, Dave Reisner, | |
117 | Eelco Dolstra, Jan Engelhardt, Kay Sievers, Lennart | |
118 | Poettering, Lucas De Marchi, Lukas Nykryn, Mantas Mikulėnas, | |
119 | Martin Pitt, Matthias Clasen, Michael Olbrich, Pierre Schmitz, | |
120 | Shawn Landden, Thomas Hindoe Paaboel Andersen, Tom Gundersen, | |
121 | Václav Pavlín, Yin Kangkai, Zbigniew Jędrzejewski-Szmek | |
122 | ||
38a60d71 LP |
123 | CHANGES WITH 189: |
124 | ||
125 | * Support for reading structured kernel messages from | |
126 | /dev/kmsg has now been added and is enabled by default. | |
127 | ||
128 | * Support for reading kernel messages from /proc/kmsg has now | |
129 | been removed. If you want kernel messages in the journal | |
130 | make sure to run a recent kernel (>= 3.5) that supports | |
131 | reading structured messages from /dev/kmsg (see | |
132 | above). /proc/kmsg is now exclusive property of classic | |
133 | syslog daemons again. | |
134 | ||
135 | * The libudev API gained the new | |
136 | udev_device_new_from_device_id() call. | |
137 | ||
138 | * The logic for file system namespace (ReadOnlyDirectory=, | |
139 | ReadWriteDirectoy=, PrivateTmp=) has been reworked not to | |
140 | require pivot_root() anymore. This means fewer temporary | |
141 | directories are created below /tmp for this feature. | |
142 | ||
143 | * nspawn containers will now see and receive all submounts | |
144 | made on the host OS below the root file system of the | |
145 | container. | |
146 | ||
147 | * Forward Secure Sealing is now supported for Journal files, | |
148 | which provide cryptographical sealing of journal files so | |
149 | that attackers cannot alter log history anymore without this | |
150 | being detectable. Lennart will soon post a blog story about | |
151 | this explaining it in more detail. | |
152 | ||
153 | * There are two new service settings RestartPreventExitStatus= | |
154 | and SuccessExitStatus= which allow configuration of exit | |
155 | status (exit code or signal) which will be excepted from the | |
156 | restart logic, resp. consider successful. | |
157 | ||
158 | * journalctl gained the new --verify switch that can be used | |
159 | to check the integrity of the structure of journal files and | |
160 | (if Forward Secure Sealing is enabled) the contents of | |
161 | journal files. | |
162 | ||
163 | * nspawn containers will now be run with /dev/stdin, /dev/fd/ | |
164 | and similar symlinks pre-created. This makes running shells | |
165 | as container init process a lot more fun. | |
166 | ||
167 | * The fstab support can now handle PARTUUID= and PARTLABEL= | |
168 | entries. | |
169 | ||
170 | * A new ConditionHost= condition has been added to match | |
171 | against the hostname (with globs) and machine ID. This is | |
172 | useful for clusters where a single OS image is used to | |
173 | provision a large number of hosts which shall run slightly | |
174 | different sets of services. | |
175 | ||
176 | * Services which hit the restart limit will now be placed in a | |
177 | failure state. | |
178 | ||
179 | Contributions from Bertram Poettering, Dave Reisner, Huang | |
180 | Hang, Kay Sievers, Lennart Poettering, Lukas Nykryn, Martin | |
181 | Pitt, Simon Peeters, Zbigniew Jędrzejewski-Szmek | |
182 | ||
c269cec3 LP |
183 | CHANGES WITH 188: |
184 | ||
185 | * When running in --user mode systemd will now become a | |
186 | subreaper (PR_SET_CHILD_SUBREAPER). This should make the ps | |
187 | tree a lot more organized. | |
188 | ||
189 | * A new PartOf= unit dependency type has been introduced that | |
190 | may be used to group services in a natural way. | |
191 | ||
192 | * "systemctl enable" may now be used to enable instances of | |
193 | services. | |
194 | ||
195 | * journalctl now prints error log levels in red, and | |
196 | warning/notice log levels in bright white. It also supports | |
197 | filtering by log level now. | |
198 | ||
199 | * cgtop gained a new -n switch (similar to top), to configure | |
200 | the maximum number of iterations to run for. It also gained | |
201 | -b, to run in batch mode (accepting no input). | |
202 | ||
203 | * The suffix ".service" may now be ommited on most systemctl | |
204 | command lines involving service unit names. | |
205 | ||
206 | * There's a new bus call in logind to lock all sessions, as | |
207 | well as a loginctl verb for it "lock-sessions". | |
208 | ||
209 | * libsystemd-logind.so gained a new call sd_journal_perror() | |
210 | that works similar to libc perror() but logs to the journal | |
211 | and encodes structured information about the error number. | |
212 | ||
213 | * /etc/crypttab entries now understand the new keyfile-size= | |
214 | option. | |
215 | ||
216 | * shutdown(8) now can send a (configurable) wall message when | |
217 | a shutdown is cancelled. | |
218 | ||
219 | * The mount propagation mode for the root file system will now | |
220 | default to "shared", which is useful to make containers work | |
221 | nicely out-of-the-box so that they receive new mounts from | |
222 | the host. This can be undone locally by running "mount | |
223 | --make-rprivate /" if needed. | |
224 | ||
225 | * The prefdm.service file has been removed. Distributions | |
226 | should maintain this unit downstream if they intend to keep | |
227 | it around. However, we recommend writing normal unit files | |
228 | for display managers instead. | |
229 | ||
230 | * Since systemd is a crucial part of the OS we will now | |
231 | default to a number of compiler switches that improve | |
232 | security (hardening) such as read-only relocations, stack | |
233 | protection, and suchlike. | |
234 | ||
235 | * The TimeoutSec= setting for services is now split into | |
236 | TimeoutStartSec= and TimeoutStopSec= to allow configuration | |
237 | of individual time outs for the start and the stop phase of | |
238 | the service. | |
239 | ||
240 | Contributions from: Artur Zaprzala, Arvydas Sidorenko, Auke | |
241 | Kok, Bryan Kadzban, Dave Reisner, David Strauss, Harald Hoyer, | |
242 | Jim Meyering, Kay Sievers, Lennart Poettering, Mantas | |
243 | Mikulėnas, Martin Pitt, Michal Schmidt, Michal Sekletar, Peter | |
244 | Alfredsen, Shawn Landden, Simon Peeters, Terence Honles, Tom | |
245 | Gundersen, Zbigniew Jędrzejewski-Szmek | |
246 | ||
c4f1b862 LP |
247 | CHANGES WITH 187: |
248 | ||
249 | * The journal and id128 C APIs are now fully documented as man | |
250 | pages. | |
251 | ||
252 | * Extra safety checks have been added when transitioning from | |
253 | the initial RAM disk to the main system to avoid accidental | |
254 | data loss. | |
255 | ||
c269cec3 | 256 | * /etc/crypttab entries now understand the new keyfile-offset= |
c4f1b862 LP |
257 | option. |
258 | ||
259 | * systemctl -t can now be used to filter by unit load state. | |
260 | ||
261 | * The journal C API gained the new sd_journal_wait() call to | |
262 | make writing synchronous journal clients easier. | |
263 | ||
264 | * journalctl gained the new -D switch to show journals from a | |
265 | specific directory. | |
266 | ||
267 | * journalctl now displays a special marker between log | |
268 | messages of two different boots. | |
269 | ||
270 | * The journal is now explicitly flushed to /var via a service | |
271 | systemd-journal-flush.service, rather than implicitly simply | |
272 | by seeing /var/log/journal to be writable. | |
273 | ||
274 | * journalctl (and the journal C APIs) can now match for much | |
275 | more complex expressions, with alternatives and | |
276 | disjunctions. | |
277 | ||
278 | * When transitioning from the initial RAM disk to the main | |
279 | system we will now kill all processes in a killing spree to | |
280 | ensure no processes stay around by accident. | |
281 | ||
282 | * Three new specifiers may be used in unit files: %u, %h, %s | |
283 | resolve to the user name, user home directory resp. user | |
284 | shell. This is useful for running systemd user instances. | |
285 | ||
286 | * We now automatically rotate journal files if their data | |
287 | object hash table gets a fill level > 75%. We also size the | |
288 | hash table based on the configured maximum file size. This | |
289 | together should lower hash collisions drastically and thus | |
290 | speed things up a bit. | |
291 | ||
292 | * journalctl gained the new "--header" switch to introspect | |
293 | header data of journal files. | |
294 | ||
295 | * A new setting SystemCallFilters= has been added to services | |
296 | which may be used to apply blacklists or whitelists to | |
297 | system calls. This is based on SECCOMP Mode 2 of Linux 3.5. | |
298 | ||
299 | * nspawn gained a new --link-journal= switch (and quicker: -j) | |
300 | to link the container journal with the host. This makes it | |
301 | very easy to centralize log viewing on the host for all | |
302 | guests while still keeping the journal files separated. | |
303 | ||
304 | * Many bugfixes and optimizations | |
305 | ||
306 | Contributions from: Auke Kok, Eelco Dolstra, Harald Hoyer, Kay | |
307 | Sievers, Lennart Poettering, Malte Starostik, Paul Menzel, Rex | |
308 | Tsai, Shawn Landden, Tom Gundersen, Ville Skyttä, Zbigniew | |
309 | Jędrzejewski-Szmek | |
310 | ||
b5b4c94a LP |
311 | CHANGES WITH 186: |
312 | ||
313 | * Several tools now understand kernel command line arguments, | |
314 | which are only read when run in an initial RAM disk. They | |
315 | usually follow closely their normal counterparts, but are | |
316 | prefixed with rd. | |
317 | ||
318 | * There's a new tool to analyze the readahead files that are | |
319 | automatically generated at boot. Use: | |
320 | ||
321 | /usr/lib/systemd/systemd-readahead analyze /.readahead | |
322 | ||
323 | * We now provide an early debug shell on tty9 if this enabled. Use: | |
324 | ||
d1f9edaf | 325 | systemctl enable debug-shell.service |
b5b4c94a LP |
326 | |
327 | * All plymouth related units have been moved into the Plymouth | |
328 | package. Please make sure to upgrade your Plymouth version | |
329 | as well. | |
330 | ||
331 | * systemd-tmpfiles now supports getting passed the basename of | |
332 | a configuration file only, in which case it will look for it | |
333 | in all appropriate directories automatically. | |
334 | ||
335 | * udevadm info now takes a /dev or /sys path as argument, and | |
336 | does the right thing. Example: | |
337 | ||
338 | udevadm info /dev/sda | |
339 | udevadm info /sys/class/block/sda | |
340 | ||
341 | * systemctl now prints a warning if a unit is stopped but a | |
342 | unit that might trigger it continues to run. Example: a | |
343 | service is stopped but the socket that activates it is left | |
344 | running. | |
345 | ||
346 | * "systemctl status" will now mention if the log output was | |
347 | shortened due to rotation since a service has been started. | |
348 | ||
349 | * The journal API now exposes functions to determine the | |
350 | "cutoff" times due to rotation. | |
351 | ||
352 | * journald now understands SIGUSR1 and SIGUSR2 for triggering | |
353 | immediately flushing of runtime logs to /var if possible, | |
354 | resp. for triggering immediate rotation of the journal | |
355 | files. | |
356 | ||
357 | * It is now considered an error if a service is attempted to | |
358 | be stopped that is not loaded. | |
359 | ||
360 | * XDG_RUNTIME_DIR now uses numeric UIDs instead of usernames. | |
361 | ||
362 | * systemd-analyze now supports Python 3 | |
363 | ||
364 | * tmpfiles now supports cleaning up directories via aging | |
365 | where the first level dirs are always kept around but | |
366 | directories beneath it automatically aged. This is enabled | |
367 | by prefixing the age field with '~'. | |
368 | ||
369 | * Seat objects now expose CanGraphical, CanTTY properties | |
370 | which is required to deal with very fast bootups where the | |
371 | display manager might be running before the graphics drivers | |
372 | completed initialization. | |
373 | ||
374 | * Seat objects now expose a State property. | |
375 | ||
376 | * We now include RPM macros for service enabling/disabling | |
377 | based on the preset logic. We recommend RPM based | |
378 | distributions to make use of these macros if possible. This | |
379 | makes it simpler to reuse RPM spec files across | |
380 | distributions. | |
381 | ||
382 | * We now make sure that the collected systemd unit name is | |
383 | always valid when services log to the journal via | |
384 | STDOUT/STDERR. | |
385 | ||
386 | * There's a new man page kernel-command-line(7) detailing all | |
387 | command line options we understand. | |
388 | ||
389 | * The fstab generator may now be disabled at boot by passing | |
390 | fstab=0 on the kernel command line. | |
391 | ||
91ac7425 | 392 | * A new kernel command line option modules-load= is now understood |
b5b4c94a LP |
393 | to load a specific kernel module statically, early at boot. |
394 | ||
395 | * Unit names specified on the systemctl command line are now | |
396 | automatically escaped as needed. Also, if file system or | |
397 | device paths are specified they are automatically turned | |
398 | into the appropriate mount or device unit names. Example: | |
399 | ||
400 | systemctl status /home | |
401 | systemctl status /dev/sda | |
402 | ||
403 | * The SysVConsole= configuration option has been removed from | |
404 | system.conf parsing. | |
405 | ||
406 | * The SysV search path is no longer exported on the D-Bus | |
407 | Manager object. | |
408 | ||
409 | * The Names= option is been removed from unit file parsing. | |
410 | ||
411 | * There's a new man page bootup(7) detailing the boot process. | |
412 | ||
413 | * Every unit and every generator we ship with systemd now | |
414 | comes with full documentation. The self-explanatory boot is | |
415 | complete. | |
416 | ||
417 | * A couple of services gained "systemd-" prefixes in their | |
418 | name if they wrap systemd code, rather than only external | |
419 | code. Among them fsck@.service which is now | |
420 | systemd-fsck@.service. | |
421 | ||
422 | * The HaveWatchdog property has been removed from the D-Bus | |
423 | Manager object. | |
424 | ||
425 | * systemd.confirm_spawn= on the kernel command line should now | |
426 | work sensibly. | |
427 | ||
428 | * There's a new man page crypttab(5) which details all options | |
429 | we actually understand. | |
430 | ||
431 | * systemd-nspawn gained a new --capability= switch to pass | |
432 | additional capabilities to the container. | |
433 | ||
434 | * timedated will now read known NTP implementation unit names | |
5b00c016 | 435 | from /usr/lib/systemd/ntp-units.d/*.list, |
b5b4c94a LP |
436 | systemd-timedated-ntp.target has been removed. |
437 | ||
438 | * journalctl gained a new switch "-b" that lists log data of | |
439 | the current boot only. | |
440 | ||
441 | * The notify socket is in the abstract namespace again, in | |
442 | order to support daemons which chroot() at start-up. | |
443 | ||
444 | * There is a new Storage= configuration option for journald | |
445 | which allows configuration of where log data should go. This | |
446 | also provides a way to disable journal logging entirely, so | |
447 | that data collected is only forwarded to the console, the | |
448 | kernel log buffer or another syslog implementation. | |
449 | ||
c4f1b862 | 450 | * Many bugfixes and optimizations |
b5b4c94a | 451 | |
2d938ac7 LP |
452 | Contributions from: Auke Kok, Colin Guthrie, Dave Reisner, |
453 | David Strauss, Eelco Dolstra, Kay Sievers, Lennart Poettering, | |
454 | Lukas Nykryn, Michal Schmidt, Michal Sekletar, Paul Menzel, | |
455 | Shawn Landden, Tom Gundersen | |
b5b4c94a | 456 | |
2d197285 KS |
457 | CHANGES WITH 185: |
458 | * "systemctl help <unit>" now shows the man page if one is | |
459 | available. | |
460 | ||
461 | * Several new man pages have been added. | |
462 | ||
b5b4c94a LP |
463 | * MaxLevelStore=, MaxLevelSyslog=, MaxLevelKMsg=, |
464 | MaxLevelConsole= can now be specified in | |
465 | journald.conf. These options allow reducing the amount of | |
466 | data stored on disk or forwarded by the log level. | |
2d197285 | 467 | |
b5b4c94a LP |
468 | * TimerSlackNSec= can now be specified in system.conf for |
469 | PID1. This allows system-wide power savings. | |
2d197285 KS |
470 | |
471 | Contributions from: Dave Reisner, Kay Sievers, Lauri Kasanen, | |
472 | Lennart Poettering, Malte Starostik, Marc-Antoine Perennou, | |
473 | Matthias Clasen | |
474 | ||
4c8cd173 LP |
475 | CHANGES WITH 184: |
476 | * logind is now capable of (optionally) handling power and | |
477 | sleep keys as well as the lid switch. | |
478 | ||
479 | * journalctl now understands the syntax "journalctl | |
480 | /usr/bin/avahi-daemon" to get all log output of a specific | |
481 | daemon. | |
482 | ||
483 | * CapabilityBoundingSet= in system.conf now also influences | |
484 | the capability bound set of usermode helpers of the kernel. | |
485 | ||
486 | Contributions from: Daniel Drake, Daniel J. Walsh, Gert | |
487 | Michael Kulyk, Harald Hoyer, Jean Delvare, Kay Sievers, | |
488 | Lennart Poettering, Matthew Garrett, Matthias Clasen, Paul | |
489 | Menzel, Shawn Landden, Tero Roponen, Tom Gundersen | |
490 | ||
ea5943d3 | 491 | CHANGES WITH 183: |
187076d4 LP |
492 | * Note that we skipped 139 releases here in order to set the |
493 | new version to something that is greater than both udev's | |
494 | and systemd's most recent version number. | |
495 | ||
194bbe33 KS |
496 | * udev: all udev sources are merged into the systemd source tree now. |
497 | All future udev development will happen in the systemd tree. It | |
498 | is still fully supported to use the udev daemon and tools without | |
499 | systemd running, like in initramfs or other init systems. Building | |
500 | udev though, will require the *build* of the systemd tree, but | |
ea5943d3 | 501 | udev can be properly *run* without systemd. |
07cd4fc1 | 502 | |
91cf7e5c | 503 | * udev: /lib/udev/devices/ are not read anymore; systemd-tmpfiles |
f13b388f KS |
504 | should be used to create dead device nodes as workarounds for broken |
505 | subsystems. | |
64661ee7 | 506 | |
2d13da88 KS |
507 | * udev: RUN+="socket:..." and udev_monitor_new_from_socket() is |
508 | no longer supported. udev_monitor_new_from_netlink() needs to be | |
509 | used to subscribe to events. | |
510 | ||
194bbe33 KS |
511 | * udev: when udevd is started by systemd, processes which are left |
512 | behind by forking them off of udev rules, are unconditionally cleaned | |
513 | up and killed now after the event handling has finished. Services or | |
514 | daemons must be started as systemd services. Services can be | |
ea5943d3 | 515 | pulled-in by udev to get started, but they can no longer be directly |
194bbe33 KS |
516 | forked by udev rules. |
517 | ||
f13b388f KS |
518 | * udev: the daemon binary is called systemd-udevd now and installed |
519 | in /usr/lib/systemd/. Standalone builds or non-systemd systems need | |
520 | to adapt to that, create symlink, or rename the binary after building | |
521 | it. | |
522 | ||
ea5943d3 | 523 | * libudev no longer provides these symbols: |
c1959569 KS |
524 | udev_monitor_from_socket() |
525 | udev_queue_get_failed_list_entry() | |
526 | udev_get_{dev,sys,run}_path() | |
ea5943d3 | 527 | The versions number was bumped and symbol versioning introduced. |
c1959569 | 528 | |
ea5943d3 | 529 | * systemd-loginctl and systemd-journalctl have been renamed |
9ae9afce | 530 | to loginctl and journalctl to match systemctl. |
18b754d3 KS |
531 | |
532 | * The config files: /etc/systemd/systemd-logind.conf and | |
533 | /etc/systemd/systemd-journald.conf have been renamed to | |
534 | logind.conf and journald.conf. Package updates should rename | |
535 | the files to the new names on upgrade. | |
536 | ||
ea5943d3 LP |
537 | * For almost all files the license is now LGPL2.1+, changed |
538 | from the previous GPL2.0+. Exceptions are some minor stuff | |
539 | of udev (which will be changed to LGPL2.1 eventually, too), | |
540 | and the MIT licensed sd-daemon.[ch] library that is suitable | |
541 | to be used as drop-in files. | |
542 | ||
543 | * systemd and logind now handle system sleep states, in | |
49f43d5f | 544 | particular suspending and hibernating. |
ea5943d3 LP |
545 | |
546 | * logind now implements a sleep/shutdown/idle inhibiting logic | |
547 | suitable for a variety of uses. Soonishly Lennart will blog | |
548 | about this in more detail. | |
549 | ||
550 | * var-run.mount and var-lock.mount are no longer provided | |
551 | (which prevously bind mounted these directories to their new | |
552 | places). Distributions which have not converted these | |
553 | directories to symlinks should consider stealing these files | |
554 | from git history and add them downstream. | |
555 | ||
556 | * We introduced the Documentation= field for units and added | |
557 | this to all our shipped units. This is useful to make it | |
3943231c | 558 | easier to explore the boot and the purpose of the various |
ea5943d3 LP |
559 | units. |
560 | ||
561 | * All smaller setup units (such as | |
562 | systemd-vconsole-setup.service) now detect properly if they | |
563 | are run in a container and are skipped when | |
564 | appropriate. This guarantees an entirely noise-free boot in | |
565 | Linux container environments such as systemd-nspawn. | |
566 | ||
567 | * A framework for implementing offline system updates is now | |
568 | integrated, for details see: | |
569 | http://freedesktop.org/wiki/Software/systemd/SystemUpdates | |
570 | ||
571 | * A new service type Type=idle is available now which helps us | |
572 | avoiding ugly interleaving of getty output and boot status | |
573 | messages. | |
574 | ||
439d6dfd LP |
575 | * There's now a system-wide CapabilityBoundingSet= option to |
576 | globally reduce the set of capabilities for the | |
ea5943d3 LP |
577 | system. This is useful to drop CAP_SYS_MKNOD, CAP_SYS_RAWIO, |
578 | CAP_NET_RAW, CAP_SYS_MODULE, CAP_SYS_TIME, CAP_SYS_PTRACE or | |
579 | even CAP_NET_ADMIN system-wide for secure systems. | |
580 | ||
581 | * There are now system-wide DefaultLimitXXX= options to | |
582 | globally change the defaults of the various resource limits | |
583 | for all units started by PID 1. | |
584 | ||
585 | * Harald Hoyer's systemd test suite has been integrated into | |
586 | systemd which allows easy testing of systemd builds in qemu | |
587 | and nspawn. (This is really awesome! Ask us for details!) | |
588 | ||
3943231c LP |
589 | * The fstab parser is now implemented as generator, not inside |
590 | of PID 1 anymore. | |
ea5943d3 LP |
591 | |
592 | * systemctl will now warn you if .mount units generated from | |
593 | /etc/fstab are out of date due to changes in fstab that | |
594 | haven't been read by systemd yet. | |
595 | ||
596 | * systemd is now suitable for usage in initrds. Dracut has | |
597 | already been updated to make use of this. With this in place | |
598 | initrds get a slight bit faster but primarily are much | |
599 | easier to introspect and debug since "systemctl status" in | |
600 | the host system can be used to introspect initrd services, | |
601 | and the journal from the initrd is kept around too. | |
602 | ||
603 | * systemd-delta has been added, a tool to explore differences | |
604 | between user/admin configuration and vendor defaults. | |
605 | ||
606 | * PrivateTmp= now affects both /tmp and /var/tmp. | |
607 | ||
608 | * Boot time status messages are now much prettier and feature | |
609 | proper english language. Booting up systemd has never been | |
610 | so sexy. | |
611 | ||
612 | * Read-ahead pack files now include the inode number of all | |
613 | files to pre-cache. When the inode changes the pre-caching | |
614 | is not attempted. This should be nicer to deal with updated | |
615 | packages which might result in changes of read-ahead | |
616 | patterns. | |
617 | ||
618 | * We now temporaritly lower the kernel's read_ahead_kb variable | |
619 | when collecting read-ahead data to ensure the kernel's | |
620 | built-in read-ahead does not add noise to our measurements | |
621 | of necessary blocks to pre-cache. | |
622 | ||
623 | * There's now RequiresMountsFor= to add automatic dependencies | |
624 | for all mounts necessary for a specific file system path. | |
625 | ||
626 | * MountAuto= and SwapAuto= have been removed from | |
627 | system.conf. Mounting file systems at boot has to take place | |
628 | in systemd now. | |
629 | ||
630 | * nspawn now learned a new switch --uuid= to set the machine | |
631 | ID on the command line. | |
632 | ||
f8c0a2cb | 633 | * nspawn now learned the -b switch to automatically search |
ea5943d3 LP |
634 | for an init system. |
635 | ||
636 | * vt102 is now the default TERM for serial TTYs, upgraded from | |
637 | vt100. | |
638 | ||
639 | * systemd-logind now works on VT-less systems. | |
640 | ||
641 | * The build tree has been reorganized. The individual | |
3943231c | 642 | components now have directories of their own. |
ea5943d3 LP |
643 | |
644 | * A new condition type ConditionPathIsReadWrite= is now available. | |
645 | ||
646 | * nspawn learned the new -C switch to create cgroups for the | |
647 | container in other hierarchies. | |
648 | ||
649 | * We now have support for hardware watchdogs, configurable in | |
650 | system.conf. | |
651 | ||
652 | * The scheduled shutdown logic now has a public API. | |
653 | ||
654 | * We now mount /tmp as tmpfs by default, but this can be | |
655 | masked and /etc/fstab can override it. | |
656 | ||
657 | * Since udisks doesn't make use of /media anymore we are not | |
658 | mounting a tmpfs on it anymore. | |
659 | ||
660 | * journalctl gained a new --local switch to only interleave | |
661 | locally generated journal files. | |
662 | ||
663 | * We can now load the IMA policy at boot automatically. | |
664 | ||
665 | * The GTK tools have been split off into a systemd-ui. | |
666 | ||
79849bf9 LP |
667 | Contributions from: Andreas Schwab, Auke Kok, Ayan George, |
668 | Colin Guthrie, Daniel Mack, Dave Reisner, David Ward, Elan | |
669 | Ruusamäe, Frederic Crozat, Gergely Nagy, Guillermo Vidal, | |
670 | Hannes Reinecke, Harald Hoyer, Javier Jardón, Kay Sievers, | |
671 | Lennart Poettering, Lucas De Marchi, Léo Gillot-Lamure, | |
672 | Marc-Antoine Perennou, Martin Pitt, Matthew Monaco, Maxim | |
673 | A. Mikityanskiy, Michael Biebl, Michael Olbrich, Michal | |
674 | Schmidt, Nis Martensen, Patrick McCarty, Roberto Sassu, Shawn | |
675 | Landden, Sjoerd Simons, Sven Anders, Tollef Fog Heen, Tom | |
676 | Gundersen | |
677 | ||
16f1239e LP |
678 | CHANGES WITH 44: |
679 | * This is mostly a bugfix release | |
680 | ||
681 | * Support optional initialization of the machine ID from the | |
682 | KVM or container configured UUID. | |
683 | ||
684 | * Support immediate reboots with "systemctl reboot -ff" | |
685 | ||
686 | * Show /etc/os-release data in systemd-analyze output | |
687 | ||
688 | * Many bugfixes for the journal, including endianess fixes and | |
689 | ensuring that disk space enforcement works | |
690 | ||
691 | * sd-login.h is C++ comptaible again | |
692 | ||
693 | * Extend the /etc/os-release format on request of the Debian | |
694 | folks | |
695 | ||
696 | * We now refuse non-UTF8 strings used in various configuration | |
697 | and unit files. This is done to ensure we don't pass invalid | |
698 | data over D-Bus or expose it elsewhere. | |
699 | ||
700 | * Register Mimo USB Screens as suitable for automatic seat | |
701 | configuration | |
702 | ||
703 | * Read SELinux client context from journal clients in a race | |
704 | free fashion | |
705 | ||
706 | * Reorder configuration file lookup order. /etc now always | |
707 | overrides /run in order to allow the administrator to always | |
708 | and unconditionally override vendor supplied or | |
709 | automatically generated data. | |
710 | ||
711 | * The various user visible bits of the journal now have man | |
712 | pages. We still lack man pages for the journal API calls | |
713 | however. | |
714 | ||
715 | * We now ship all man pages in HTML format again in the | |
716 | tarball. | |
717 | ||
718 | Contributions from: Dave Reisner, Dirk Eibach, Frederic | |
719 | Crozat, Harald Hoyer, Kay Sievers, Lennart Poettering, Marti | |
720 | Raudsepp, Michal Schmidt, Shawn Landden, Tero Roponen, Thierry | |
721 | Reding | |
722 | ||
437b7dee LP |
723 | CHANGES WITH 43: |
724 | * This is mostly a bugfix release | |
725 | ||
726 | * systems lacking /etc/os-release are no longer supported. | |
727 | ||
728 | * Various functionality updates to libsystemd-login.so | |
729 | ||
730 | * Track class of PAM logins to distuingish greeters from | |
731 | normal user logins. | |
732 | ||
733 | Contributions from: Kay Sievers, Lennart Poettering, Michael | |
734 | Biebl | |
735 | ||
204fa33c LP |
736 | CHANGES WITH 42: |
737 | * This is an important bugfix release for v41. | |
738 | ||
739 | * Building man pages is now optional which should be useful | |
740 | for those building systemd from git but unwilling to install | |
741 | xsltproc. | |
742 | ||
743 | * Watchdog support for supervising services is now usable. In | |
744 | a future release support for hardware watchdogs | |
745 | (i.e. /dev/watchdog) will be added building on this. | |
746 | ||
747 | * Service start rate limiting is now configurable and can be | |
748 | turned off per service. When a start rate limit is hit a | |
749 | reboot can automatically be triggered. | |
750 | ||
751 | * New CanReboot(), CanPowerOff() bus calls in systemd-logind. | |
752 | ||
753 | Contributions from: Benjamin Franzke, Bill Nottingham, | |
754 | Frederic Crozat, Lennart Poettering, Michael Olbrich, Michal | |
755 | Schmidt, Michał Górny, Piotr Drąg | |
756 | ||
e0d25329 KS |
757 | CHANGES WITH 41: |
758 | * The systemd binary is installed /usr/lib/systemd/systemd now; | |
759 | An existing /sbin/init symlink needs to be adapted with the | |
760 | package update. | |
761 | ||
b13df964 LP |
762 | * The code that loads kernel modules has been ported to invoke |
763 | libkmod directly, instead of modprobe. This means we do not | |
764 | support systems with module-init-tools anymore. | |
765 | ||
766 | * Watchdog support is now already useful, but still not | |
767 | complete. | |
768 | ||
769 | * A new kernel command line option systemd.setenv= is | |
770 | understood to set system wide environment variables | |
771 | dynamically at boot. | |
772 | ||
ccd07a08 LP |
773 | * We now limit the set of capabilities of systemd-journald. |
774 | ||
353e12c2 LP |
775 | * We now set SIGPIPE to ignore by default, since it only is |
776 | useful in shell pipelines, and has little use in general | |
777 | code. This can be disabled with IgnoreSIPIPE=no in unit | |
778 | files. | |
779 | ||
b13df964 LP |
780 | Contributions from: Benjamin Franzke, Kay Sievers, Lennart |
781 | Poettering, Michael Olbrich, Michal Schmidt, Tom Gundersen, | |
782 | William Douglas | |
783 | ||
d26e4270 LP |
784 | CHANGES WITH 40: |
785 | * This is mostly a bugfix release | |
786 | ||
787 | * We now expose the reason why a service failed in the | |
788 | "Result" D-Bus property. | |
789 | ||
790 | * Rudimentary service watchdog support (will be completed over | |
791 | the next few releases.) | |
792 | ||
793 | * When systemd forks off in order execute some service we will | |
794 | now immediately changes its argv[0] to reflect which process | |
795 | it will execute. This is useful to minimize the time window | |
796 | with a generic argv[0], which makes bootcharts more useful | |
797 | ||
b13df964 LP |
798 | Contributions from: Alvaro Soliverez, Chris Paulson-Ellis, Kay |
799 | Sievers, Lennart Poettering, Michael Olbrich, Michal Schmidt, | |
800 | Mike Kazantsev, Ray Strode | |
801 | ||
220a21d3 LP |
802 | CHANGES WITH 39: |
803 | * This is mostly a test release, but incorporates many | |
804 | bugfixes. | |
805 | ||
806 | * New systemd-cgtop tool to show control groups by their | |
807 | resource usage. | |
808 | ||
809 | * Linking against libacl for ACLs is optional again. If | |
810 | disabled, support tracking device access for active logins | |
811 | goes becomes unavailable, and so does access to the user | |
812 | journals by the respective users. | |
813 | ||
814 | * If a group "adm" exists, journal files are automatically | |
815 | owned by them, thus allow members of this group full access | |
816 | to the system journal as well as all user journals. | |
817 | ||
818 | * The journal now stores the SELinux context of the logging | |
819 | client for all entries. | |
820 | ||
821 | * Add C++ inclusion guards to all public headers | |
822 | ||
823 | * New output mode "cat" in the journal to print only text | |
824 | messages, without any meta data like date or time. | |
825 | ||
826 | * Include tiny X server wrapper as a temporary stop-gap to | |
827 | teach XOrg udev display enumeration. This is used by display | |
828 | managers such as gdm, and will go away as soon as XOrg | |
829 | learned native udev hotplugging for display devices. | |
830 | ||
831 | * Add new systemd-cat tool for executing arbitrary programs | |
832 | with STDERR/STDOUT connected to the journal. Can also act as | |
833 | BSD logger replacement, and does so by default. | |
834 | ||
835 | * Optionally store all locally generated coredumps in the | |
836 | journal along with meta data. | |
837 | ||
838 | * systemd-tmpfiles learnt four new commands: n, L, c, b, for | |
839 | writing short strings to files (for usage for /sys), and for | |
840 | creating symlinks, character and block device nodes. | |
841 | ||
842 | * New unit file option ControlGroupPersistent= to make cgroups | |
843 | persistent, following the mechanisms outlined in | |
844 | http://www.freedesktop.org/wiki/Software/systemd/PaxControlGroups | |
845 | ||
846 | * Support multiple local RTCs in a sane way | |
847 | ||
848 | * No longer monopolize IO when replaying readahead data on | |
849 | rotating disks, since we might starve non-file-system IO to | |
850 | death, since fanotify() will not see accesses done by blkid, | |
851 | or fsck. | |
852 | ||
853 | * Don't show kernel threads in systemd-cgls anymore, unless | |
854 | requested with new -k switch. | |
855 | ||
856 | Contributions from: Dan Horák, Kay Sievers, Lennart | |
857 | Poettering, Michal Schmidt | |
858 | ||
859 | CHANGES WITH 38: | |
860 | * This is mostly a test release, but incorporates many | |
861 | bugfixes. | |
862 | ||
863 | * The git repository moved to: | |
864 | git://anongit.freedesktop.org/systemd/systemd | |
865 | ssh://git.freedesktop.org/git/systemd/systemd | |
866 | ||
867 | * First release with the journal | |
868 | http://0pointer.de/blog/projects/the-journal.html | |
869 | ||
870 | * The journal replaces both systemd-kmsg-syslogd and | |
871 | systemd-stdout-bridge. | |
872 | ||
873 | * New sd_pid_get_unit() API call in libsystemd-logind | |
874 | ||
875 | * Many systemadm clean-ups | |
876 | ||
877 | * Introduce remote-fs-pre.target which is ordered before all | |
878 | remote mounts and may be used to start services before all | |
879 | remote mounts. | |
880 | ||
881 | * Added Mageia support | |
882 | ||
883 | * Add bash completion for systemd-loginctl | |
884 | ||
885 | * Actively monitor PID file creation for daemons which exit in | |
886 | the parent process before having finished writing the PID | |
887 | file in the daemon process. Daemons which do this need to be | |
888 | fixed (i.e. PID file creation must have finished before the | |
889 | parent exits), but we now react a bit more gracefully to them. | |
890 | ||
891 | * Add colourful boot output, mimicking the well-known output | |
892 | of existing distributions. | |
893 | ||
894 | * New option PassCredentials= for socket units, for | |
895 | compatibility with a recent kernel ABI breakage. | |
896 | ||
897 | * /etc/rc.local is now hooked in via a generator binary, and | |
898 | thus will no longer act as synchronization point during | |
899 | boot. | |
900 | ||
901 | * systemctl list-unit-files now supports --root=. | |
902 | ||
903 | * systemd-tmpfiles now understands two new commands: z, Z for | |
904 | relabelling files according to the SELinux database. This is | |
905 | useful to apply SELinux labels to specific files in /sys, | |
906 | among other things. | |
907 | ||
908 | * Output of SysV services is now forwarded to both the console | |
909 | and the journal by default, not only just the console. | |
910 | ||
911 | * New man pages for all APIs from libsystemd-login. | |
912 | ||
913 | * The build tree got reorganized and a the build system is a | |
914 | lot more modular allowing embedded setups to specifically | |
915 | select the components of systemd they are interested in. | |
916 | ||
917 | * Support for Linux systems lacking the kernel VT subsystem is | |
918 | restored. | |
919 | ||
920 | * configure's --with-rootdir= got renamed to | |
921 | --with-rootprefix= to follow the naming used by udev and | |
922 | kmod | |
923 | ||
924 | * Unless specified otherwise we'll now install to /usr instead | |
925 | of /usr/local by default. | |
926 | ||
927 | * Processes with '@' in argv[0][0] are now excluded from the | |
928 | final shut-down killing spree, following the logic explained | |
929 | in: | |
930 | http://www.freedesktop.org/wiki/Software/systemd/RootStorageDaemons | |
931 | ||
932 | * All processes remaining in a service cgroup when we enter | |
933 | the START or START_PRE states are now killed with | |
934 | SIGKILL. That means it is no longer possible to spawn | |
935 | background processes from ExecStart= lines (which was never | |
936 | supported anyway, and bad style). | |
937 | ||
938 | * New PropagateReloadTo=/PropagateReloadFrom= options to bind | |
939 | reloading of units together. | |
940 | ||
4c8cd173 | 941 | Contributions from: Bill Nottingham, Daniel J. Walsh, Dave |
220a21d3 LP |
942 | Reisner, Dexter Morgan, Gregs Gregs, Jonathan Nieder, Kay |
943 | Sievers, Lennart Poettering, Michael Biebl, Michal Schmidt, | |
944 | Michał Górny, Ran Benita, Thomas Jarosch, Tim Waugh, Tollef | |
945 | Fog Heen, Tom Gundersen, Zbigniew Jędrzejewski-Szmek |