]> git.ipfire.org Git - thirdparty/systemd.git/blame - NEWS
sysusers: initialize r
[thirdparty/systemd.git] / NEWS
CommitLineData
d657c51f 1systemd System and Service Manager
220a21d3 2
b72ddf0f 3CHANGES WITH 216:
b2ca0d63
LP
4
5 * timedated no longer reads NTP implementation unit names from
b72ddf0f 6 /usr/lib/systemd/ntp-units.d/*.list. Alternative NTP
b2ca0d63
LP
7 implementations should add a
8
b72ddf0f 9 Conflicts=systemd-timesyncd.service
b2ca0d63
LP
10
11 to their unit files to take over and replace systemd's NTP
12 default functionality.
13
14 * systemd-sysusers gained a new line type "r" for configuring
15 which UID/GID ranges to allocate system users/groups
16 from. Lines of type "u" may now add an additional column
17 that specifies the home directory for the system user to be
18 created. Also, systemd-sysusers may now optionally read user
19 information from STDIN instead of a file. This is useful for
20 invoking it from RPM preinst scriptlets that need to create
21 users before the first RPM file is installed since these
22 files might need to be owned by them. A new
23 %sysusers_create_inline RPM macro has been introduced to do
24 just that. systemd-sysusers now updates the shadow files as
25 well as the user/group databases, which should enhance
26 compatibility with certain tools like grpck.
27
28 * A number of bus APIs of PID 1 now optionally consult
5f02e26c 29 PolicyKit to permit access for otherwise unprivileged
b2ca0d63
LP
30 clients under certain conditions. Note that this currently
31 doesn't support interactive authentication yet, but this is
32 expected to be added eventually, too.
33
34 * /etc/machine-info now has new fields for configuring the
35 deployment environment of the machine, as well as the
36 location of the machine. hostnamectl has been updated with
37 new command to update these fields.
38
39 * systemd-timesyncd has been updated to automatically acquire
40 NTP server information from systemd-networkd, which might
41 have been discovered via DHCP.
42
43 * systemd-resolved now includes a caching DNS stub resolver
44 and a complete LLMNR name resolution implementation. A new
45 NSS module "nss-resolve" has been added which make be used
46 of glibc's own "nss-dns" to resolve hostnames via
47 systemd-resolved. Hostnames, addresses and arbitrary RRs may
48 be resolved via systemd-resolved D-Bus APIs. In contrast to
49 the glibc internal resolver systemd-resolved is aware of
50 multi-homed system, and keeps DNS server and caches separate
5f02e26c 51 and per-interface. Queries are sent simultaneously on all
b2ca0d63
LP
52 interfaces that have DNS servers configured, in order to
53 properly handle VPNs and local LANs which might resolve
54 separate sets of domain names. systemd-resolved may acquire
a1a4a25e 55 DNS server information from systemd-networkd automatically,
b2ca0d63
LP
56 which in turn might have discovered them via DHCP. A tool
57 "systemd-resolve-host" has been added that may be used to
58 query the DNS logic in resolved. systemd-resolved implements
59 IDNA and automatically uses IDNA or UTF-8 encoding depending
60 on whether classic DNS or LLMNR is used as transport. In the
61 next releases we intend to add a DNSSEC and mDNS/DNS-SD
62 implementation to systemd-resolved.
63
64 * A new NSS module nss-mymachines has been added, that
65 automatically resolves the names of all local registered
66 containers to their respective IP addresses.
67
68 * A new client tool "networkctl" for systemd-networkd has been
69 added. It currently is entirely passive and will query
70 networking configuration from udev, rtnetlink and networkd,
5f02e26c 71 and present it to the user in a very friendly
b2ca0d63
LP
72 way. Eventually, we hope to extend it to become a full
73 control utility for networkd.
74
75 * .socket units gained a new DeferAcceptSec= setting that
76 controls the kernels' TCP_DEFER_ACCEPT sockopt for
77 TCP. Similar, support for controlling TCP keep-alive
78 settings has been added (KeepAliveTimeSec=,
79 KeepAliveIntervalSec=, KeepAliveProbes=). Also, support for
80 turning off Nagle's algorithm on TCP has been added
81 (NoDelay=).
82
a1a4a25e 83 * logind learned a new session type "web", for use in projects
b2ca0d63
LP
84 like Cockpit which register web clients as PAM sessions.
85
86 * timer units with at least one OnCalendar= setting will now
87 be started only after timer-sync.target has been
88 reached. This way they will not elapse before the system
89 clock has been corrected by a local NTP client or
90 similar. This is particular useful on RTC-less embedded
91 machines, that come up with an invalid system clock.
92
93 * systemd-nspawn's --network-veth= switch should now result in
94 stable MAC addresses for both the outer and the inner side
95 of the link.
96
97 * systemd-nspawn gained a new --volatile= switch for running
98 container instances with /etc or /var unpopulated.
99
100 * The kdbus client code has been updated to use the new Linux
101 3.17 memfd subsystem instead of the old kdbus-specific one.
102
103 * systemd-networkd's DHCP client and server now support
104 FORCERENEW.
105
106 * systemd will no longer inform the kernel about the current
107 timezone, as this is necessarily incorrect and racy as the
108 kernel has no understanding of DST and similar
109 concepts. This hence means FAT timestamps will be always
110 considered UTC, similar to what Android is already
111 doing. Also, when the RTC is configured to the local time
112 (rather than UTC) systemd will never synchronize back to it,
113 as this might confuse Windows at a later boot.
114
115 * systemd-analyze gained a new command "verify" for offline
116 validation of unit files.
117
118 * systemd-networkd gained support for a couple of additional
119 settings for bonding networking setups. Also, the metric for
120 statically configured routes may now be configured. For
121 network interfaces where this is appropriate the peer IP
122 address may now be configured.
123
124 * A new library systemd-terminal has been added that
125 implements full TTY stream parsing and rendering. This
126 library is supposed to be used later on for implementing a
127 full userspace VT subsystem, replacing the current kernel
128 implementation.
129
130 * A new tool systemd-journal-upload has been added to push
131 journal data to a remote system running
132 systemd-journal-remote.
133
134 * journald will no longer forward all local data to another
135 running syslog daemon. This change has been made because
136 rsyslog (which appears to be the most commonly used syslog
137 implementation these days) no longer makes use of this, and
138 instead pulls the data out of the journal on its own. Since
5f02e26c 139 forwarding the messages to a non-existent syslog server is
b2ca0d63
LP
140 more expensive than we assumed we have now turned this
141 off. If you run a syslog server that is not a recent rsyslog
142 version, you have to turn this option on again
143 (ForwardToSyslog= in journald.conf).
144
145 * journald now optionally supports the LZ4 compressor for
146 larger journal fields. This compressor should perform much
147 better than XZ which was the previous default.
148
149 * machinectl now shows the IP addresses of local containers,
150 if it knows them, plus the interface name of the container.
151
152 * A new tool "systemd-escape" has been added that makes it
153 easy to escape strings to build unit names and similar.
154
155 * sd_notify() messages may now include a new ERRNO= field
156 which is parsed and collected by systemd and shown among the
157 "systemctl status" output for a service.
158
159 * A new component "systemd-firstboot" has been added that
160 queries the most basic systemd information (timezone,
a1a4a25e 161 hostname, root password) interactively on first
b2ca0d63
LP
162 boot. Alternatively it may also be used to provision these
163 things offline on OS images installed into directories.
164
165 Contributions from: Ansgar Burchardt, Bastien Nocera, Colin
166 Walters, Dan Dedrick, Daniel Buch, Daniel Korostil, Daniel
167 Mack, Dan Williams, Dave Reisner, David Herrmann, Denis
168 Kenzior, Eelco Dolstra, Eric Cook, Hannes Reinecke, Harald
169 Hoyer, Hong Shick Pak, Hui Wang, Jean-André Santoni, Jóhann
170 B. Guðmundsson, Jon Severinsson, Karel Zak, Kay Sievers, Kevin
171 Wells, Lennart Poettering, Lukas Nykryn, Mantas Mikulėnas,
172 Marc-Antoine Perennou, Martin Pitt, Michael Biebl, Michael
173 Marineau, Michael Olbrich, Michal Schmidt, Michal Sekletar,
174 Miguel Angel Ajo, Mike Gilbert, Olivier Brunel, Robert
175 Schiele, Ronny Chevalier, Simon McVittie, Sjoerd Simons, Stef
176 Walter, Steven Noonan, Susant Sahani, Tanu Kaskinen, Thomas
177 Blume, Thomas Hindoe Paaboel Andersen, Timofey Titovets,
178 Tobias Geerinckx-Rice, Tomasz Torcz, Tom Gundersen, Umut
179 Tezduyar Lindskog, Zbigniew Jędrzejewski-Szmek
180
181 -- Berlin, 2014-08-19
b72ddf0f 182
3dff3e00 183CHANGES WITH 215:
24a2bf4c
LP
184
185 * A new tool systemd-sysusers has been added. This tool
186 creates system users and groups in /etc/passwd and
187 /etc/group, based on static declarative system user/group
188 definitions in /usr/lib/sysusers.d/. This is useful to
189 enable factory resets and volatile systems that boot up with
190 an empty /etc directory, and thus need system users and
191 groups created during early boot. systemd now also ships
192 with two default sysusers.d/ files for the most basic
193 users and groups systemd and the core operating system
194 require.
195
196 * A new tmpfiles snippet has been added that rebuilds the
197 essential files in /etc on boot, should they be missing.
198
199 * A directive for ensuring automatic clean-up of
200 /var/cache/man/ has been removed from the default
201 configuration. This line should now be shipped by the man
202 implementation. The necessary change has been made to the
203 man-db implementation. Note that you need to update your man
204 implementation to one that ships this line, otherwise no
205 automatic clean-up of /var/cache/man will take place.
206
207 * A new condition ConditionNeedsUpdate= has been added that
208 may conditionalize services to only run when /etc or /var
209 are "older" than the vendor operating system resources in
210 /usr. This is useful for reconstructing or updating /etc
211 after an offline update of /usr or a factory reset, on the
212 next reboot. Services that want to run once after such an
213 update or reset should use this condition and order
214 themselves before the new systemd-update-done.service, which
215 will mark the two directories as fully updated. A number of
216 service files have been added making use of this, to rebuild
217 the udev hardware database, the journald message catalog and
218 dynamic loader cache (ldconfig). The systemd-sysusers tool
219 described above also makes use of this now. With this in
220 place it is now possible to start up a minimal operating
ce1dde29 221 system with /etc empty cleanly. For more information on the
24a2bf4c
LP
222 concepts involved see this recent blog story:
223
224 http://0pointer.de/blog/projects/stateless.html
225
226 * A new system group "input" has been introduced, and all
227 input device nodes get this group assigned. This is useful
228 for system-level software to get access to input devices. It
3dff3e00
KS
229 complements what is already done for "audio" and "video".
230
24a2bf4c
LP
231 * systemd-networkd learnt minimal DHCPv4 server support in
232 addition to the existing DHCPv4 client support. It also
233 learnt DHCPv6 client and IPv6 Router Solicitation client
234 support. The DHCPv4 client gained support for static routes
235 passed in from the server. Note that the [DHCPv4] section
236 known in older systemd-networkd versions has been renamed to
237 [DHCP] and is now also used by the DHCPv6 client. Existing
c7435cc9
LP
238 .network files using settings of this section should be
239 updated, though compatibility is maintained. Optionally, the
240 client hostname may now be sent to the DHCP server.
24a2bf4c 241
c7435cc9
LP
242 * networkd gained support for vxlan virtual networks as well
243 as tun/tap and dummy devices.
24a2bf4c
LP
244
245 * networkd gained support for automatic allocation of address
246 ranges for interfaces from a system-wide pool of
247 addresses. This is useful for dynamically managing a large
248 number of interfaces with a single network configuration
249 file. In particular this is useful to easily assign
250 appropriate IP addresses to the veth links of a large number
251 of nspawn instances.
252
253 * RPM macros for processing sysusers, sysctl and binfmt
254 drop-in snippets at package installation time have been
255 added.
256
257 * The /etc/os-release file should now be placed in
258 /usr/lib/os-release. The old location is automatically
259 created as symlink. /usr/lib is the more appropriate
260 location of this file, since it shall actually describe the
261 vendor operating system shipped in /usr, and not the
262 configuration stored in /etc.
263
264 * .mount units gained a new boolean SloppyOptions= setting
265 that maps to mount(8)'s -s option which enables permissive
266 parsing of unknown mount options.
267
268 * tmpfiles learnt a new "L+" directive which creates a symlink
269 but (unlike "L") deletes a pre-existing file first, should
270 it already exist and not already be the correct
271 symlink. Similar, "b+", "c+" and "p+" directives have been
272 added as well, which create block and character devices, as
273 well as fifos in the filesystem, possibly removing any
274 pre-existing files of different types.
275
276 * For tmpfiles' "L", "L+", "C" and "C+" directives the final
277 'argument' field (which so far specified the source to
ce1dde29 278 symlink/copy the files from) is now optional. If omitted the
24a2bf4c
LP
279 same file os copied from /usr/share/factory/ suffixed by the
280 full destination path. This is useful for populating /etc
281 with essential files, by copying them from vendor defaults
282 shipped in /usr/share/factory/etc.
283
284 * A new command "systemctl preset-all" has been added that
285 applies the service preset settings to all installed unit
286 files. A new switch --preset-mode= has been added that
287 controls whether only enable or only disable operations
288 shall be executed.
289
290 * A new command "systemctl is-system-running" has been added
291 that allows checking the overall state of the system, for
ce1dde29 292 example whether it is fully up and running.
24a2bf4c
LP
293
294 * When the system boots up with an empty /etc, the equivalent
295 to "systemctl preset-all" is executed during early boot, to
296 make sure all default services are enabled after a factory
297 reset.
298
299 * systemd now contains a minimal preset file that enables the
300 most basic services systemd ships by default.
301
302 * Unit files' [Install] section gained a new DefaultInstance=
303 field for defining the default instance to create if a
304 template unit is enabled with no instance specified.
305
306 * A new passive target cryptsetup-pre.target has been added
307 that may be used by services that need to make they run and
308 finish before the first LUKS cryptographic device is set up.
309
310 * The /dev/loop-control and /dev/btrfs-control device nodes
311 are now owned by the "disk" group by default, opening up
312 access to this group.
313
314 * systemd-coredump will now automatically generate a
315 stack trace of all core dumps taking place on the system,
316 based on elfutils' libdw library. This stack trace is logged
317 to the journal.
318
319 * systemd-coredump may now optionally store coredumps directly
320 on disk (in /var/lib/systemd/coredump, possibly compressed),
321 instead of storing them unconditionally in the journal. This
322 mode is the new default. A new configuration file
323 /etc/systemd/coredump.conf has been added to configure this
324 and other parameters of systemd-coredump.
325
326 * coredumpctl gained a new "info" verb to show details about a
327 specific coredump. A new switch "-1" has also been added
328 that makes sure to only show information about the most
329 recent entry instead of all entries. Also, as the tool is
330 generally useful now the "systemd-" prefix of the binary
331 name has been removed. Distributions that want to maintain
332 compatibility with the old name should add a symlink from
333 the old name to the new name.
334
335 * journald's SplitMode= now defaults to "uid". This makes sure
ce1dde29 336 that unprivileged users can access their own coredumps with
24a2bf4c
LP
337 coredumpctl without restrictions.
338
339 * New kernel command line options "systemd.wants=" (for
340 pulling an additional unit during boot), "systemd.mask="
341 (for masking a specific unit for the boot), and
342 "systemd.debug-shell" (for enabling the debug shell on tty9)
343 have been added. This is implemented in the new generator
344 "systemd-debug-generator".
345
346 * systemd-nspawn will now by default filter a couple of
347 syscalls for containers, among them those required for
348 kernel module loading, direct x86 IO port access, swap
349 management, and kexec. Most importantly though
350 open_by_handle_at() is now prohibited for containers,
351 closing a hole similar to a recently discussed vulnerability
352 in docker regarding access to files on file hierarchies the
353 container should normally not have access to. Note that for
354 nspawn we generally make no security claims anyway (and
355 this is explicitly documented in the man page), so this is
356 just a fix for one of the most obvious problems.
357
358 * A new man page file-hierarchy(7) has been added that
359 contains a minimized, modernized version of the file system
360 layout systemd expects, similar in style to the FHS
c7435cc9
LP
361 specification or hier(5). A new tool systemd-path(1) has
362 been added to query many of these paths for the local
363 machine and user.
24a2bf4c
LP
364
365 * Automatic time-based clean-up of $XDG_RUNTIME_DIR is no
366 longer done. Since the directory now has a per-user size
367 limit, and is cleaned on logout this appears unnecessary,
368 in particular since this now brings the lifecycle of this
369 directory closer in line with how IPC objects are handled.
370
371 * systemd.pc now exports a number of additional directories,
372 including $libdir (which is useful to identify the library
373 path for the primary architecture of the system), and a
374 couple of drop-in directories.
375
3058e017
TLSC
376 * udev's predictable network interface names now use the dev_port
377 sysfs attribute, introduced in linux 3.15 instead of dev_id to
378 distinguish between ports of the same PCI function. dev_id should
379 only be used for ports using the same HW address, hence the need
380 for dev_port.
381
c7435cc9
LP
382 * machined has been updated to export the OS version of a
383 container (read from /etc/os-release and
384 /usr/lib/os-release) on the bus. This is now shown in
385 "machinectl status" for a machine.
386
387 * A new service setting RestartForceExitStatus= has been
388 added. If configured to a set of exit signals or process
389 return values, the service will be restarted when the main
390 daemon process exits with any of them, regardless of the
391 Restart= setting.
392
393 * systemctl's -H switch for connecting to remote systemd
394 machines has been extended so that it may be used to
395 directly connect to a specific container on the
396 host. "systemctl -H root@foobar:waldi" will now connect as
397 user "root" to host "foobar", and then proceed directly to
398 the container named "waldi". Note that currently you have to
399 authenticate as user "root" for this to work, as entering
400 containers is a privileged operation.
401
402 Contributions from: Andreas Henriksson, Benjamin Steinwender,
403 Carl Schaefer, Christian Hesse, Colin Ian King, Cristian
404 Rodríguez, Daniel Mack, Dave Reisner, David Herrmann, Eugene
405 Yakubovich, Filipe Brandenburger, Frederic Crozat, Hristo
406 Venev, Jan Engelhardt, Jonathan Boulle, Kay Sievers, Lennart
407 Poettering, Luke Shumaker, Mantas Mikulėnas, Marc-Antoine
408 Perennou, Marcel Holtmann, Michael Marineau, Michael Olbrich,
409 Michał Bartoszkiewicz, Michal Sekletar, Patrik Flykt, Ronan Le
410 Martret, Ronny Chevalier, Ruediger Oertel, Steven Noonan,
411 Susant Sahani, Thadeu Lima de Souza Cascardo, Thomas Hindoe
412 Paaboel Andersen, Tom Gundersen, Tom Hirst, Umut Tezduyar
413 Lindskog, Uoti Urpala, Zbigniew Jędrzejewski-Szmek
414
415 -- Berlin, 2014-07-03
416
4196a3ea
KS
417CHANGES WITH 214:
418
419 * As an experimental feature, udev now tries to lock the
420 disk device node (flock(LOCK_SH|LOCK_NB)) while it
421 executes events for the disk or any of its partitions.
422 Applications like partitioning programs can lock the
423 disk device node (flock(LOCK_EX)) and claim temporary
424 device ownership that way; udev will entirely skip all event
425 handling for this disk and its partitions. If the disk
426 was opened for writing, the close will trigger a partition
427 table rescan in udev's "watch" facility, and if needed
71449caf 428 synthesize "change" events for the disk and all its partitions.
8d0e0ddd 429 This is now unconditionally enabled, and if it turns out to
4196a3ea 430 cause major problems, we might turn it on only for specific
45df8656 431 devices, or might need to disable it entirely. Device Mapper
4196a3ea
KS
432 devices are excluded from this logic.
433
04e91da2
LP
434 * We temporarily dropped the "-l" switch for fsck invocations,
435 since they collide with the flock() logic above. util-linux
436 upstream has been changed already to avoid this conflict,
437 and we will readd "-l" as soon as util-linux with this
438 change has been released.
439
440 * The dependency on libattr has been removed. Since a long
8d0e0ddd 441 time, the extended attribute calls have moved to glibc, and
04e91da2
LP
442 libattr is thus unnecessary.
443
444 * Virtualization detection works without priviliges now. This
445 means the systemd-detect-virt binary no longer requires
446 CAP_SYS_PTRACE file capabilities, and our daemons can run
71449caf 447 with fewer privileges.
04e91da2
LP
448
449 * systemd-networkd now runs under its own "systemd-network"
450 user. It retains the CAP_NET_ADMIN, CAP_NET_BIND_SERVICE,
451 CAP_NET_BROADCAST, CAP_NET_RAW capabilities though, but
452 loses the ability to write to files owned by root this way.
453
454 * Similar, systemd-resolved now runs under its own
455 "systemd-resolve" user with no capabilities remaining.
456
457 * Similar, systemd-bus-proxyd now runs under its own
458 "systemd-bus-proxy" user with only CAP_IPC_OWNER remaining.
459
460 * systemd-networkd gained support for setting up "veth"
461 virtual ethernet devices for container connectivity, as well
462 as GRE and VTI tunnels.
463
464 * systemd-networkd will no longer automatically attempt to
465 manually load kernel modules necessary for certain tunnel
8d0e0ddd 466 transports. Instead, it is assumed the kernel loads them
04e91da2
LP
467 automatically when required. This only works correctly on
468 very new kernels. On older kernels, please consider adding
c54bed5d 469 the kernel modules to /etc/modules-load.d/ as a work-around.
04e91da2 470
cd14eda3 471 * The resolv.conf file systemd-resolved generates has been
8d0e0ddd
JE
472 moved to /run/systemd/resolve/. If you have a symlink from
473 /etc/resolv.conf, it might be necessary to correct it.
cd14eda3 474
ef392da6 475 * Two new service settings, ProtectHome= and ProtectSystem=,
8d0e0ddd 476 have been added. When enabled, they will make the user data
04e91da2
LP
477 (such as /home) inaccessible or read-only and the system
478 (such as /usr) read-only, for specific services. This allows
479 very light-weight per-service sandboxing to avoid
480 modifications of user data or system files from
481 services. These two new switches have been enabled for all
482 of systemd's long-running services, where appropriate.
483
484 * Socket units gained new SocketUser= and SocketGroup=
485 settings to set the owner user and group of AF_UNIX sockets
486 and FIFOs in the file system.
487
8d0e0ddd 488 * Socket units gained a new RemoveOnStop= setting. If enabled,
04e91da2
LP
489 all FIFOS and sockets in the file system will be removed
490 when the specific socket unit is stopped.
491
492 * Socket units gained a new Symlinks= setting. It takes a list
493 of symlinks to create to file system sockets or FIFOs
45df8656 494 created by the specific Unix sockets. This is useful to
71449caf 495 manage symlinks to socket nodes with the same life-cycle as
04e91da2
LP
496 the socket itself.
497
498 * The /dev/log socket and /dev/initctl FIFO have been moved to
499 /run, and have been replaced by symlinks. This allows
500 connecting to these facilities even if PrivateDevices=yes is
501 used for a service (which makes /dev/log itself unavailable,
502 but /run is left). This also has the benefit of ensuring
503 that /dev only contains device nodes, directories and
504 symlinks, and nothing else.
505
506 * sd-daemon gained two new calls sd_pid_notify() and
507 sd_pid_notifyf(). They are similar to sd_notify() and
508 sd_notifyf(), but allow overriding of the source PID of
509 notification messages if permissions permit this. This is
510 useful to send notify messages on behalf of a different
511 process (for example, the parent process). The
512 systemd-notify tool has been updated to make use of this
513 when sending messages (so that notification messages now
514 originate from the shell script invoking systemd-notify and
515 not the systemd-notify process itself. This should minimize
516 a race where systemd fails to associate notification
517 messages to services when the originating process already
518 vanished.
519
520 * A new "on-abnormal" setting for Restart= has been added. If
8d0e0ddd 521 set, it will result in automatic restarts on all "abnormal"
04e91da2
LP
522 reasons for a process to exit, which includes unclean
523 signals, core dumps, timeouts and watchdog timeouts, but
524 does not include clean and unclean exit codes or clean
525 signals. Restart=on-abnormal is an alternative for
526 Restart=on-failure for services that shall be able to
527 terminate and avoid restarts on certain errors, by
528 indicating so with an unclean exit code. Restart=on-failure
529 or Restart=on-abnormal is now the recommended setting for
530 all long-running services.
531
532 * If the InaccessibleDirectories= service setting points to a
533 mount point (or if there are any submounts contained within
534 it), it is now attempted to completely unmount it, to make
535 the file systems truly unavailable for the respective
536 service.
537
538 * The ReadOnlyDirectories= service setting and
539 systemd-nspawn's --read-only parameter are now recursively
540 applied to all submounts, too.
541
542 * Mount units may now be created transiently via the bus APIs.
543
544 * The support for SysV and LSB init scripts has been removed
545 from the systemd daemon itself. Instead, it is now
546 implemented as a generator that creates native systemd units
547 from these scripts when needed. This enables us to remove a
548 substantial amount of legacy code from PID 1, following the
549 fact that many distributions only ship a very small number
550 of LSB/SysV init scripts nowadays.
551
552 * Priviliged Xen (dom0) domains are not considered
553 virtualization anymore by the virtualization detection
554 logic. After all, they generally have unrestricted access to
71449caf 555 the hardware and usually are used to manage the unprivileged
04e91da2
LP
556 (domU) domains.
557
558 * systemd-tmpfiles gained a new "C" line type, for copying
559 files or entire directories.
560
561 * systemd-tmpfiles "m" lines are now fully equivalent to "z"
8d0e0ddd
JE
562 lines. So far, they have been non-globbing versions of the
563 latter, and have thus been redundant. In future, it is
564 recommended to only use "z". "m" has hence been removed
04e91da2
LP
565 from the documentation, even though it stays supported.
566
567 * A tmpfiles snippet to recreate the most basic structure in
568 /var has been added. This is enough to create the /var/run →
569 /run symlink and create a couple of structural
570 directories. This allows systems to boot up with an empty or
8d0e0ddd
JE
571 volatile /var. Of course, while with this change, the core OS
572 now is capable with dealing with a volatile /var, not all
04e91da2 573 user services are ready for it. However, we hope that sooner
8d0e0ddd 574 or later, many service daemons will be changed upstream so
04e91da2
LP
575 that they are able to automatically create their necessary
576 directories in /var at boot, should they be missing. This is
577 the first step to allow state-less systems that only require
578 the vendor image for /usr to boot.
579
580 * systemd-nspawn has gained a new --tmpfs= switch to mount an
581 empty tmpfs instance to a specific directory. This is
582 particularly useful for making use of the automatic
583 reconstruction of /var (see above), by passing --tmpfs=/var.
584
585 * Access modes specified in tmpfiles snippets may now be
586 prefixed with "~", which indicates that they shall be masked
587 by whether the existing file or directly is currently
8d0e0ddd 588 writable, readable or executable at all. Also, if specified,
04e91da2
LP
589 the sgid/suid/sticky bits will be masked for all
590 non-directories.
591
592 * A new passive target unit "network-pre.target" has been
593 added which is useful for services that shall run before any
594 network is configured, for example firewall scripts.
595
4c0d13bd
LP
596 * The "floppy" group that previously owned the /dev/fd*
597 devices is no longer used. The "disk" group is now used
598 instead. Distributions should probably deprecate usage of
599 this group.
600
dc1d6c02
LP
601 Contributions from: Camilo Aguilar, Christian Hesse, Colin Ian
602 King, Cristian Rodríguez, Daniel Buch, Dave Reisner, David
603 Strauss, Denis Tikhomirov, John, Jonathan Liu, Kay Sievers,
604 Lennart Poettering, Mantas Mikulėnas, Mark Eichin, Ronny
605 Chevalier, Susant Sahani, Thomas Blume, Thomas Hindoe Paaboel
606 Andersen, Tom Gundersen, Umut Tezduyar Lindskog, Zbigniew
607 Jędrzejewski-Szmek
608
609 -- Berlin, 2014-06-11
610
6936cd89
LP
611CHANGES WITH 213:
612
613 * A new "systemd-timesyncd" daemon has been added for
69beda1f 614 synchronizing the system clock across the network. It
6936cd89 615 implements an SNTP client. In contrast to NTP
8d0e0ddd 616 implementations such as chrony or the NTP reference server,
6936cd89 617 this only implements a client side, and does not bother with
c9679c65
LP
618 the full NTP complexity, focusing only on querying time from
619 one remote server and synchronizing the local clock to
6936cd89 620 it. Unless you intend to serve NTP to networked clients or
8d0e0ddd 621 want to connect to local hardware clocks, this simple NTP
6936cd89
LP
622 client should be more than appropriate for most
623 installations. The daemon runs with minimal privileges, and
624 has been hooked up with networkd to only operate when
625 network connectivity is available. The daemon saves the
626 current clock to disk every time a new NTP sync has been
627 acquired, and uses this to possibly correct the system clock
69beda1f 628 early at bootup, in order to accommodate for systems that
6936cd89 629 lack an RTC such as the Raspberry Pi and embedded devices,
8d0e0ddd 630 and to make sure that time monotonically progresses on these
c9679c65 631 systems, even if it is not always correct. To make use of
8d0e0ddd 632 this daemon, a new system user and group "systemd-timesync"
c9679c65 633 needs to be created on installation of systemd.
6936cd89 634
69beda1f
KS
635 * The queue "seqnum" interface of libudev has been disabled, as
636 it was generally incompatible with device namespacing as
6936cd89
LP
637 sequence numbers of devices go "missing" if the devices are
638 part of a different namespace.
639
640 * "systemctl list-timers" and "systemctl list-sockets" gained
641 a --recursive switch for showing units of these types also
499b604b
ZJS
642 for all local containers, similar in style to the already
643 supported --recursive switch for "systemctl list-units".
6936cd89
LP
644
645 * A new RebootArgument= setting has been added for service
646 units, which may be used to specify a kernel reboot argument
499b604b 647 to use when triggering reboots with StartLimitAction=.
6936cd89
LP
648
649 * A new FailureAction= setting has been added for service
650 units which may be used to specify an operation to trigger
499b604b 651 when a service fails. This works similarly to
8d0e0ddd 652 StartLimitAction=, but unlike it, controls what is done
6936cd89
LP
653 immediately rather than only after several attempts to
654 restart the service in question.
655
656 * hostnamed got updated to also expose the kernel name,
499b604b
ZJS
657 release, and version on the bus. This is useful for
658 executing commands like hostnamectl with the -H switch.
659 systemd-analyze makes use of this to properly display
660 details when running non-locally.
6936cd89
LP
661
662 * The bootchart tool can now show cgroup information in the
663 graphs it generates.
664
665 * The CFS CPU quota cgroup attribute is now exposed for
666 services. The new CPUQuota= switch has been added for this
667 which takes a percentage value. Setting this will have the
668 result that a service may never get more CPU time than the
669 specified percentage, even if the machine is otherwise idle.
670
671 * systemd-networkd learned IPIP and SIT tunnel support.
672
673 * LSB init scripts exposing a dependency on $network will now
674 get a dependency on network-online.target rather than simply
675 network.target. This should bring LSB handling closer to
676 what it was on SysV systems.
677
678 * A new fsck.repair= kernel option has been added to control
679 how fsck shall deal with unclean file systems at boot.
680
681 * The (.ini) configuration file parser will now silently
682 ignore sections whose name begins with "X-". This may be
683 used to maintain application-specific extension sections in unit
684 files.
685
686 * machined gained a new API to query the IP addresses of
687 registered containers. "machinectl status" has been updated
688 to show these addresses in its output.
689
690 * A new call sd_uid_get_display() has been added to the
691 sd-login APIs for querying the "primary" session of a
692 user. The "primary" session of the user is elected from the
693 user's sessions and generally a graphical session is
694 preferred over a text one.
695
696 * A minimal systemd-resolved daemon has been added. It
697 currently simply acts as a companion to systemd-networkd and
698 manages resolv.conf based on per-interface DNS
699 configuration, possibly supplied via DHCP. In the long run
700 we hope to extend this into a local DNSSEC enabled DNS and
701 mDNS cache.
702
68dd0956
TG
703 * The systemd-networkd-wait-online tool is now enabled by
704 default. It will delay network-online.target until a network
705 connection has been configured. The tool primarily integrates
706 with networkd, but will also make a best effort to make sense
707 of network configuration performed in some other way.
708
6936cd89 709 * Two new service options StartupCPUShares= and
499b604b 710 StartupBlockIOWeight= have been added that work similarly to
6936cd89 711 CPUShares= and BlockIOWeight= however only apply during
69beda1f 712 system startup. This is useful to prioritize certain services
6936cd89
LP
713 differently during bootup than during normal runtime.
714
8e7acf67
LP
715 * hostnamed has been changed to prefer the statically
716 configured hostname in /etc/hostname (unless set to
717 'localhost' or empty) over any dynamic one supplied by
8d0e0ddd 718 dhcp. With this change, the rules for picking the hostname
8e7acf67
LP
719 match more closely the rules of other configuration settings
720 where the local administrator's configuration in /etc always
721 overrides any other settings.
722
723 Contributions fron: Ali H. Caliskan, Alison Chaiken, Bas van
6936cd89
LP
724 den Berg, Brandon Philips, Cristian Rodríguez, Daniel Buch,
725 Dan Kilman, Dave Reisner, David Härdeman, David Herrmann,
726 David Strauss, Dimitris Spingos, Djalal Harouni, Eelco
727 Dolstra, Evan Nemerson, Florian Albrechtskirchinger, Greg
728 Kroah-Hartman, Harald Hoyer, Holger Hans Peter Freyther, Jan
729 Engelhardt, Jani Nikula, Jason St. John, Jeffrey Clark,
730 Jonathan Boulle, Kay Sievers, Lennart Poettering, Lukas
731 Nykryn, Lukasz Skalski, Łukasz Stelmach, Mantas Mikulėnas,
8e7acf67
LP
732 Marcel Holtmann, Martin Pitt, Matthew Monaco, Michael
733 Marineau, Michael Olbrich, Michal Sekletar, Mike Gilbert, Nis
734 Martensen, Patrik Flykt, Philip Lorenz, poma, Ray Strode,
735 Reyad Attiyat, Robert Milasan, Scott Thrasher, Stef Walter,
736 Steven Siloti, Susant Sahani, Tanu Kaskinen, Thomas Bächler,
737 Thomas Hindoe Paaboel Andersen, Tom Gundersen, Umut Tezduyar
738 Lindskog, WaLyong Cho, Will Woods, Zbigniew
6936cd89
LP
739 Jędrzejewski-Szmek
740
8e7acf67 741 -- Beijing, 2014-05-28
6936cd89 742
51c61cda
LP
743CHANGES WITH 212:
744
745 * When restoring the screen brightness at boot, stay away from
746 the darkest setting or from the lowest 5% of the available
747 range, depending on which is the larger value of both. This
748 should effectively protect the user from rebooting into a
749 black screen, should the brightness have been set to minimum
750 by accident.
751
752 * sd-login gained a new sd_machine_get_class() call to
753 determine the class ("vm" or "container") of a machine
754 registered with machined.
755
756 * sd-login gained new calls
757 sd_peer_get_{session,owner_uid,unit,user_unit,slice,machine_name}(),
758 to query the identity of the peer of a local AF_UNIX
499b604b 759 connection. They operate similarly to their sd_pid_get_xyz()
51c61cda
LP
760 counterparts.
761
762 * PID 1 will now maintain a system-wide system state engine
763 with the states "starting", "running", "degraded",
764 "maintenance", "stopping". These states are bound to system
765 startup, normal runtime, runtime with at least one failed
766 service, rescue/emergency mode and system shutdown. This
767 state is shown in the "systemctl status" output when no unit
768 name is passed. It is useful to determine system state, in
769 particularly when doing so for many systems or containers at
770 once.
771
772 * A new command "list-machines" has been added to "systemctl"
773 that lists all local OS containers and shows their system
774 state (see above), if systemd runs inside of them.
775
776 * systemctl gained a new "-r" switch to recursively enumerate
777 units on all local containers, when used with the
778 "list-unit" command (which is the default one that is
779 executed when no parameters are specified).
780
781 * The GPT automatic partition discovery logic will now honour
782 two GPT partition flags: one may be set on a partition to
783 cause it to be mounted read-only, and the other may be set
784 on a partition to ignore it during automatic discovery.
785
786 * Two new GPT type UUIDs have been added for automatic root
70a44afe 787 partition discovery, for 32-bit and 64-bit ARM. This is not
51c61cda
LP
788 particularly useful for discovering the root directory on
789 these architectures during bare-metal boots (since UEFI is
790 not common there), but still very useful to allow booting of
791 ARM disk images in nspawn with the -i option.
792
793 * MAC addresses of interfaces created with nspawn's
794 --network-interface= switch will now be generated from the
795 machine name, and thus be stable between multiple invocations
796 of the container.
797
798 * logind will now automatically remove all IPC objects owned
799 by a user if she or he fully logs out. This makes sure that
800 users who are logged out cannot continue to consume IPC
801 resources. This covers SysV memory, semaphores and message
802 queues as well as POSIX shared memory and message
b8bde116
JE
803 queues. Traditionally, SysV and POSIX IPC had no life-cycle
804 limits. With this functionality, that is corrected. This may
805 be turned off by using the RemoveIPC= switch of logind.conf.
51c61cda
LP
806
807 * The systemd-machine-id-setup and tmpfiles tools gained a
808 --root= switch to operate on a specific root directory,
809 instead of /.
810
811 * journald can now forward logged messages to the TTYs of all
812 logged in users ("wall"). This is the default for all
813 emergency messages now.
814
815 * A new tool systemd-journal-remote has been added to stream
816 journal log messages across the network.
817
818 * /sys/fs/cgroup/ is now mounted read-only after all cgroup
819 controller trees are mounted into it. Note that the
820 directories mounted beneath it are not read-only. This is a
821 security measure and is particularly useful because glibc
822 actually includes a search logic to pick any tmpfs it can
823 find to implement shm_open() if /dev/shm is not available
824 (which it might very well be in namespaced setups).
825
826 * machinectl gained a new "poweroff" command to cleanly power
827 down a local OS container.
828
829 * The PrivateDevices= unit file setting will now also drop the
830 CAP_MKNOD capability from the capability bound set, and
831 imply DevicePolicy=closed.
832
833 * PrivateDevices=, PrivateNetwork= and PrivateTmp= is now used
834 comprehensively on all long-running systemd services where
835 this is appropriate.
836
837 * systemd-udevd will now run in a disassociated mount
b8bde116 838 namespace. To mount directories from udev rules, make sure to
51c61cda
LP
839 pull in mount units via SYSTEMD_WANTS properties.
840
841 * The kdbus support gained support for uploading policy into
842 the kernel. sd-bus gained support for creating "monitoring"
843 connections that can eavesdrop into all bus communication
844 for debugging purposes.
845
846 * Timestamps may now be specified in seconds since the UNIX
847 epoch Jan 1st, 1970 by specifying "@" followed by the value
848 in seconds.
849
850 * Native tcpwrap support in systemd has been removed. tcpwrap
851 is old code, not really maintained anymore and has serious
852 shortcomings, and better options such as firewalls
853 exist. For setups that require tcpwrap usage, please
854 consider invoking your socket-activated service via tcpd,
855 like on traditional inetd.
856
857 * A new system.conf configuration option
858 DefaultTimerAccuracySec= has been added that controls the
859 default AccuracySec= setting of .timer units.
860
b8bde116 861 * Timer units gained a new WakeSystem= switch. If enabled,
51c61cda
LP
862 timers configured this way will cause the system to resume
863 from system suspend (if the system supports that, which most
864 do these days).
865
b8bde116 866 * Timer units gained a new Persistent= switch. If enabled,
51c61cda
LP
867 timers configured this way will save to disk when they have
868 been last triggered. This information is then used on next
869 reboot to possible execute overdue timer events, that
d28315e4
JE
870 could not take place because the system was powered off.
871 This enables simple anacron-like behaviour for timer units.
51c61cda
LP
872
873 * systemctl's "list-timers" will now also list the time a
874 timer unit was last triggered in addition to the next time
875 it will be triggered.
876
877 * systemd-networkd will now assign predictable IPv4LL
878 addresses to its local interfaces.
879
880 Contributions from: Brandon Philips, Daniel Buch, Daniel Mack,
881 Dave Reisner, David Herrmann, Gerd Hoffmann, Greg
882 Kroah-Hartman, Hendrik Brueckner, Jason St. John, Josh
883 Triplett, Kay Sievers, Lennart Poettering, Marc-Antoine
884 Perennou, Michael Marineau, Michael Olbrich, Miklos Vajna,
885 Patrik Flykt, poma, Sebastian Thorarensen, Thomas Bächler,
886 Thomas Hindoe Paaboel Andersen, Tomasz Torcz, Tom Gundersen,
887 Umut Tezduyar Lindskog, Wieland Hoffmann, Zbigniew
888 Jędrzejewski-Szmek
889
890 -- Berlin, 2014-03-25
891
699b6b34
LP
892CHANGES WITH 211:
893
894 * A new unit file setting RestrictAddressFamilies= has been
895 added to restrict which socket address families unit
896 processes gain access to. This takes address family names
897 like "AF_INET" or "AF_UNIX", and is useful to minimize the
898 attack surface of services via exotic protocol stacks. This
899 is built on seccomp system call filters.
900
901 * Two new unit file settings RuntimeDirectory= and
902 RuntimeDirectoryMode= have been added that may be used to
903 manage a per-daemon runtime directories below /run. This is
904 an alternative for setting up directory permissions with
905 tmpfiles snippets, and has the advantage that the runtime
906 directory's lifetime is bound to the daemon runtime and that
907 the daemon starts up with an empty directory each time. This
908 is particularly useful when writing services that drop
f1721625 909 privileges using the User= or Group= setting.
699b6b34
LP
910
911 * The DeviceAllow= unit setting now supports globbing for
912 matching against device group names.
913
914 * The systemd configuration file system.conf gained new
915 settings DefaultCPUAccounting=, DefaultBlockIOAccounting=,
916 DefaultMemoryAccounting= to globally turn on/off accounting
917 for specific resources (cgroups) for all units. These
22e7062d 918 settings may still be overridden individually in each unit
699b6b34
LP
919 though.
920
921 * systemd-gpt-auto-generator is now able to discover /srv and
922 root partitions in addition to /home and swap partitions. It
923 also supports LUKS-encrypted partitions now. With this in
b8bde116 924 place, automatic discovery of partitions to mount following
699b6b34
LP
925 the Discoverable Partitions Specification
926 (http://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec)
927 is now a lot more complete. This allows booting without
928 /etc/fstab and without root= on the kernel command line on
b8bde116 929 systems prepared appropriately.
699b6b34
LP
930
931 * systemd-nspawn gained a new --image= switch which allows
932 booting up disk images and Linux installations on any block
933 device that follow the Discoverable Partitions Specification
934 (see above). This means that installations made with
935 appropriately updated installers may now be started and
936 deployed using container managers, completely
937 unmodified. (We hope that libvirt-lxc will add support for
938 this feature soon, too.)
939
940 * systemd-nspawn gained a new --network-macvlan= setting to
941 set up a private macvlan interface for the
499b604b 942 container. Similarly, systemd-networkd gained a new
699b6b34
LP
943 Kind=macvlan setting in .netdev files.
944
945 * systemd-networkd now supports configuring local addresses
946 using IPv4LL.
947
948 * A new tool systemd-network-wait-online has been added to
949 synchronously wait for network connectivity using
950 systemd-networkd.
951
952 * The sd-bus.h bus API gained a new sd_bus_track object for
953 tracking the life-cycle of bus peers. Note that sd-bus.h is
954 still not a public API though (unless you specify
955 --enable-kdbus on the configure command line, which however
956 voids your warranty and you get no API stability guarantee).
957
958 * The $XDG_RUNTIME_DIR runtime directories for each user are
959 now individual tmpfs instances, which has the benefit of
960 introducing separate pools for each user, with individual
4ef6e535 961 size limits, and thus making sure that unprivileged clients
699b6b34
LP
962 can no longer negatively impact the system or other users by
963 filling up their $XDG_RUNTIME_DIR. A new logind.conf setting
964 RuntimeDirectorySize= has been introduced that allows
965 controlling the default size limit for all users. It
966 defaults to 10% of the available physical memory. This is no
967 replacement for quotas on tmpfs though (which the kernel
968 still does not support), as /dev/shm and /tmp are still
4ef6e535 969 shared resources used by both the system and unprivileged
699b6b34
LP
970 users.
971
972 * logind will now automatically turn off automatic suspending
973 on laptop lid close when more than one display is
974 connected. This was previously expected to be implemented
975 individually in desktop environments (such as GNOME),
976 however has been added to logind now, in order to fix a
977 boot-time race where a desktop environment might not have
978 been started yet and thus not been able to take an inhibitor
979 lock at the time where logind already suspends the system
980 due to a closed lid.
981
982 * logind will now wait at least 30s after each system
983 suspend/resume cycle, and 3min after system boot before
984 suspending the system due to a closed laptop lid. This
985 should give USB docking stations and similar enough time to
4ef6e535 986 be probed and configured after system resume and boot in
699b6b34
LP
987 order to then act as suspend blocker.
988
989 * systemd-run gained a new --property= setting which allows
990 initialization of resource control properties (and others)
991 for the created scope or service unit. Example: "systemd-run
992 --property=BlockIOWeight=10 updatedb" may be used to run
993 updatedb at a low block IO scheduling weight.
994
995 * systemd-run's --uid=, --gid=, --setenv=, --setenv= switches
996 now also work in --scope mode.
997
998 * When systemd is compiled with kdbus support, basic support
999 for enforced policies is now in place. (Note that enabling
1000 kdbus still voids your warranty and no API compatibility
1001 promises are made.)
1002
1003 Contributions from: Andrey Borzenkov, Ansgar Burchardt, Armin
1004 K., Daniel Mack, Dave Reisner, David Herrmann, Djalal Harouni,
1005 Harald Hoyer, Henrik Grindal Bakken, Jasper St. Pierre, Kay
1006 Sievers, Kieran Clancy, Lennart Poettering, Lukas Nykryn,
1007 Mantas Mikulėnas, Marcel Holtmann, Mark Oteiza, Martin Pitt,
1008 Mike Gilbert, Peter Rajnoha, poma, Samuli Suominen, Stef
1009 Walter, Susant Sahani, Tero Roponen, Thomas Andersen, Thomas
1010 Bächler, Thomas Hindoe Paaboel Andersen, Tomasz Torcz, Tom
1011 Gundersen, Umut Tezduyar Lindskog, Uoti Urpala, Zachary Cook,
1012 Zbigniew Jędrzejewski-Szmek
1013
13b28d82 1014 -- Berlin, 2014-03-12
699b6b34 1015
43c71255
LP
1016CHANGES WITH 210:
1017
1018 * systemd will now relabel /dev after loading the SMACK policy
1019 according to SMACK rules.
1020
67dd87c5 1021 * A new unit file option AppArmorProfile= has been added to
43c71255
LP
1022 set the AppArmor profile for the processes of a unit.
1023
1024 * A new condition check ConditionArchitecture= has been added
1025 to conditionalize units based on the system architecture, as
1026 reported by uname()'s "machine" field.
1027
1028 * systemd-networkd now supports matching on the system
1029 virtualization, architecture, kernel command line, host name
1030 and machine ID.
1031
ed28905e 1032 * logind is now a lot more aggressive when suspending the
43c71255 1033 machine due to a closed laptop lid. Instead of acting only
b8bde116 1034 on the lid close action, it will continuously watch the lid
43c71255
LP
1035 status and act on it. This is useful for laptops where the
1036 power button is on the outside of the chassis so that it can
ed28905e 1037 be reached without opening the lid (such as the Lenovo
b8bde116 1038 Yoga). On those machines, logind will now immediately
ed28905e 1039 re-suspend the machine if the power button has been
43c71255
LP
1040 accidentally pressed while the laptop was suspended and in a
1041 backpack or similar.
1042
1043 * logind will now watch SW_DOCK switches and inhibit reaction
1044 to the lid switch if it is pressed. This means that logind
d27893ef 1045 will not suspend the machine anymore if the lid is closed
949138cc 1046 and the system is docked, if the laptop supports SW_DOCK
43c71255
LP
1047 notifications via the input layer. Note that ACPI docking
1048 stations do not generate this currently. Also note that this
1049 logic is usually not fully sufficient and Desktop
1050 Environments should take a lid switch inhibitor lock when an
1051 external display is connected, as systemd will not watch
1052 this on its own.
1053
1054 * nspawn will now make use of the devices cgroup controller by
1055 default, and only permit creation of and access to the usual
1056 API device nodes like /dev/null or /dev/random, as well as
1057 access to (but not creation of) the pty devices.
1058
1059 * We will now ship a default .network file for
1060 systemd-networkd that automatically configures DHCP for
1061 network interfaces created by nspawn's --network-veth or
1062 --network-bridge= switches.
1063
1064 * systemd will now understand the usual M, K, G, T suffixes
1065 according to SI conventions (i.e. to the base 1000) when
1066 referring to throughput and hardware metrics. It will stay
1067 with IEC conventions (i.e. to the base 1024) for software
1068 metrics, according to what is customary according to
1069 Wikipedia. We explicitly document which base applies for
1070 each configuration option.
1071
1072 * The DeviceAllow= setting in unit files now supports a syntax
ed28905e 1073 to whitelist an entire group of devices node majors at once,
43c71255 1074 based on the /proc/devices listing. For example, with the
b8bde116 1075 string "char-pts", it is now possible to whitelist all
43c71255
LP
1076 current and future pseudo-TTYs at once.
1077
1078 * sd-event learned a new "post" event source. Event sources of
1079 this type are triggered by the dispatching of any event
1080 source of a type that is not "post". This is useful for
1081 implementing clean-up and check event sources that are
1082 triggered by other work being done in the program.
1083
1084 * systemd-networkd is no longer statically enabled, but uses
1085 the usual [Install] sections so that it can be
1086 enabled/disabled using systemctl. It still is enabled by
1087 default however.
1088
b8bde116 1089 * When creating a veth interface pair with systemd-nspawn, the
43c71255
LP
1090 host side will now be prefixed with "vb-" if
1091 --network-bridge= is used, and with "ve-" if --network-veth
b8bde116 1092 is used. This way, it is easy to distinguish these cases on
43c71255
LP
1093 the host, for example to apply different configuration to
1094 them with systemd-networkd.
1095
d27893ef
LP
1096 * The compatibility libraries for libsystemd-journal.so,
1097 libsystem-id128.so, libsystemd-login.so and
1098 libsystemd-daemon.so do not make use of IFUNC
b8bde116 1099 anymore. Instead, we now build libsystemd.so multiple times
d27893ef
LP
1100 under these alternative names. This means that the footprint
1101 is drastically increased, but given that these are
b8bde116 1102 transitional compatibility libraries, this should not matter
d27893ef
LP
1103 much. This change has been made necessary to support the ARM
1104 platform for these compatibility libraries, as the ARM
d28315e4 1105 toolchain is not really at the same level as the toolchain
ed28905e 1106 for other architectures like x86 and does not support
d27893ef
LP
1107 IFUNC. Please make sure to use --enable-compat-libs only
1108 during a transitional period!
1109
13b28d82 1110 Contributions from: Andreas Fuchs, Armin K., Colin Walters,
43c71255
LP
1111 Daniel Mack, Dave Reisner, David Herrmann, Djalal Harouni,
1112 Holger Schurig, Jason A. Donenfeld, Jason St. John, Jasper
1113 St. Pierre, Kay Sievers, Lennart Poettering, Łukasz Stelmach,
1114 Marcel Holtmann, Michael Scherer, Michal Sekletar, Mike
1115 Gilbert, Samuli Suominen, Thomas Bächler, Thomas Hindoe
1116 Paaboel Andersen, Tom Gundersen, Umut Tezduyar Lindskog,
1117 Zbigniew Jędrzejewski-Szmek
1118
1119 -- Berlin, 2014-02-24
1120
e49b5aad
LP
1121CHANGES WITH 209:
1122
1123 * A new component "systemd-networkd" has been added that can
1124 be used to configure local network interfaces statically or
8b7d0494
JSJ
1125 via DHCP. It is capable of bringing up bridges, VLANs, and
1126 bonding. Currently, no hook-ups for interactive network
4670e9d5 1127 configuration are provided. Use this for your initrd,
8b7d0494
JSJ
1128 container, embedded, or server setup if you need a simple,
1129 yet powerful, network configuration solution. This
4670e9d5 1130 configuration subsystem is quite nifty, as it allows wildcard
1e190502 1131 hotplug matching in interfaces. For example, with a single
4670e9d5 1132 configuration snippet, you can configure that all Ethernet
1e190502
ZJS
1133 interfaces showing up are automatically added to a bridge,
1134 or similar. It supports link-sensing and more.
e49b5aad
LP
1135
1136 * A new tool "systemd-socket-proxyd" has been added which can
4c2413bf 1137 act as a bidirectional proxy for TCP sockets. This is
e49b5aad
LP
1138 useful for adding socket activation support to services that
1139 do not actually support socket activation, including virtual
4c2413bf 1140 machines and the like.
e49b5aad
LP
1141
1142 * Add a new tool to save/restore rfkill state on
1143 shutdown/boot.
1144
8b7d0494
JSJ
1145 * Save/restore state of keyboard backlights in addition to
1146 display backlights on shutdown/boot.
e49b5aad
LP
1147
1148 * udev learned a new SECLABEL{} construct to label device
1149 nodes with a specific security label when they appear. For
4c2413bf 1150 now, only SECLABEL{selinux} is supported, but the syntax is
e49b5aad
LP
1151 prepared for additional security frameworks.
1152
1153 * udev gained a new scheme to configure link-level attributes
1154 from files in /etc/systemd/network/*.link. These files can
8b7d0494 1155 match against MAC address, device path, driver name and type,
4c2413bf 1156 and will apply attributes like the naming policy, link speed,
8b7d0494 1157 MTU, duplex settings, Wake-on-LAN settings, MAC address, MAC
e49b5aad
LP
1158 address assignment policy (randomized, ...).
1159
dfb08b05
ZJS
1160 * The configuration of network interface naming rules for
1161 "permanent interface names" has changed: a new NamePolicy=
1162 setting in the [Link] section of .link files determines the
1163 priority of possible naming schemes (onboard, slot, mac,
1164 path). The default value of this setting is determined by
1165 /usr/lib/net/links/99-default.link. Old
1166 80-net-name-slot.rules udev configuration file has been
1167 removed, so local configuration overriding this file should
1168 be adapated to override 99-default.link instead.
1169
e49b5aad 1170 * When the User= switch is used in a unit file, also
4c2413bf 1171 initialize $SHELL= based on the user database entry.
e49b5aad
LP
1172
1173 * systemd no longer depends on libdbus. All communication is
1174 now done with sd-bus, systemd's low-level bus library
1175 implementation.
1176
1177 * kdbus support has been added to PID 1 itself. When kdbus is
4c2413bf 1178 enabled, this causes PID 1 to set up the system bus and
e49b5aad
LP
1179 enable support for a new ".busname" unit type that
1180 encapsulates bus name activation on kdbus. It works a little
1181 bit like ".socket" units, except for bus names. A new
1182 generator has been added that converts classic dbus1 service
1183 activation files automatically into native systemd .busname
1184 and .service units.
1185
1186 * sd-bus: add a light-weight vtable implementation that allows
1187 defining objects on the bus with a simple static const
1188 vtable array of its methods, signals and properties.
1189
8b7d0494 1190 * systemd will not generate or install static dbus
e49b5aad 1191 introspection data anymore to /usr/share/dbus-1/interfaces,
1e190502 1192 as the precise format of these files is unclear, and
e49b5aad
LP
1193 nothing makes use of it.
1194
1195 * A proxy daemon is now provided to proxy clients connecting
1196 via classic D-Bus AF_UNIX sockets to kdbus, to provide full
1197 compatibility with classic D-Bus.
1198
1199 * A bus driver implementation has been added that supports the
1200 classic D-Bus bus driver calls on kdbus, also for
1201 compatibility purposes.
1202
1203 * A new API "sd-event.h" has been added that implements a
1204 minimal event loop API built around epoll. It provides a
1205 couple of features that direct epoll usage is lacking:
b9761003 1206 prioritization of events, scales to large numbers of timer
e49b5aad
LP
1207 events, per-event timer slack (accuracy), system-wide
1208 coalescing of timer events, exit handlers, watchdog
1209 supervision support using systemd's sd_notify() API, child
1210 process handling.
1211
1212 * A new API "sd-rntl.h" has been added that provides an API
1213 around the route netlink interface of the kernel, similar in
1214 style to "sd-bus.h".
1215
7e95eda5
PF
1216 * A new API "sd-dhcp-client.h" has been added that provides a
1217 small DHCPv4 client-side implementation. This is used by
e49b5aad
LP
1218 "systemd-networkd".
1219
4c2413bf 1220 * There is a new kernel command line option
8b7d0494
JSJ
1221 "systemd.restore_state=0|1". When set to "0", none of the
1222 systemd tools will restore saved runtime state to hardware
1223 devices. More specifically, the rfkill and backlight states
1224 are not restored.
e49b5aad
LP
1225
1226 * The FsckPassNo= compatibility option in mount/service units
1227 has been removed. The fstab generator will now add the
1228 necessary dependencies automatically, and does not require
1229 PID1's support for that anymore.
1230
8b7d0494 1231 * journalctl gained a new switch, --list-boots, that lists
e49b5aad
LP
1232 recent boots with their times and boot IDs.
1233
1234 * The various tools like systemctl, loginctl, timedatectl,
1235 busctl, systemd-run, ... have gained a new switch "-M" to
1236 connect to a specific, local OS container (as direct
1237 connection, without requiring SSH). This works on any
1238 container that is registered with machined, such as those
1239 created by libvirt-lxc or nspawn.
1240
1241 * systemd-run and systemd-analyze also gained support for "-H"
4c2413bf 1242 to connect to remote hosts via SSH. This is particularly
8b7d0494
JSJ
1243 useful for systemd-run because it enables queuing of jobs
1244 onto remote systems.
e49b5aad
LP
1245
1246 * machinectl gained a new command "login" to open a getty
1247 login in any local container. This works with any container
1248 that is registered with machined (such as those created by
8e420494 1249 libvirt-lxc or nspawn), and which runs systemd inside.
e49b5aad
LP
1250
1251 * machinectl gained a new "reboot" command that may be used to
1252 trigger a reboot on a specific container that is registered
1253 with machined. This works on any container that runs an init
1254 system of some kind.
1255
1256 * systemctl gained a new "list-timers" command to print a nice
1257 listing of installed timer units with the times they elapse
1258 next.
1259
1260 * Alternative reboot() parameters may now be specified on the
1261 "systemctl reboot" command line and are passed to the
1262 reboot() system call.
1263
1264 * systemctl gained a new --job-mode= switch to configure the
1265 mode to queue a job with. This is a more generic version of
8b7d0494 1266 --fail, --irreversible, and --ignore-dependencies, which are
e49b5aad
LP
1267 still available but not advertised anymore.
1268
e49b5aad
LP
1269 * /etc/systemd/system.conf gained new settings to configure
1270 various default timeouts of units, as well as the default
b9761003 1271 start limit interval and burst. These may still be overridden
e49b5aad
LP
1272 within each Unit.
1273
270f1624
LP
1274 * PID1 will now export on the bus profile data of the security
1275 policy upload process (such as the SELinux policy upload to
8e420494 1276 the kernel).
e49b5aad 1277
4670e9d5 1278 * journald: when forwarding logs to the console, include
1e190502
ZJS
1279 timestamps (following the setting in
1280 /sys/module/printk/parameters/time).
e49b5aad
LP
1281
1282 * OnCalendar= in timer units now understands the special
1283 strings "yearly" and "annually". (Both are equivalent)
1284
1285 * The accuracy of timer units is now configurable with the new
1286 AccuracySec= setting. It defaults to 1min.
1287
1288 * A new dependency type JoinsNamespaceOf= has been added that
1289 allows running two services within the same /tmp and network
1290 namespace, if PrivateNetwork= or PrivateTmp= are used.
1291
1292 * A new command "cat" has been added to systemctl. It outputs
1293 the original unit file of a unit, and concatenates the
1e190502
ZJS
1294 contents of additional "drop-in" unit file snippets, so that
1295 the full configuration is shown.
e49b5aad
LP
1296
1297 * systemctl now supports globbing on the various "list-xyz"
1298 commands, like "list-units" or "list-sockets", as well as on
1e190502
ZJS
1299 those commands which take multiple unit names.
1300
1301 * journalctl's --unit= switch gained support for globbing.
e49b5aad
LP
1302
1303 * All systemd daemons now make use of the watchdog logic so
1304 that systemd automatically notices when they hang.
1305
4c2413bf 1306 * If the $container_ttys environment variable is set,
e49b5aad
LP
1307 getty-generator will automatically spawn a getty for each
1308 listed tty. This is useful for container managers to request
1309 login gettys to be spawned on as many ttys as needed.
1310
1311 * %h, %s, %U specifier support is not available anymore when
1312 used in unit files for PID 1. This is because NSS calls are
1313 not safe from PID 1. They stay available for --user
1314 instances of systemd, and as special case for the root user.
1315
e49b5aad
LP
1316 * loginctl gained a new "--no-legend" switch to turn off output
1317 of the legend text.
1318
1319 * The "sd-login.h" API gained three new calls:
1320 sd_session_is_remote(), sd_session_get_remote_user(),
1321 sd_session_get_remote_host() to query information about
1322 remote sessions.
1323
8e420494
LP
1324 * The udev hardware database now also carries vendor/product
1325 information of SDIO devices.
e49b5aad
LP
1326
1327 * The "sd-daemon.h" API gained a new sd_watchdog_enabled() to
1328 determine whether watchdog notifications are requested by
1329 the system manager.
1330
1e190502 1331 * Socket-activated per-connection services now include a
e49b5aad
LP
1332 short description of the connection parameters in the
1333 description.
1334
4c2413bf 1335 * tmpfiles gained a new "--boot" option. When this is not used,
e49b5aad 1336 only lines where the command character is not suffixed with
4670e9d5 1337 "!" are executed. When this option is specified, those
1e190502
ZJS
1338 options are executed too. This partitions tmpfiles
1339 directives into those that can be safely executed at any
1340 time, and those which should be run only at boot (for
1341 example, a line that creates /run/nologin).
e49b5aad 1342
c0c5af00 1343 * A new API "sd-resolve.h" has been added which provides a simple
4c2413bf 1344 asynchronous wrapper around glibc NSS host name resolution
e49b5aad 1345 calls, such as getaddrinfo(). In contrast to glibc's
4c2413bf
JE
1346 getaddrinfo_a(), it does not use signals. In contrast to most
1347 other asynchronous name resolution libraries, this one does
1348 not reimplement DNS, but reuses NSS, so that alternate
e49b5aad 1349 host name resolution systems continue to work, such as mDNS,
8b7d0494 1350 LDAP, etc. This API is based on libasyncns, but it has been
e49b5aad
LP
1351 cleaned up for inclusion in systemd.
1352
6300b3ec
LP
1353 * The APIs "sd-journal.h", "sd-login.h", "sd-id128.h",
1354 "sd-daemon.h" are no longer found in individual libraries
1355 libsystemd-journal.so, libsystemd-login.so,
1356 libsystemd-id128.so, libsystemd-daemon.so. Instead, we have
8b7d0494
JSJ
1357 merged them into a single library, libsystemd.so, which
1358 provides all symbols. The reason for this is cyclic
e49b5aad 1359 dependencies, as these libraries tend to use each other's
d28315e4 1360 symbols. So far, we have managed to workaround that by linking
6300b3ec
LP
1361 a copy of a good part of our code into each of these
1362 libraries again and again, which, however, makes certain
1363 things hard to do, like sharing static variables. Also, it
1364 substantially increases footprint. With this change, there
1365 is only one library for the basic APIs systemd
1366 provides. Also, "sd-bus.h", "sd-memfd.h", "sd-event.h",
1367 "sd-rtnl.h", "sd-resolve.h", "sd-utf8.h" are found in this
1368 library as well, however are subject to the --enable-kdbus
1369 switch (see below). Note that "sd-dhcp-client.h" is not part
1370 of this library (this is because it only consumes, never
1371 provides, services of/to other APIs). To make the transition
8b7d0494 1372 easy from the separate libraries to the unified one, we
4c2413bf 1373 provide the --enable-compat-libs compile-time switch which
e49b5aad
LP
1374 will generate stub libraries that are compatible with the
1375 old ones but redirect all calls to the new one.
1376
8b7d0494 1377 * All of the kdbus logic and the new APIs "sd-bus.h",
e49b5aad 1378 "sd-memfd.h", "sd-event.h", "sd-rtnl.h", "sd-resolve.h",
8b7d0494
JSJ
1379 and "sd-utf8.h" are compile-time optional via the
1380 "--enable-kdbus" switch, and they are not compiled in by
1381 default. To make use of kdbus, you have to explicitly enable
4c2413bf 1382 the switch. Note however, that neither the kernel nor the
e49b5aad
LP
1383 userspace API for all of this is considered stable yet. We
1384 want to maintain the freedom to still change the APIs for
4c2413bf 1385 now. By specifying this build-time switch, you acknowledge
e49b5aad 1386 that you are aware of the instability of the current
ad42cf73
KS
1387 APIs.
1388
1389 * Also, note that while kdbus is pretty much complete,
e49b5aad 1390 it lacks one thing: proper policy support. This means you
8b7d0494 1391 can build a fully working system with all features; however,
4c2413bf
JE
1392 it will be highly insecure. Policy support will be added in
1393 one of the next releases, at the same time that we will
1394 declare the APIs stable.
e49b5aad 1395
8b7d0494 1396 * When the kernel command-line argument "kdbus" is specified,
ad42cf73 1397 systemd will automatically load the kdbus.ko kernel module. At
8b7d0494 1398 this stage of development, it is only useful for testing kdbus
ad42cf73 1399 and should not be used in production. Note: if "--enable-kdbus"
8b7d0494 1400 is specified, and the kdbus.ko kernel module is available, and
ad42cf73
KS
1401 "kdbus" is added to the kernel command line, the entire system
1402 runs with kdbus instead of dbus-daemon, with the above mentioned
1403 problem of missing the system policy enforcement. Also a future
1404 version of kdbus.ko or a newer systemd will not be compatible with
1405 each other, and will unlikely be able to boot the machine if only
1406 one of them is updated.
1407
e49b5aad 1408 * systemctl gained a new "import-environment" command which
4c2413bf 1409 uploads the caller's environment (or parts thereof) into the
e49b5aad
LP
1410 service manager so that it is inherited by services started
1411 by the manager. This is useful to upload variables like
1412 $DISPLAY into the user service manager.
1413
1414 * A new PrivateDevices= switch has been added to service units
1415 which allows running a service with a namespaced /dev
1416 directory that does not contain any device nodes for
4c2413bf 1417 physical devices. More specifically, it only includes devices
8b7d0494 1418 such as /dev/null, /dev/urandom, and /dev/zero which are API
e49b5aad
LP
1419 entry points.
1420
1421 * logind has been extended to support behaviour like VT
1422 switching on seats that do not support a VT. This makes
1423 multi-session available on seats that are not the first seat
1424 (seat0), and on systems where kernel support for VTs has
8b7d0494 1425 been disabled at compile-time.
e49b5aad
LP
1426
1427 * If a process holds a delay lock for system sleep or shutdown
1e190502 1428 and fails to release it in time, we will now log its
e49b5aad
LP
1429 identity. This makes it easier to identify processes that
1430 cause slow suspends or power-offs.
1431
1e190502
ZJS
1432 * When parsing /etc/crypttab, support for a new key-slot=
1433 option as supported by Debian is added. It allows indicating
1434 which LUKS slot to use on disk, speeding up key loading.
e49b5aad 1435
1e190502
ZJS
1436 * The sd_journald_sendv() API call has been checked and
1437 officially declared to be async-signal-safe so that it may
1438 be invoked from signal handlers for logging purposes.
e49b5aad
LP
1439
1440 * Boot-time status output is now enabled automatically after a
1441 short timeout if boot does not progress, in order to give
8e420494 1442 the user an indication what she or he is waiting for.
1e190502
ZJS
1443
1444 * The boot-time output has been improved to show how much time
1445 remains until jobs expire.
e49b5aad
LP
1446
1447 * The KillMode= switch in service units gained a new possible
8b7d0494 1448 value "mixed". If set, and the unit is shut down, then the
e49b5aad 1449 initial SIGTERM signal is sent only to the main daemon
8e420494 1450 process, while the following SIGKILL signal is sent to
e49b5aad
LP
1451 all remaining processes of the service.
1452
4c2413bf
JE
1453 * When a scope unit is registered, a new property "Controller"
1454 may be set. If set to a valid bus name, systemd will send a
e49b5aad
LP
1455 RequestStop() signal to this name when it would like to shut
1456 down the scope. This may be used to hook manager logic into
1457 the shutdown logic of scope units. Also, scope units may now
8b7d0494 1458 be put in a special "abandoned" state, in which case the
e49b5aad
LP
1459 manager process which created them takes no further
1460 responsibilities for it.
1461
1e190502 1462 * When reading unit files, systemd will now verify
e49b5aad
LP
1463 the access mode of these files, and warn about certain
1464 suspicious combinations. This has been added to make it
1465 easier to track down packaging bugs where unit files are
1466 marked executable or world-writable.
1467
1468 * systemd-nspawn gained a new "--setenv=" switch to set
8b7d0494 1469 container-wide environment variables. The similar option in
1e190502
ZJS
1470 systemd-activate was renamed from "--environment=" to
1471 "--setenv=" for consistency.
e49b5aad
LP
1472
1473 * systemd-nspawn has been updated to create a new kdbus domain
1474 for each container that is invoked, thus allowing each
b9761003 1475 container to have its own set of system and user buses,
8b7d0494 1476 independent of the host.
e49b5aad
LP
1477
1478 * systemd-nspawn gained a new --drop-capability= switch to run
1479 the container with less capabilities than the default. Both
b9761003 1480 --drop-capability= and --capability= now take the special
e49b5aad
LP
1481 string "all" for dropping or keeping all capabilities.
1482
1483 * systemd-nspawn gained new switches for executing containers
1484 with specific SELinux labels set.
1485
1486 * systemd-nspawn gained a new --quiet switch to not generate
1487 any additional output but the container's own console
1488 output.
1489
1490 * systemd-nspawn gained a new --share-system switch to run a
1491 container without PID namespacing enabled.
1492
1493 * systemd-nspawn gained a new --register= switch to control
1e190502 1494 whether the container is registered with systemd-machined or
8e420494 1495 not. This is useful for containers that do not run full
e49b5aad
LP
1496 OS images, but only specific apps.
1497
1498 * systemd-nspawn gained a new --keep-unit which may be used
8b7d0494 1499 when invoked as the only program from a service unit, and
e49b5aad 1500 results in registration of the unit service itself in
1e190502 1501 systemd-machined, instead of a newly opened scope unit.
e49b5aad
LP
1502
1503 * systemd-nspawn gained a new --network-interface= switch for
1504 moving arbitrary interfaces to the container. The new
4c2413bf 1505 --network-veth switch creates a virtual Ethernet connection
8b7d0494
JSJ
1506 between host and container. The new --network-bridge=
1507 switch then allows assigning the host side of this virtual
1508 Ethernet connection to a bridge device.
e49b5aad 1509
6afc95b7
LP
1510 * systemd-nspawn gained a new --personality= switch for
1511 setting the kernel personality for the container. This is
70a44afe 1512 useful when running a 32-bit container on a 64-bit host. A
b8bde116
JE
1513 similar option Personality= is now also available for service
1514 units to use.
6afc95b7 1515
e49b5aad
LP
1516 * logind will now also track a "Desktop" identifier for each
1517 session which encodes the desktop environment of it. This is
1518 useful for desktop environments that want to identify
1519 multiple running sessions of itself easily.
1520
1521 * A new SELinuxContext= setting for service units has been
1522 added that allows setting a specific SELinux execution
1523 context for a service.
1524
1525 * Most systemd client tools will now honour $SYSTEMD_LESS for
1526 settings of the "less" pager. By default, these tools will
8b7d0494
JSJ
1527 override $LESS to allow certain operations to work, such as
1528 jump-to-the-end. With $SYSTEMD_LESS, it is possible to
e49b5aad
LP
1529 influence this logic.
1530
1531 * systemd's "seccomp" hook-up has been changed to make use of
1532 the libseccomp library instead of using its own
1533 implementation. This has benefits for portability among
1534 other things.
1535
4c2413bf 1536 * For usage together with SystemCallFilter=, a new
8b7d0494 1537 SystemCallErrorNumber= setting has been introduced that
b8bde116
JE
1538 allows configuration of a system error number to be returned
1539 on filtered system calls, instead of immediately killing the
e49b5aad
LP
1540 process. Also, SystemCallArchitectures= has been added to
1541 limit access to system calls of a particular architecture
1542 (in order to turn off support for unused secondary
4c2413bf 1543 architectures). There is also a global
8b7d0494 1544 SystemCallArchitectures= setting in system.conf now to turn
e49b5aad
LP
1545 off support for non-native system calls system-wide.
1546
210054d7
KS
1547 * systemd requires a kernel with a working name_to_handle_at(),
1548 please see the kernel config requirements in the README file.
1549
e49b5aad
LP
1550 Contributions from: Adam Williamson, Alex Jia, Anatol Pomozov,
1551 Ansgar Burchardt, AppleBloom, Auke Kok, Bastien Nocera,
1552 Chengwei Yang, Christian Seiler, Colin Guthrie, Colin Walters,
1553 Cristian Rodríguez, Daniel Buch, Daniele Medri, Daniel J
1554 Walsh, Daniel Mack, Dan McGee, Dave Reisner, David Coppa,
1555 David Herrmann, David Strauss, Djalal Harouni, Dmitry Pisklov,
1556 Elia Pinto, Florian Weimer, George McCollister, Goffredo
1557 Baroncelli, Greg Kroah-Hartman, Hendrik Brueckner, Igor
1558 Zhbanov, Jan Engelhardt, Jan Janssen, Jason A. Donenfeld,
1559 Jason St. John, Jasper St. Pierre, Jóhann B. Guðmundsson, Jose
1560 Ignacio Naranjo, Karel Zak, Kay Sievers, Kristian Høgsberg,
1561 Lennart Poettering, Lubomir Rintel, Lukas Nykryn, Lukasz
1562 Skalski, Łukasz Stelmach, Luke Shumaker, Mantas Mikulėnas,
1563 Marc-Antoine Perennou, Marcel Holtmann, Marcos Felipe Rasia de
1564 Mello, Marko Myllynen, Martin Pitt, Matthew Monaco, Michael
1565 Marineau, Michael Scherer, Michał Górny, Michal Sekletar,
1566 Michele Curti, Oleksii Shevchuk, Olivier Brunel, Patrik Flykt,
1567 Pavel Holica, Raudi, Richard Marko, Ronny Chevalier, Sébastien
1568 Luttringer, Sergey Ptashnick, Shawn Landden, Simon Peeters,
1569 Stefan Beller, Susant Sahani, Sylvain Plantefeve, Sylvia Else,
1570 Tero Roponen, Thomas Bächler, Thomas Hindoe Paaboel Andersen,
1571 Tom Gundersen, Umut Tezduyar Lindskog, Unai Uribarri, Václav
1572 Pavlín, Vincent Batts, WaLyong Cho, William Giokas, Yang
1573 Zhiyong, Yin Kangkai, Yuxuan Shui, Zbigniew Jędrzejewski-Szmek
1574
6300b3ec 1575 -- Berlin, 2014-02-20
e49b5aad 1576
cd4010b3
LP
1577CHANGES WITH 208:
1578
1579 * logind has gained support for facilitating privileged input
1580 and drm device access for unprivileged clients. This work is
1581 useful to allow Wayland display servers (and similar
1582 programs, such as kmscon) to run under the user's ID and
1583 access input and drm devices which are normally
1584 protected. When this is used (and the kernel is new enough)
1585 logind will "mute" IO on the file descriptors passed to
1586 Wayland as long as it is in the background and "unmute" it
1587 if it returns into the foreground. This allows secure
1588 session switching without allowing background sessions to
1589 eavesdrop on input and display data. This also introduces
1590 session switching support if VT support is turned off in the
1591 kernel, and on seats that are not seat0.
1592
1593 * A new kernel command line option luks.options= is understood
1594 now which allows specifiying LUKS options for usage for LUKS
1595 encrypted partitions specified with luks.uuid=.
1596
1597 * tmpfiles.d(5) snippets may now use specifier expansion in
1598 path names. More specifically %m, %b, %H, %v, are now
1599 replaced by the local machine id, boot id, hostname, and
1600 kernel version number.
1601
1602 * A new tmpfiles.d(5) command "m" has been introduced which
1603 may be used to change the owner/group/access mode of a file
d28315e4 1604 or directory if it exists, but do nothing if it does not.
cd4010b3
LP
1605
1606 * This release removes high-level support for the
1607 MemorySoftLimit= cgroup setting. The underlying kernel
1608 cgroup attribute memory.soft_limit= is currently badly
1609 designed and likely to be removed from the kernel API in its
d28315e4 1610 current form, hence we should not expose it for now.
cd4010b3
LP
1611
1612 * The memory.use_hierarchy cgroup attribute is now enabled for
1613 all cgroups systemd creates in the memory cgroup
1614 hierarchy. This option is likely to be come the built-in
1615 default in the kernel anyway, and the non-hierarchial mode
1616 never made much sense in the intrinsically hierarchial
1617 cgroup system.
1618
1619 * A new field _SYSTEMD_SLICE= is logged along with all journal
1620 messages containing the slice a message was generated
1621 from. This is useful to allow easy per-customer filtering of
1622 logs among other things.
1623
1624 * systemd-journald will no longer adjust the group of journal
1625 files it creates to the "systemd-journal" group. Instead we
1626 rely on the journal directory to be owned by the
1627 "systemd-journal" group, and its setgid bit set, so that the
1628 kernel file system layer will automatically enforce that
1629 journal files inherit this group assignment. The reason for
1630 this change is that we cannot allow NSS look-ups from
1631 journald which would be necessary to resolve
1632 "systemd-journal" to a numeric GID, because this might
1633 create deadlocks if NSS involves synchronous queries to
1634 other daemons (such as nscd, or sssd) which in turn are
1635 logging clients of journald and might block on it, which
1636 would then dead lock. A tmpfiles.d(5) snippet included in
1637 systemd will make sure the setgid bit and group are
1638 properly set on the journal directory if it exists on every
1639 boot. However, we recommend adjusting it manually after
1640 upgrades too (or from RPM scriptlets), so that the change is
1641 not delayed until next reboot.
1642
1643 * Backlight and random seed files in /var/lib/ have moved into
1644 the /var/lib/systemd/ directory, in order to centralize all
1645 systemd generated files in one directory.
1646
1647 * Boot time performance measurements (as displayed by
1648 "systemd-analyze" for example) will now read ACPI 5.0 FPDT
1649 performance information if that's available to determine how
1650 much time BIOS and boot loader initialization required. With
1651 a sufficiently new BIOS you hence no longer need to boot
1652 with Gummiboot to get access to such information.
1653
1654 Contributions from: Andrey Borzenkov, Chen Jie, Colin Walters,
1655 Cristian Rodríguez, Dave Reisner, David Herrmann, David
1656 Mackey, David Strauss, Eelco Dolstra, Evan Callicoat, Gao
1657 feng, Harald Hoyer, Jimmie Tauriainen, Kay Sievers, Lennart
1658 Poettering, Lukas Nykryn, Mantas Mikulėnas, Martin Pitt,
1659 Michael Scherer, Michał Górny, Mike Gilbert, Patrick McCarty,
1660 Sebastian Ott, Tom Gundersen, Zbigniew Jędrzejewski-Szmek
1661
1662 -- Berlin, 2013-10-02
1663
4f0be680
LP
1664CHANGES WITH 207:
1665
1666 * The Restart= option for services now understands a new
f3a165b0 1667 on-watchdog setting, which will restart the service
4f0be680
LP
1668 automatically if the service stops sending out watchdog keep
1669 alive messages (as configured with WatchdogSec=).
1670
1671 * The getty generator (which is responsible for bringing up a
1672 getty on configured serial consoles) will no longer only
1673 start a getty on the primary kernel console but on all
1674 others, too. This makes the order in which console= is
1675 specified on the kernel command line less important.
1676
1677 * libsystemd-logind gained a new sd_session_get_vt() call to
1678 retrieve the VT number of a session.
1679
1680 * If the option "tries=0" is set for an entry of /etc/crypttab
1681 its passphrase is queried indefinitely instead of any
1682 maximum number of tries.
1683
1684 * If a service with a configure PID file terminates its PID
1685 file will now be removed automatically if it still exists
1686 afterwards. This should put an end to stale PID files.
1687
1688 * systemd-run will now also take relative binary path names
1689 for execution and no longer insists on absolute paths.
1690
1691 * InaccessibleDirectories= and ReadOnlyDirectories= now take
1692 paths that are optionally prefixed with "-" to indicate that
d28315e4 1693 it should not be considered a failure if they do not exist.
4f0be680 1694
f3a165b0
KS
1695 * journalctl -o (and similar commands) now understands a new
1696 output mode "short-precise", it is similar to "short" but
4f0be680
LP
1697 shows timestamps with usec accuracy.
1698
1699 * The option "discard" (as known from Debian) is now
1700 synonymous to "allow-discards" in /etc/crypttab. In fact,
387abf80 1701 "discard" is preferred now (since it is easier to remember
4f0be680
LP
1702 and type).
1703
f3a165b0 1704 * Some licensing clean-ups were made, so that more code is now
4f0be680
LP
1705 LGPL-2.1 licensed than before.
1706
1707 * A minimal tool to save/restore the display backlight
1708 brightness across reboots has been added. It will store the
f3a165b0 1709 backlight setting as late as possible at shutdown, and
4f0be680
LP
1710 restore it as early as possible during reboot.
1711
1712 * A logic to automatically discover and enable home and swap
1713 partitions on GPT disks has been added. With this in place
1714 /etc/fstab becomes optional for many setups as systemd can
1715 discover certain partitions located on the root disk
1716 automatically. Home partitions are recognized under their
1717 GPT type ID 933ac7e12eb44f13b8440e14e2aef915. Swap
1718 partitions are recognized under their GPT type ID
1719 0657fd6da4ab43c484e50933c84b4f4f.
1720
1721 * systemd will no longer pass any environment from the kernel
1722 or initrd to system services. If you want to set an
1723 environment for all services, do so via the kernel command
1724 line systemd.setenv= assignment.
1725
387abf80
LP
1726 * The systemd-sysctl tool no longer natively reads the file
1727 /etc/sysctl.conf. If desired, the file should be symlinked
1728 from /etc/sysctl.d/99-sysctl.conf. Apart from providing
1729 legacy support by a symlink rather than built-in code, it
1730 also makes the otherwise hidden order of application of the
1731 different files visible. (Note that this partly reverts to a
1732 pre-198 application order of sysctl knobs!)
04bf3c1a 1733
4f0be680
LP
1734 * The "systemctl set-log-level" and "systemctl dump" commands
1735 have been moved to systemd-analyze.
1736
1737 * systemd-run learned the new --remain-after-exit switch,
1738 which causes the scope unit not to be cleaned up
1739 automatically after the process terminated.
1740
1741 * tmpfiles learned a new --exclude-prefix= switch to exclude
1742 certain paths from operation.
1743
1744 * journald will now automatically flush all messages to disk
1745 as soon as a message of the log priorities CRIT, ALERT or
1746 EMERG is received.
1747
1748 Contributions from: Andrew Cook, Brandon Philips, Christian
1749 Hesse, Christoph Junghans, Colin Walters, Daniel Schaal,
1750 Daniel Wallace, Dave Reisner, David Herrmann, Gao feng, George
1751 McCollister, Giovanni Campagna, Hannes Reinecke, Harald Hoyer,
1752 Herczeg Zsolt, Holger Hans Peter Freyther, Jan Engelhardt,
1753 Jesper Larsen, Kay Sievers, Khem Raj, Lennart Poettering,
1754 Lukas Nykryn, Maciej Wereski, Mantas Mikulėnas, Marcel
1755 Holtmann, Martin Pitt, Michael Biebl, Michael Marineau,
1756 Michael Scherer, Michael Stapelberg, Michal Sekletar, Michał
1757 Górny, Olivier Brunel, Ondrej Balaz, Ronny Chevalier, Shawn
1758 Landden, Steven Hiscocks, Thomas Bächler, Thomas Hindoe
1759 Paaboel Andersen, Tom Gundersen, Umut Tezduyar, WANG Chao,
1760 William Giokas, Zbigniew Jędrzejewski-Szmek
1761
1762 -- Berlin, 2013-09-13
1763
408f281b
LP
1764CHANGES WITH 206:
1765
1766 * The documentation has been updated to cover the various new
1767 concepts introduced with 205.
1768
1769 * Unit files now understand the new %v specifier which
1770 resolves to the kernel version string as returned by "uname
1771 -r".
1772
1773 * systemctl now supports filtering the unit list output by
1774 load state, active state and sub state, using the new
33b521be 1775 --state= parameter.
408f281b
LP
1776
1777 * "systemctl status" will now show the results of the
1778 condition checks (like ConditionPathExists= and similar) of
1779 the last start attempts of the unit. They are also logged to
1780 the journal.
1781
1782 * "journalctl -b" may now be used to look for boot output of a
1783 specific boot. Try "journalctl -b -1" for the previous boot,
1784 but the syntax is substantially more powerful.
1785
1786 * "journalctl --show-cursor" has been added which prints the
1787 cursor string the last shown log line. This may then be used
1788 with the new "journalctl --after-cursor=" switch to continue
1789 browsing logs from that point on.
1790
1791 * "journalctl --force" may now be used to force regeneration
1792 of an FSS key.
1793
251cc819
LP
1794 * Creation of "dead" device nodes has been moved from udev
1795 into kmod and tmpfiles. Previously, udev would read the kmod
1796 databases to pre-generate dead device nodes based on meta
1797 information contained in kernel modules, so that these would
1798 be auto-loaded on access rather then at boot. As this
d28315e4 1799 does not really have much to do with the exposing actual
251cc819
LP
1800 kernel devices to userspace this has always been slightly
1801 alien in the udev codebase. Following the new scheme kmod
1802 will now generate a runtime snippet for tmpfiles from the
1803 module meta information and it now is tmpfiles' job to the
1804 create the nodes. This also allows overriding access and
1805 other parameters for the nodes using the usual tmpfiles
1806 facilities. As side effect this allows us to remove the
1807 CAP_SYS_MKNOD capability bit from udevd entirely.
1808
1809 * logind's device ACLs may now be applied to these "dead"
1810 devices nodes too, thus finally allowing managed access to
1811 devices such as /dev/snd/sequencer whithout loading the
1812 backing module right-away.
408f281b
LP
1813
1814 * A new RPM macro has been added that may be used to apply
1815 tmpfiles configuration during package installation.
1816
1817 * systemd-detect-virt and ConditionVirtualization= now can
1818 detect User-Mode-Linux machines (UML).
1819
251cc819
LP
1820 * journald will now implicitly log the effective capabilities
1821 set of processes in the message metadata.
408f281b
LP
1822
1823 * systemd-cryptsetup has gained support for TrueCrypt volumes.
1824
1825 * The initrd interface has been simplified (more specifically,
1826 support for passing performance data via environment
1827 variables and fsck results via files in /run has been
1828 removed). These features were non-essential, and are
1829 nowadays available in a much nicer way by having systemd in
1830 the initrd serialize its state and have the hosts systemd
1831 deserialize it again.
1832
28f5c779
KS
1833 * The udev "keymap" data files and tools to apply keyboard
1834 specific mappings of scan to key codes, and force-release
1835 scan code lists have been entirely replaced by a udev
1836 "keyboard" builtin and a hwdb data file.
408f281b 1837
251cc819
LP
1838 * systemd will now honour the kernel's "quiet" command line
1839 argument also during late shutdown, resulting in a
1840 completely silent shutdown when used.
1841
1842 * There's now an option to control the SO_REUSEPORT socket
1843 option in .socket units.
1844
1845 * Instance units will now automatically get a per-template
1846 subslice of system.slice unless something else is explicitly
1847 configured. For example, instances of sshd@.service will now
1848 implicitly be placed in system-sshd.slice rather than
1849 system.slice as before.
1850
1851 * Test coverage support may now be enabled at build time.
1852
1853 Contributions from: Dave Reisner, Frederic Crozat, Harald
1854 Hoyer, Holger Hans Peter Freyther, Jan Engelhardt, Jan
1855 Janssen, Jason St. John, Jesper Larsen, Kay Sievers, Lennart
1856 Poettering, Lukas Nykryn, Maciej Wereski, Martin Pitt, Michael
1857 Olbrich, Ramkumar Ramachandra, Ross Lagerwall, Shawn Landden,
1858 Thomas H.P. Andersen, Tom Gundersen, Tomasz Torcz, William
1859 Giokas, Zbigniew Jędrzejewski-Szmek
1860
4f0be680
LP
1861 -- Berlin, 2013-07-23
1862
00aa832b
LP
1863CHANGES WITH 205:
1864
1865 * Two new unit types have been introduced:
1866
1867 Scope units are very similar to service units, however, are
1868 created out of pre-existing processes -- instead of PID 1
1869 forking off the processes. By using scope units it is
1870 possible for system services and applications to group their
1871 own child processes (worker processes) in a powerful way
1872 which then maybe used to organize them, or kill them
1873 together, or apply resource limits on them.
1874
1875 Slice units may be used to partition system resources in an
1876 hierarchial fashion and then assign other units to them. By
1877 default there are now three slices: system.slice (for all
1878 system services), user.slice (for all user sessions),
1879 machine.slice (for VMs and containers).
1880
1881 Slices and scopes have been introduced primarily in
1882 context of the work to move cgroup handling to a
1883 single-writer scheme, where only PID 1
1884 creates/removes/manages cgroups.
1885
1886 * There's a new concept of "transient" units. In contrast to
1887 normal units these units are created via an API at runtime,
1888 not from configuration from disk. More specifically this
1889 means it is now possible to run arbitrary programs as
1890 independent services, with all execution parameters passed
1891 in via bus APIs rather than read from disk. Transient units
1892 make systemd substantially more dynamic then it ever was,
1893 and useful as a general batch manager.
1894
1895 * logind has been updated to make use of scope and slice units
1896 for managing user sessions. As a user logs in he will get
1897 his own private slice unit, to which all sessions are added
1898 as scope units. We also added support for automatically
1899 adding an instance of user@.service for the user into the
1900 slice. Effectively logind will no longer create cgroup
1901 hierarchies on its own now, it will defer entirely to PID 1
1902 for this by means of scope, service and slice units. Since
1903 user sessions this way become entities managed by PID 1
1904 the output of "systemctl" is now a lot more comprehensive.
1905
1906 * A new mini-daemon "systemd-machined" has been added which
1907 may be used by virtualization managers to register local
1908 VMs/containers. nspawn has been updated accordingly, and
1909 libvirt will be updated shortly. machined will collect a bit
1910 of meta information about the VMs/containers, and assign
1911 them their own scope unit (see above). The collected
1912 meta-data is then made available via the "machinectl" tool,
1913 and exposed in "ps" and similar tools. machined/machinectl
1914 is compile-time optional.
1915
1916 * As discussed earlier, the low-level cgroup configuration
1917 options ControlGroup=, ControlGroupModify=,
1918 ControlGroupPersistent=, ControlGroupAttribute= have been
1919 removed. Please use high-level attribute settings instead as
1920 well as slice units.
1921
1922 * A new bus call SetUnitProperties() has been added to alter
1923 various runtime parameters of a unit. This is primarily
1924 useful to alter cgroup parameters dynamically in a nice way,
1925 but will be extended later on to make more properties
1926 modifiable at runtime. systemctl gained a new set-properties
1927 command that wraps this call.
1928
1929 * A new tool "systemd-run" has been added which can be used to
1930 run arbitrary command lines as transient services or scopes,
1931 while configuring a number of settings via the command
1932 line. This tool is currently very basic, however already
1933 very useful. We plan to extend this tool to even allow
1934 queuing of execution jobs with time triggers from the
1935 command line, similar in fashion to "at".
1936
1937 * nspawn will now inform the user explicitly that kernels with
1938 audit enabled break containers, and suggest the user to turn
1939 off audit.
1940
1941 * Support for detecting the IMA and AppArmor security
1942 frameworks with ConditionSecurity= has been added.
1943
1944 * journalctl gained a new "-k" switch for showing only kernel
1fda0ab5
ZJS
1945 messages, mimicking dmesg output; in addition to "--user"
1946 and "--system" switches for showing only user's own logs
1947 and system logs.
00aa832b
LP
1948
1949 * systemd-delta can now show information about drop-in
1950 snippets extending unit files.
1951
1952 * libsystemd-bus has been substantially updated but is still
1953 not available as public API.
1954
1955 * systemd will now look for the "debug" argument on the kernel
499b604b 1956 command line and enable debug logging, similar to what
00aa832b
LP
1957 "systemd.log_level=debug" already did before.
1958
1959 * "systemctl set-default", "systemctl get-default" has been
1960 added to configure the default.target symlink, which
1961 controls what to boot into by default.
1962
1fda0ab5
ZJS
1963 * "systemctl set-log-level" has been added as a convenient
1964 way to raise and lower systemd logging threshold.
1965
00aa832b
LP
1966 * "systemd-analyze plot" will now show the time the various
1967 generators needed for execution, as well as information
1968 about the unit file loading.
1969
00aa832b
LP
1970 * libsystemd-journal gained a new sd_journal_open_files() call
1971 for opening specific journal files. journactl also gained a
1972 new switch to expose this new functionality. Previously we
1973 only supported opening all files from a directory, or all
1974 files from the system, as opening individual files only is
1975 racy due to journal file rotation.
1976
1977 * systemd gained the new DefaultEnvironment= setting in
1978 /etc/systemd/system.conf to set environment variables for
1979 all services.
1980
1981 * If a privileged process logs a journal message with the
1982 OBJECT_PID= field set, then journald will automatically
1983 augment this with additional OBJECT_UID=, OBJECT_GID=,
1984 OBJECT_COMM=, OBJECT_EXE=, ... fields. This is useful if
1985 system services want to log events about specific client
1986 processes. journactl/systemctl has been updated to make use
1987 of this information if all log messages regarding a specific
1988 unit is requested.
1989
1990 Contributions from: Auke Kok, Chengwei Yang, Colin Walters,
1991 Cristian Rodríguez, Daniel Albers, Daniel Wallace, Dave
1992 Reisner, David Coppa, David King, David Strauss, Eelco
1993 Dolstra, Gabriel de Perthuis, Harald Hoyer, Jan Alexander
1994 Steffens, Jan Engelhardt, Jan Janssen, Jason St. John, Johan
1995 Heikkilä, Karel Zak, Karol Lewandowski, Kay Sievers, Lennart
1996 Poettering, Lukas Nykryn, Mantas Mikulėnas, Marius Vollmer,
1997 Martin Pitt, Michael Biebl, Michael Olbrich, Michael Tremer,
1998 Michal Schmidt, Michał Bartoszkiewicz, Nirbheek Chauhan,
1999 Pierre Neidhardt, Ross Burton, Ross Lagerwall, Sean McGovern,
2000 Thomas Hindoe Paaboel Andersen, Tom Gundersen, Umut Tezduyar,
2001 Václav Pavlín, Zachary Cook, Zbigniew Jędrzejewski-Szmek,
2002 Łukasz Stelmach, 장동준
2003
606c24e3
LP
2004CHANGES WITH 204:
2005
2006 * The Python bindings gained some minimal support for the APIs
2007 exposed by libsystemd-logind.
2008
2009 * ConditionSecurity= gained support for detecting SMACK. Since
2010 this condition already supports SELinux and AppArmor we only
2011 miss IMA for this. Patches welcome!
2012
2013 Contributions from: Karol Lewandowski, Lennart Poettering,
2014 Zbigniew Jędrzejewski-Szmek
2015
2f3fcf85
LP
2016CHANGES WITH 203:
2017
2018 * systemd-nspawn will now create /etc/resolv.conf if
2019 necessary, before bind-mounting the host's file onto it.
2020
2021 * systemd-nspawn will now store meta information about a
2022 container on the container's cgroup as extended attribute
2023 fields, including the root directory.
2024
2025 * The cgroup hierarchy has been reworked in many ways. All
2026 objects any of the components systemd creates in the cgroup
b82eed9a 2027 tree are now suffixed. More specifically, user sessions are
2f3fcf85
LP
2028 now placed in cgroups suffixed with ".session", users in
2029 cgroups suffixed with ".user", and nspawn containers in
2030 cgroups suffixed with ".nspawn". Furthermore, all cgroup
2031 names are now escaped in a simple scheme to avoid collision
2032 of userspace object names with kernel filenames. This work
2033 is preparation for making these objects relocatable in the
2034 cgroup tree, in order to allow easy resource partitioning of
2035 these objects without causing naming conflicts.
2036
2037 * systemctl list-dependencies gained the new switches
2038 --plain, --reverse, --after and --before.
2039
2040 * systemd-inhibit now shows the process name of processes that
2041 have taken an inhibitor lock.
2042
2043 * nss-myhostname will now also resolve "localhost"
2044 implicitly. This makes /etc/hosts an optional file and
2045 nicely handles that on IPv6 ::1 maps to both "localhost" and
2046 the local hostname.
2047
2048 * libsystemd-logind.so gained a new call
2049 sd_get_machine_names() to enumerate running containers and
2050 VMs (currently only supported by very new libvirt and
2051 nspawn). sd_login_monitor can now be used to watch
2052 VMs/containers coming and going.
2053
2054 * .include is not allowed recursively anymore, and only in
2055 unit files. Usually it is better to use drop-in snippets in
2056 .d/*.conf anyway, as introduced with systemd 198.
2057
2058 * systemd-analyze gained a new "critical-chain" command that
2059 determines the slowest chain of units run during system
2060 boot-up. It is very useful for tracking down where
2061 optimizing boot time is the most beneficial.
2062
2063 * systemd will no longer allow manipulating service paths in
2064 the name=systemd:/system cgroup tree using ControlGroup= in
2065 units. (But is still fine with it in all other dirs.)
2066
2067 * There's a new systemd-nspawn@.service service file that may
2068 be used to easily run nspawn containers as system
2069 services. With the container's root directory in
2070 /var/lib/container/foobar it is now sufficient to run
2071 "systemctl start systemd-nspawn@foobar.service" to boot it.
2072
2073 * systemd-cgls gained a new parameter "--machine" to list only
2074 the processes within a certain container.
2075
2076 * ConditionSecurity= now can check for "apparmor". We still
2077 are lacking checks for SMACK and IMA for this condition
2078 check though. Patches welcome!
2079
2080 * A new configuration file /etc/systemd/sleep.conf has been
2081 added that may be used to configure which kernel operation
2082 systemd is supposed to execute when "suspend", "hibernate"
2083 or "hybrid-sleep" is requested. This makes the new kernel
2084 "freeze" state accessible to the user.
2085
2086 * ENV{SYSTEMD_WANTS} in udev rules will now implicitly escape
2087 the passed argument if applicable.
2088
2089 Contributions from: Auke Kok, Colin Guthrie, Colin Walters,
2090 Cristian Rodríguez, Daniel Buch, Daniel Wallace, Dave Reisner,
2091 Evangelos Foutras, Greg Kroah-Hartman, Harald Hoyer, Josh
2092 Triplett, Kay Sievers, Lennart Poettering, Lukas Nykryn,
2093 MUNEDA Takahiro, Mantas Mikulėnas, Mirco Tischler, Nathaniel
2094 Chen, Nirbheek Chauhan, Ronny Chevalier, Ross Lagerwall, Tom
2095 Gundersen, Umut Tezduyar, Ville Skyttä, Zbigniew
2096 Jędrzejewski-Szmek
2097
ef3b5246
LP
2098CHANGES WITH 202:
2099
2100 * The output of 'systemctl list-jobs' got some polishing. The
2101 '--type=' argument may now be passed more than once. A new
2102 command 'systemctl list-sockets' has been added which shows
2103 a list of kernel sockets systemd is listening on with the
2104 socket units they belong to, plus the units these socket
2105 units activate.
2106
2107 * The experimental libsystemd-bus library got substantial
2108 updates to work in conjunction with the (also experimental)
2109 kdbus kernel project. It works well enough to exchange
2110 messages with some sophistication. Note that kdbus is not
2111 ready yet, and the library is mostly an elaborate test case
2112 for now, and not installable.
2113
2114 * systemd gained a new unit 'systemd-static-nodes.service'
2115 that generates static device nodes earlier during boot, and
2116 can run in conjunction with udev.
2117
2118 * libsystemd-login gained a new call sd_pid_get_user_unit()
2119 to retrieve the user systemd unit a process is running
2120 in. This is useful for systems where systemd is used as
2121 session manager.
2122
2123 * systemd-nspawn now places all containers in the new /machine
2124 top-level cgroup directory in the name=systemd
2125 hierarchy. libvirt will soon do the same, so that we get a
2126 uniform separation of /system, /user and /machine for system
2127 services, user processes and containers/virtual
2128 machines. This new cgroup hierarchy is also useful to stick
2129 stable names to specific container instances, which can be
7c04ad2d 2130 recognized later this way (this name may be controlled
ef3b5246
LP
2131 via systemd-nspawn's new -M switch). libsystemd-login also
2132 gained a new call sd_pid_get_machine_name() to retrieve the
2133 name of the container/VM a specific process belongs to.
2134
2135 * bootchart can now store its data in the journal.
2136
2137 * libsystemd-journal gained a new call
2138 sd_journal_add_conjunction() for AND expressions to the
2139 matching logic. This can be used to express more complex
2140 logical expressions.
2141
2142 * journactl can now take multiple --unit= and --user-unit=
2143 switches.
2144
2145 * The cryptsetup logic now understands the "luks.key=" kernel
2146 command line switch for specifying a file to read the
7c04ad2d 2147 decryption key from. Also, if a configured key file is not
ef3b5246
LP
2148 found the tool will now automatically fall back to prompting
2149 the user.
2150
cbeabcfb
ZJS
2151 * Python systemd.journal module was updated to wrap recently
2152 added functions from libsystemd-journal. The interface was
2153 changed to bring the low level interface in s.j._Reader
2154 closer to the C API, and the high level interface in
2155 s.j.Reader was updated to wrap and convert all data about
2156 an entry.
2157
ef3b5246
LP
2158 Contributions from: Anatol Pomozov, Auke Kok, Harald Hoyer,
2159 Henrik Grindal Bakken, Josh Triplett, Kay Sievers, Lennart
2160 Poettering, Lukas Nykryn, Mantas Mikulėnas Marius Vollmer,
2161 Martin Jansa, Martin Pitt, Michael Biebl, Michal Schmidt,
2162 Mirco Tischler, Pali Rohar, Simon Peeters, Steven Hiscocks,
2163 Tom Gundersen, Zbigniew Jędrzejewski-Szmek
2164
d3a86981
LP
2165CHANGES WITH 201:
2166
2167 * journalctl --update-catalog now understands a new --root=
2168 option to operate on catalogs found in a different root
2169 directory.
2170
2171 * During shutdown after systemd has terminated all running
2172 services a final killing loop kills all remaining left-over
2173 processes. We will now print the name of these processes
2174 when we send SIGKILL to them, since this usually indicates a
2175 problem.
2176
2177 * If /etc/crypttab refers to password files stored on
2178 configured mount points automatic dependencies will now be
2179 generated to ensure the specific mount is established first
2180 before the key file is attempted to be read.
2181
2182 * 'systemctl status' will now show information about the
2183 network sockets a socket unit is listening on.
2184
2185 * 'systemctl status' will also shown information about any
2186 drop-in configuration file for units. (Drop-In configuration
2187 files in this context are files such as
2188 /etc/systemd/systemd/foobar.service.d/*.conf)
2189
2190 * systemd-cgtop now optionally shows summed up CPU times of
2191 cgroups. Press '%' while running cgtop to switch between
2192 percentage and absolute mode. This is useful to determine
2193 which cgroups use up the most CPU time over the entire
2194 runtime of the system. systemd-cgtop has also been updated
2195 to be 'pipeable' for processing with further shell tools.
2196
2197 * 'hostnamectl set-hostname' will now allow setting of FQDN
2198 hostnames.
2199
2200 * The formatting and parsing of time span values has been
2201 changed. The parser now understands fractional expressions
2202 such as "5.5h". The formatter will now output fractional
2203 expressions for all time spans under 1min, i.e. "5.123456s"
2204 rather than "5s 123ms 456us". For time spans under 1s
2205 millisecond values are shown, for those under 1ms
2206 microsecond values are shown. This should greatly improve
2207 all time-related output of systemd.
2208
2209 * libsystemd-login and libsystemd-journal gained new
2210 functions for querying the poll() events mask and poll()
2211 timeout value for integration into arbitrary event
2212 loops.
2213
2214 * localectl gained the ability to list available X11 keymaps
2215 (models, layouts, variants, options).
2216
2217 * 'systemd-analyze dot' gained the ability to filter for
2218 specific units via shell-style globs, to create smaller,
d28315e4 2219 more useful graphs. I.e. it is now possible to create simple
d3a86981
LP
2220 graphs of all the dependencies between only target units, or
2221 of all units that Avahi has dependencies with.
2222
2223 Contributions from: Cristian Rodríguez, Dr. Tilmann Bubeck,
2224 Harald Hoyer, Holger Hans Peter Freyther, Kay Sievers, Kelly
2225 Anderson, Koen Kooi, Lennart Poettering, Maksim Melnikau,
2226 Marc-Antoine Perennou, Marius Vollmer, Martin Pitt, Michal
2227 Schmidt, Oleksii Shevchuk, Ronny Chevalier, Simon McVittie,
2228 Steven Hiscocks, Thomas Weißschuh, Umut Tezduyar, Václav
2229 Pavlín, Zbigniew Jędrzejewski-Szmek, Łukasz Stelmach
2230
9ca3c17f
LP
2231CHANGES WITH 200:
2232
2233 * The boot-time readahead implementation for rotating media
2234 will now read the read-ahead data in multiple passes which
2235 consist of all read requests made in equidistant time
2236 intervals. This means instead of strictly reading read-ahead
2237 data in its physical order on disk we now try to find a
2238 middle ground between physical and access time order.
2239
2240 * /etc/os-release files gained a new BUILD_ID= field for usage
2241 on operating systems that provide continuous builds of OS
2242 images.
2243
2244 Contributions from: Auke Kok, Eelco Dolstra, Kay Sievers,
2245 Lennart Poettering, Lukas Nykryn, Martin Pitt, Václav Pavlín
2246 William Douglas, Zbigniew Jędrzejewski-Szmek
2247
35911459
LP
2248CHANGES WITH 199:
2249
2250 * systemd-python gained an API exposing libsystemd-daemon.
2251
2252 * The SMACK setup logic gained support for uploading CIPSO
2253 security policy.
2254
2255 * Behaviour of PrivateTmp=, ReadWriteDirectories=,
2256 ReadOnlyDirectories= and InaccessibleDirectories= has
2257 changed. The private /tmp and /var/tmp directories are now
2258 shared by all processes of a service (which means
2259 ExecStartPre= may now leave data in /tmp that ExecStart= of
2260 the same service can still access). When a service is
2261 stopped its temporary directories are immediately deleted
a87197f5 2262 (normal clean-up with tmpfiles is still done in addition to
35911459
LP
2263 this though).
2264
2265 * By default, systemd will now set a couple of sysctl
2266 variables in the kernel: the safe sysrq options are turned
2267 on, IP route verification is turned on, and source routing
2268 disabled. The recently added hardlink and softlink
2269 protection of the kernel is turned on. These settings should
2270 be reasonably safe, and good defaults for all new systems.
2271
2272 * The predictable network naming logic may now be turned off
a87197f5 2273 with a new kernel command line switch: net.ifnames=0.
35911459
LP
2274
2275 * A new libsystemd-bus module has been added that implements a
2276 pretty complete D-Bus client library. For details see:
2277
2278 http://lists.freedesktop.org/archives/systemd-devel/2013-March/009797.html
2279
c20d8298 2280 * journald will now explicitly flush the journal files to disk
a87197f5
ZJS
2281 at the latest 5min after each write. The file will then also
2282 be marked offline until the next write. This should increase
2283 reliability in case of a crash. The synchronization delay
2284 can be configured via SyncIntervalSec= in journald.conf.
35911459
LP
2285
2286 * There's a new remote-fs-setup.target unit that can be used
2287 to pull in specific services when at least one remote file
2288 system is to be mounted.
2289
2290 * There are new targets timers.target and paths.target as
2291 canonical targets to pull user timer and path units in
2292 from. This complements sockets.target with a similar
2293 purpose for socket units.
2294
6a7d3d68
LP
2295 * libudev gained a new call udev_device_set_attribute_value()
2296 to set sysfs attributes of a device.
2297
a87197f5
ZJS
2298 * The udev daemon now sets the default number of worker
2299 processes executed in parallel based on the number of available
c20d8298 2300 CPUs instead of the amount of available RAM. This is supposed
ab06eef8 2301 to provide a more reliable default and limit a too aggressive
c20d8298
KS
2302 paralellism for setups with 1000s of devices connected.
2303
35911459
LP
2304 Contributions from: Auke Kok, Colin Walters, Cristian
2305 Rodríguez, Daniel Buch, Dave Reisner, Frederic Crozat, Hannes
2306 Reinecke, Harald Hoyer, Jan Alexander Steffens, Jan
2307 Engelhardt, Josh Triplett, Kay Sievers, Lennart Poettering,
2308 Mantas Mikulėnas, Martin Pitt, Mathieu Bridon, Michael Biebl,
2309 Michal Schmidt, Michal Sekletar, Miklos Vajna, Nathaniel Chen,
2310 Oleksii Shevchuk, Ozan Çağlayan, Thomas Hindoe Paaboel
2311 Andersen, Tollef Fog Heen, Tom Gundersen, Umut Tezduyar,
2312 Zbigniew Jędrzejewski-Szmek
2313
85d68397
LP
2314CHANGES WITH 198:
2315
2316 * Configuration of unit files may now be extended via drop-in
2317 files without having to edit/override the unit files
2318 themselves. More specifically, if the administrator wants to
2319 change one value for a service file foobar.service he can
2320 now do so by dropping in a configuration snippet into
ad88e758 2321 /etc/systemd/system/foobar.service.d/*.conf. The unit logic
85d68397
LP
2322 will load all these snippets and apply them on top of the
2323 main unit configuration file, possibly extending or
2324 overriding its settings. Using these drop-in snippets is
40e21da8
KS
2325 generally nicer than the two earlier options for changing
2326 unit files locally: copying the files from
85d68397
LP
2327 /usr/lib/systemd/system/ to /etc/systemd/system/ and editing
2328 them there; or creating a new file in /etc/systemd/system/
2329 that incorporates the original one via ".include". Drop-in
2330 snippets into these .d/ directories can be placed in any
fd868975 2331 directory systemd looks for units in, and the usual
85d68397
LP
2332 overriding semantics between /usr/lib, /etc and /run apply
2333 for them too.
2334
2335 * Most unit file settings which take lists of items can now be
6aa8d43a 2336 reset by assigning the empty string to them. For example,
85d68397
LP
2337 normally, settings such as Environment=FOO=BAR append a new
2338 environment variable assignment to the environment block,
2339 each time they are used. By assigning Environment= the empty
2340 string the environment block can be reset to empty. This is
2341 particularly useful with the .d/*.conf drop-in snippets
156f7d09
KS
2342 mentioned above, since this adds the ability to reset list
2343 settings from vendor unit files via these drop-ins.
85d68397
LP
2344
2345 * systemctl gained a new "list-dependencies" command for
2346 listing the dependencies of a unit recursively.
2347
40e21da8 2348 * Inhibitors are now honored and listed by "systemctl
85d68397
LP
2349 suspend", "systemctl poweroff" (and similar) too, not only
2350 GNOME. These commands will also list active sessions by
2351 other users.
2352
2353 * Resource limits (as exposed by the various control group
2354 controllers) can now be controlled dynamically at runtime
2355 for all units. More specifically, you can now use a command
2356 like "systemctl set-cgroup-attr foobar.service cpu.shares
2357 2000" to alter the CPU shares a specific service gets. These
6aa8d43a 2358 settings are stored persistently on disk, and thus allow the
85d68397
LP
2359 administrator to easily adjust the resource usage of
2360 services with a few simple commands. This dynamic resource
6aa8d43a 2361 management logic is also available to other programs via the
85d68397
LP
2362 bus. Almost any kernel cgroup attribute and controller is
2363 supported.
2364
2365 * systemd-vconsole-setup will now copy all font settings to
6aa8d43a
LP
2366 all allocated VTs, where it previously applied them only to
2367 the foreground VT.
85d68397
LP
2368
2369 * libsystemd-login gained the new sd_session_get_tty() API
2370 call.
2371
6aa8d43a
LP
2372 * This release drops support for a few legacy or
2373 distribution-specific LSB facility names when parsing init
2374 scripts: $x-display-manager, $mail-transfer-agent,
85d68397
LP
2375 $mail-transport-agent, $mail-transfer-agent, $smtp,
2376 $null. Also, the mail-transfer-agent.target unit backing
2377 this has been removed. Distributions which want to retain
6aa8d43a
LP
2378 compatibility with this should carry the burden for
2379 supporting this themselves and patch support for these back
2380 in, if they really need to. Also, the facilities $syslog and
2381 $local_fs are now ignored, since systemd does not support
2382 early-boot LSB init scripts anymore, and these facilities
2383 are implied anyway for normal services. syslog.target has
2384 also been removed.
85d68397 2385
40e21da8 2386 * There are new bus calls on PID1's Manager object for
6aa8d43a 2387 cancelling jobs, and removing snapshot units. Previously,
85d68397
LP
2388 both calls were only available on the Job and Snapshot
2389 objects themselves.
2390
2391 * systemd-journal-gatewayd gained SSL support.
2392
2393 * The various "environment" files, such as /etc/locale.conf
2394 now support continuation lines with a backslash ("\") as
499b604b 2395 last character in the line, similarly in style (but different)
85d68397
LP
2396 to how this is supported in shells.
2397
2398 * For normal user processes the _SYSTEMD_USER_UNIT= field is
2399 now implicitly appended to every log entry logged. systemctl
2400 has been updated to filter by this field when operating on a
2401 user systemd instance.
2402
2403 * nspawn will now implicitly add the CAP_AUDIT_WRITE and
2404 CAP_AUDIT_CONTROL capabilities to the capabilities set for
2405 the container. This makes it easier to boot unmodified
2406 Fedora systems in a container, which however still requires
2407 audit=0 to be passed on the kernel command line. Auditing in
2408 kernel and userspace is unfortunately still too broken in
2409 context of containers, hence we recommend compiling it out
2410 of the kernel or using audit=0. Hopefully this will be fixed
2411 one day for good in the kernel.
2412
2413 * nspawn gained the new --bind= and --bind-ro= parameters to
2414 bind mount specific directories from the host into the
2415 container.
2416
40e21da8 2417 * nspawn will now mount its own devpts file system instance
6aa8d43a 2418 into the container, in order not to leak pty devices from
85d68397
LP
2419 the host into the container.
2420
2421 * systemd will now read the firmware boot time performance
6aa8d43a
LP
2422 information from the EFI variables, if the used boot loader
2423 supports this, and takes it into account for boot performance
2424 analysis via "systemd-analyze". This is currently supported
2425 only in conjunction with Gummiboot, but could be supported
2426 by other boot loaders too. For details see:
85d68397
LP
2427
2428 http://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface
2429
2430 * A new generator has been added that automatically mounts the
2431 EFI System Partition (ESP) to /boot, if that directory
6aa8d43a
LP
2432 exists, is empty, and no other file system has been
2433 configured to be mounted there.
85d68397
LP
2434
2435 * logind will now send out PrepareForSleep(false) out
2436 unconditionally, after coming back from suspend. This may be
2437 used by applications as asynchronous notification for
2438 system resume events.
2439
2440 * "systemctl unlock-sessions" has been added, that allows
2441 unlocking the screens of all user sessions at once, similar
499b604b 2442 to how "systemctl lock-sessions" already locked all users
40e21da8 2443 sessions. This is backed by a new D-Bus call UnlockSessions().
85d68397
LP
2444
2445 * "loginctl seat-status" will now show the master device of a
2446 seat. (i.e. the device of a seat that needs to be around for
2447 the seat to be considered available, usually the graphics
2448 card).
2449
2450 * tmpfiles gained a new "X" line type, that allows
2451 configuration of files and directories (with wildcards) that
2452 shall be excluded from automatic cleanup ("aging").
2453
bf933560
KS
2454 * udev default rules set the device node permissions now only
2455 at "add" events, and do not change them any longer with a
2456 later "change" event.
85d68397
LP
2457
2458 * The log messages for lid events and power/sleep keypresses
2459 now carry a message ID.
2460
2461 * We now have a substantially larger unit test suite, but this
2462 continues to be work in progress.
2463
2464 * udevadm hwdb gained a new --root= parameter to change the
2465 root directory to operate relative to.
2466
40e21da8
KS
2467 * logind will now issue a background sync() request to the kernel
2468 early at shutdown, so that dirty buffers are flushed to disk early
85d68397
LP
2469 instead of at the last moment, in order to optimize shutdown
2470 times a little.
2471
2472 * A new bootctl tool has been added that is an interface for
2473 certain boot loader operations. This is currently a preview
2474 and is likely to be extended into a small mechanism daemon
2475 like timedated, localed, hostnamed, and can be used by
2476 graphical UIs to enumerate available boot options, and
2477 request boot into firmware operations.
2478
2479 * systemd-bootchart has been relicensed to LGPLv2.1+ to match
2480 the rest of the package. It also has been updated to work
2481 correctly in initrds.
2482
2483 * Policykit previously has been runtime optional, and is now
2484 also compile time optional via a configure switch.
2485
2486 * systemd-analyze has been reimplemented in C. Also "systemctl
2487 dot" has moved into systemd-analyze.
2488
2489 * "systemctl status" with no further parameters will now print
2490 the status of all active or failed units.
2491
2492 * Operations such as "systemctl start" can now be executed
2493 with a new mode "--irreversible" which may be used to queue
2494 operations that cannot accidentally be reversed by a later
6aa8d43a 2495 job queuing. This is by default used to make shutdown
85d68397
LP
2496 requests more robust.
2497
2498 * The Python API of systemd now gained a new module for
2499 reading journal files.
2500
2501 * A new tool kernel-install has been added that can install
2502 kernel images according to the Boot Loader Specification:
2503
2504 http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
2505
2506 * Boot time console output has been improved to provide
6aa8d43a 2507 animated boot time output for hanging jobs.
85d68397
LP
2508
2509 * A new tool systemd-activate has been added which can be used
2510 to test socket activation with, directly from the command
2511 line. This should make it much easier to test and debug
2512 socket activation in daemons.
2513
2514 * journalctl gained a new "--reverse" (or -r) option to show
2515 journal output in reverse order (i.e. newest line first).
2516
43447fb7
LP
2517 * journalctl gained a new "--pager-end" (or -e) option to jump
2518 to immediately jump to the end of the journal in the
2519 pager. This is only supported in conjunction with "less".
2520
85d68397 2521 * journalctl gained a new "--user-unit=" option, that works
499b604b 2522 similarly to "--unit=" but filters for user units rather than
85d68397
LP
2523 system units.
2524
2525 * A number of unit files to ease adoption of systemd in
2526 initrds has been added. This moves some minimal logic from
2527 the various initrd implementations into systemd proper.
2528
2529 * The journal files are now owned by a new group
2530 "systemd-journal", which exists specifically to allow access
2531 to the journal, and nothing else. Previously, we used the
6aa8d43a 2532 "adm" group for that, which however possibly covers more
85d68397
LP
2533 than just journal/log file access. This new group is now
2534 already used by systemd-journal-gatewayd to ensure this
2535 daemon gets access to the journal files and as little else
2536 as possible. Note that "make install" will also set FS ACLs
2537 up for /var/log/journal to give "adm" and "wheel" read
2538 access to it, in addition to "systemd-journal" which owns
2539 the journal files. We recommend that packaging scripts also
6aa8d43a 2540 add read access to "adm" + "wheel" to /var/log/journal, and
85d68397
LP
2541 all existing/future journal files. To normal users and
2542 administrators little changes, however packagers need to
2543 ensure to create the "systemd-journal" system group at
2544 package installation time.
2545
2546 * The systemd-journal-gatewayd now runs as unprivileged user
2547 systemd-journal-gateway:systemd-journal-gateway. Packaging
2548 scripts need to create these system user/group at
2549 installation time.
2550
2551 * timedated now exposes a new boolean property CanNTP that
2552 indicates whether a local NTP service is available or not.
2553
2554 * systemd-detect-virt will now also detect xen PVs
2555
40e21da8
KS
2556 * The pstore file system is now mounted by default, if it is
2557 available.
85d68397 2558
1aed4590
LP
2559 * In addition to the SELinux and IMA policies we will now also
2560 load SMACK policies at early boot.
2561
85d68397
LP
2562 Contributions from: Adel Gadllah, Aleksander Morgado, Auke
2563 Kok, Ayan George, Bastien Nocera, Colin Walters, Daniel Buch,
2564 Daniel Wallace, Dave Reisner, David Herrmann, David Strauss,
2565 Eelco Dolstra, Enrico Scholz, Frederic Crozat, Harald Hoyer,
2566 Jan Janssen, Jonathan Callen, Kay Sievers, Lennart Poettering,
2567 Lukas Nykryn, Mantas Mikulėnas, Marc-Antoine Perennou, Martin
2568 Pitt, Mauro Dreissig, Max F. Albrecht, Michael Biebl, Michael
2569 Olbrich, Michal Schmidt, Michal Sekletar, Michal Vyskocil,
2570 Michał Bartoszkiewicz, Mirco Tischler, Nathaniel Chen, Nestor
2571 Ovroy, Oleksii Shevchuk, Paul W. Frields, Piotr Drąg, Rob
2572 Clark, Ryan Lortie, Simon McVittie, Simon Peeters, Steven
2573 Hiscocks, Thomas Hindoe Paaboel Andersen, Tollef Fog Heen, Tom
2574 Gundersen, Umut Tezduyar, William Giokas, Zbigniew
2575 Jędrzejewski-Szmek, Zeeshan Ali (Khattak)
2576
8ad26859
LP
2577CHANGES WITH 197:
2578
2579 * Timer units now support calendar time events in addition to
2580 monotonic time events. That means you can now trigger a unit
2581 based on a calendar time specification such as "Thu,Fri
2582 2013-*-1,5 11:12:13" which refers to 11:12:13 of the first
2583 or fifth day of any month of the year 2013, given that it is
2584 a thursday or friday. This brings timer event support
2585 considerably closer to cron's capabilities. For details on
2586 the supported calendar time specification language see
2587 systemd.time(7).
2588
2589 * udev now supports a number of different naming policies for
2590 network interfaces for predictable names, and a combination
2591 of these policies is now the default. Please see this wiki
2592 document for details:
2593
2594 http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
2595
2596 * Auke Kok's bootchart implementation has been added to the
d28315e4
JE
2597 systemd tree. It is an optional component that can graph the
2598 boot in quite some detail. It is one of the best bootchart
8ad26859
LP
2599 implementations around and minimal in its code and
2600 dependencies.
2601
2602 * nss-myhostname has been integrated into the systemd source
2603 tree. nss-myhostname guarantees that the local hostname
2604 always stays resolvable via NSS. It has been a weak
2605 requirement of systemd-hostnamed since a long time, and
2606 since its code is actually trivial we decided to just
2607 include it in systemd's source tree. It can be turned off
2608 with a configure switch.
2609
2610 * The read-ahead logic is now capable of properly detecting
2611 whether a btrfs file system is on SSD or rotating media, in
2612 order to optimize the read-ahead scheme. Previously, it was
2613 only capable of detecting this on traditional file systems
2614 such as ext4.
2615
2616 * In udev, additional device properties are now read from the
2617 IAB in addition to the OUI database. Also, Bluetooth company
2618 identities are attached to the devices as well.
2619
2620 * In service files %U may be used as specifier that is
2621 replaced by the configured user name of the service.
2622
2623 * nspawn may now be invoked without a controlling TTY. This
2624 makes it suitable for invocation as its own service. This
2625 may be used to set up a simple containerized server system
2626 using only core OS tools.
2627
2628 * systemd and nspawn can now accept socket file descriptors
2629 when they are started for socket activation. This enables
2630 implementation of socket activated nspawn
2631 containers. i.e. think about autospawning an entire OS image
2632 when the first SSH or HTTP connection is received. We expect
2633 that similar functionality will also be added to libvirt-lxc
2634 eventually.
2635
2636 * journalctl will now suppress ANSI color codes when
2637 presenting log data.
2638
2639 * systemctl will no longer show control group information for
2640 a unit if a the control group is empty anyway.
2641
2642 * logind can now automatically suspend/hibernate/shutdown the
2643 system on idle.
2644
2645 * /etc/machine-info and hostnamed now also expose the chassis
2646 type of the system. This can be used to determine whether
2647 the local system is a laptop, desktop, handset or
2648 tablet. This information may either be configured by the
2649 user/vendor or is automatically determined from ACPI and DMI
2650 information if possible.
2651
2652 * A number of PolicyKit actions are now bound together with
2653 "imply" rules. This should simplify creating UIs because
2654 many actions will now authenticate similar ones as well.
2655
2656 * Unit files learnt a new condition ConditionACPower= which
2657 may be used to conditionalize a unit depending on whether an
2658 AC power source is connected or not, of whether the system
2659 is running on battery power.
2660
2661 * systemctl gained a new "is-failed" verb that may be used in
2662 shell scripts and suchlike to check whether a specific unit
2663 is in the "failed" state.
2664
2665 * The EnvironmentFile= setting in unit files now supports file
2666 globbing, and can hence be used to easily read a number of
2667 environment files at once.
2668
2669 * systemd will no longer detect and recognize specific
2670 distributions. All distribution-specific #ifdeffery has been
2671 removed, systemd is now fully generic and
2672 distribution-agnostic. Effectively, not too much is lost as
2673 a lot of the code is still accessible via explicit configure
2674 switches. However, support for some distribution specific
2675 legacy configuration file formats has been dropped. We
2676 recommend distributions to simply adopt the configuration
2677 files everybody else uses now and convert the old
2678 configuration from packaging scripts. Most distributions
2679 already did that. If that's not possible or desirable,
2680 distributions are welcome to forward port the specific
2681 pieces of code locally from the git history.
2682
2683 * When logging a message about a unit systemd will now always
2684 log the unit name in the message meta data.
2685
2686 * localectl will now also discover system locale data that is
2687 not stored in locale archives, but directly unpacked.
2688
2689 * logind will no longer unconditionally use framebuffer
2690 devices as seat masters, i.e. as devices that are required
2691 to be existing before a seat is considered preset. Instead,
2692 it will now look for all devices that are tagged as
2693 "seat-master" in udev. By default framebuffer devices will
2694 be marked as such, but depending on local systems other
2695 devices might be marked as well. This may be used to
2696 integrate graphics cards using closed source drivers (such
2697 as NVidia ones) more nicely into logind. Note however, that
2698 we recommend using the open source NVidia drivers instead,
2699 and no udev rules for the closed-source drivers will be
2700 shipped from us upstream.
2701
2702 Contributions from: Adam Williamson, Alessandro Crismani, Auke
2703 Kok, Colin Walters, Daniel Wallace, Dave Reisner, David
2704 Herrmann, David Strauss, Dimitrios Apostolou, Eelco Dolstra,
2705 Eric Benoit, Giovanni Campagna, Hannes Reinecke, Henrik
2706 Grindal Bakken, Hermann Gausterer, Kay Sievers, Lennart
2707 Poettering, Lukas Nykryn, Mantas Mikulėnas, Marcel Holtmann,
2708 Martin Pitt, Matthew Monaco, Michael Biebl, Michael Terry,
2709 Michal Schmidt, Michal Sekletar, Michał Bartoszkiewicz, Oleg
2710 Samarin, Pekka Lundstrom, Philip Nilsson, Ramkumar
2711 Ramachandra, Richard Yao, Robert Millan, Sami Kerola, Shawn
2712 Landden, Thomas Hindoe Paaboel Andersen, Thomas Jarosch,
2713 Tollef Fog Heen, Tom Gundersen, Umut Tezduyar, Zbigniew
2714 Jędrzejewski-Szmek
2715
0428ddb7
LP
2716CHANGES WITH 196:
2717
2718 * udev gained support for loading additional device properties
2719 from an indexed database that is keyed by vendor/product IDs
2720 and similar device identifiers. For the beginning this
2721 "hwdb" is populated with data from the well-known PCI and
2722 USB database, but also includes PNP, ACPI and OID data. In
2723 the longer run this indexed database shall grow into
2724 becoming the one central database for non-essential
2725 userspace device metadata. Previously, data from the PCI/USB
96ec33c0 2726 database was only attached to select devices, since the
0428ddb7 2727 lookup was a relatively expensive operation due to O(n) time
96ec33c0
LP
2728 complexity (with n being the number of entries in the
2729 database). Since this is now O(1), we decided to add in this
2730 data for all devices where this is available, by
0428ddb7
LP
2731 default. Note that the indexed database needs to be rebuilt
2732 when new data files are installed. To achieve this you need
2733 to update your packaging scripts to invoke "udevadm hwdb
2734 --update" after installation of hwdb data files. For
2735 RPM-based distributions we introduced the new
2736 %udev_hwdb_update macro for this purpose.
2737
2738 * The Journal gained support for the "Message Catalog", an
2739 indexed database to link up additional information with
2740 journal entries. For further details please check:
2741
2742 http://www.freedesktop.org/wiki/Software/systemd/catalog
2743
2744 The indexed message catalog database also needs to be
2745 rebuilt after installation of message catalog files. Use
2746 "journalctl --update-catalog" for this. For RPM-based
2747 distributions we introduced the %journal_catalog_update
2748 macro for this purpose.
2749
2750 * The Python Journal bindings gained support for the standard
2751 Python logging framework.
2752
2753 * The Journal API gained new functions for checking whether
2754 the underlying file system of a journal file is capable of
2755 properly reporting file change notifications, or whether
2756 applications that want to reflect journal changes "live"
ab06eef8 2757 need to recheck journal files continuously in appropriate
0428ddb7
LP
2758 time intervals.
2759
2760 * It is now possible to set the "age" field for tmpfiles
2761 entries to 0, indicating that files matching this entry
2762 shall always be removed when the directories are cleaned up.
2763
2764 * coredumpctl gained a new "gdb" verb which invokes gdb
2765 right-away on the selected coredump.
2766
2767 * There's now support for "hybrid sleep" on kernels that
2768 support this, in addition to "suspend" and "hibernate". Use
2769 "systemctl hybrid-sleep" to make use of this.
2770
2771 * logind's HandleSuspendKey= setting (and related settings)
2772 now gained support for a new "lock" setting to simply
2773 request the screen lock on all local sessions, instead of
2774 actually executing a suspend or hibernation.
2775
2776 * systemd will now mount the EFI variables file system by
2777 default.
2778
2779 * Socket units now gained support for configuration of the
2780 SMACK security label.
2781
2782 * timedatectl will now output the time of the last and next
2783 daylight saving change.
2784
2785 * We dropped support for various legacy and distro-specific
2786 concepts, such as insserv, early-boot SysV services
2787 (i.e. those for non-standard runlevels such as 'b' or 'S')
2788 or ArchLinux /etc/rc.conf support. We recommend the
2789 distributions who still need support this to either continue
2790 to maintain the necessary patches downstream, or find a
2791 different solution. (Talk to us if you have questions!)
2792
2793 * Various systemd components will now bypass PolicyKit checks
2794 for root and otherwise handle properly if PolicyKit is not
2795 found to be around. This should fix most issues for
2796 PolicyKit-less systems. Quite frankly this should have been
2797 this way since day one. It is absolutely our intention to
2798 make systemd work fine on PolicyKit-less systems, and we
d28315e4 2799 consider it a bug if something does not work as it should if
0428ddb7
LP
2800 PolicyKit is not around.
2801
2802 * For embedded systems it is now possible to build udev and
2803 systemd without blkid and/or kmod support.
2804
2805 * "systemctl switch-root" is now capable of switching root
2806 more than once. I.e. in addition to transitions from the
2807 initrd to the host OS it is now possible to transition to
2808 further OS images from the host. This is useful to implement
2809 offline updating tools.
2810
2811 * Various other additions have been made to the RPM macros
2812 shipped with systemd. Use %udev_rules_update() after
2813 installing new udev rules files. %_udevhwdbdir,
2814 %_udevrulesdir, %_journalcatalogdir, %_tmpfilesdir,
2815 %_sysctldir are now available which resolve to the right
2816 directories for packages to place various data files in.
2817
2818 * journalctl gained the new --full switch (in addition to
2819 --all, to disable ellipsation for long messages.
2820
2821 Contributions from: Anders Olofsson, Auke Kok, Ben Boeckel,
2822 Colin Walters, Cosimo Cecchi, Daniel Wallace, Dave Reisner,
2823 Eelco Dolstra, Holger Hans Peter Freyther, Kay Sievers,
2824 Chun-Yi Lee, Lekensteyn, Lennart Poettering, Mantas Mikulėnas,
2825 Marti Raudsepp, Martin Pitt, Mauro Dreissig, Michael Biebl,
2826 Michal Schmidt, Michal Sekletar, Miklos Vajna, Nis Martensen,
2827 Oleksii Shevchuk, Olivier Brunel, Ramkumar Ramachandra, Thomas
2828 Bächler, Thomas Hindoe Paaboel Andersen, Tom Gundersen, Tony
2829 Camuso, Umut Tezduyar, Zbigniew Jędrzejewski-Szmek
2830
139ee8cc
LP
2831CHANGES WITH 195:
2832
6827101a 2833 * journalctl gained new --since= and --until= switches to
139ee8cc
LP
2834 filter by time. It also now supports nice filtering for
2835 units via --unit=/-u.
2836
6827101a 2837 * Type=oneshot services may use ExecReload= and do the
139ee8cc
LP
2838 right thing.
2839
2840 * The journal daemon now supports time-based rotation and
2841 vacuuming, in addition to the usual disk-space based
2842 rotation.
2843
2844 * The journal will now index the available field values for
2845 each field name. This enables clients to show pretty drop
2846 downs of available match values when filtering. The bash
2847 completion of journalctl has been updated
2848 accordingly. journalctl gained a new switch -F to list all
2849 values a certain field takes in the journal database.
2850
2851 * More service events are now written as structured messages
2852 to the journal, and made recognizable via message IDs.
2853
2854 * The timedated, localed and hostnamed mini-services which
2855 previously only provided support for changing time, locale
2856 and hostname settings from graphical DEs such as GNOME now
2857 also have a minimal (but very useful) text-based client
2858 utility each. This is probably the nicest way to changing
2859 these settings from the command line now, especially since
2860 it lists available options and is fully integrated with bash
2861 completion.
2862
2863 * There's now a new tool "systemd-coredumpctl" to list and
2864 extract coredumps from the journal.
2865
2866 * We now install a README each in /var/log/ and
2867 /etc/rc.d/init.d explaining where the system logs and init
2868 scripts went. This hopefully should help folks who go to
2869 that dirs and look into the otherwise now empty void and
2870 scratch their heads.
2871
2872 * When user-services are invoked (by systemd --user) the
2873 $MANAGERPID env var is set to the PID of systemd.
2874
2875 * SIGRTMIN+24 when sent to a --user instance will now result
2876 in immediate termination of systemd.
2877
2878 * gatewayd received numerous feature additions such as a
2879 "follow" mode, for live syncing and filtering.
2880
2881 * browse.html now allows filtering and showing detailed
2882 information on specific entries. Keyboard navigation and
2883 mouse screen support has been added.
2884
2885 * gatewayd/journalctl now supports HTML5/JSON
2886 Server-Sent-Events as output.
2887
1cb88f2c 2888 * The SysV init script compatibility logic will now
139ee8cc
LP
2889 heuristically determine whether a script supports the
2890 "reload" verb, and only then make this available as
2891 "systemctl reload".
2892
15f47220 2893 * "systemctl status --follow" has been removed, use "journalctl
139ee8cc
LP
2894 -u" instead.
2895
2896 * journald.conf's RuntimeMinSize=, PersistentMinSize= settings
2897 have been removed since they are hardly useful to be
2898 configured.
2899
2900 * And I'd like to take the opportunity to specifically mention
2901 Zbigniew for his great contributions. Zbigniew, you rock!
2902
2903 Contributions from: Andrew Eikum, Christian Hesse, Colin
2904 Guthrie, Daniel J Walsh, Dave Reisner, Eelco Dolstra, Ferenc
4d92e078
LP
2905 Wágner, Kay Sievers, Lennart Poettering, Lukas Nykryn, Mantas
2906 Mikulėnas, Martin Mikkelsen, Martin Pitt, Michael Olbrich,
2907 Michael Stapelberg, Michal Schmidt, Sebastian Ott, Thomas
2908 Bächler, Umut Tezduyar, Will Woods, Wulf C. Krueger, Zbigniew
2909 Jędrzejewski-Szmek, Сковорода Никита Андреевич
139ee8cc 2910
f9b55720
LP
2911CHANGES WITH 194:
2912
2913 * If /etc/vconsole.conf is non-existent or empty we will no
2914 longer load any console font or key map at boot by
2915 default. Instead the kernel defaults will be left
2916 intact. This is definitely the right thing to do, as no
2917 configuration should mean no configuration, and hard-coding
2918 font names that are different on all archs is probably a bad
2919 idea. Also, the kernel default key map and font should be
2920 good enough for most cases anyway, and mostly identical to
2921 the userspace fonts/key maps we previously overloaded them
2922 with. If distributions want to continue to default to a
2923 non-kernel font or key map they should ship a default
2924 /etc/vconsole.conf with the appropriate contents.
2925
2926 Contributions from: Colin Walters, Daniel J Walsh, Dave
2927 Reisner, Kay Sievers, Lennart Poettering, Lukas Nykryn, Tollef
2928 Fog Heen, Tom Gundersen, Zbigniew Jędrzejewski-Szmek
2929
597c52cf
LP
2930CHANGES WITH 193:
2931
2932 * journalctl gained a new --cursor= switch to show entries
2933 starting from the specified location in the journal.
2934
2935 * We now enforce a size limit on journal entry fields exported
2936 with "-o json" in journalctl. Fields larger than 4K will be
2937 assigned null. This can be turned off with --all.
2938
2939 * An (optional) journal gateway daemon is now available as
2940 "systemd-journal-gatewayd.service". This service provides
2941 access to the journal via HTTP and JSON. This functionality
2942 will be used to implement live log synchronization in both
2943 pull and push modes, but has various other users too, such
2944 as easy log access for debugging of embedded devices. Right
2945 now it is already useful to retrieve the journal via HTTP:
2946
2947 # systemctl start systemd-journal-gatewayd.service
2948 # wget http://localhost:19531/entries
2949
2950 This will download the journal contents in a
2951 /var/log/messages compatible format. The same as JSON:
2952
2953 # curl -H"Accept: application/json" http://localhost:19531/entries
2954
2955 This service is also accessible via a web browser where a
2956 single static HTML5 app is served that uses the JSON logic
2957 to enable the user to do some basic browsing of the
2958 journal. This will be extended later on. Here's an example
2959 screenshot of this app in its current state:
2960
2961 http://0pointer.de/public/journal-gatewayd
2962
2963 Contributions from: Kay Sievers, Lennart Poettering, Robert
2964 Milasan, Tom Gundersen
2965
075d4ecb
LP
2966CHANGES WITH 192:
2967
2968 * The bash completion logic is now available for journalctl
2969 too.
2970
d28315e4 2971 * We do not mount the "cpuset" controller anymore together with
075d4ecb
LP
2972 "cpu" and "cpuacct", as "cpuset" groups generally cannot be
2973 started if no parameters are assigned to it. "cpuset" hence
2974 broke code that assumed it it could create "cpu" groups and
2975 just start them.
2976
2977 * journalctl -f will now subscribe to terminal size changes,
2978 and line break accordingly.
2979
597c52cf
LP
2980 Contributions from: Dave Reisner, Kay Sievers, Lennart
2981 Poettering, Lukas Nykrynm, Mirco Tischler, Václav Pavlín
075d4ecb 2982
b6a86739
LP
2983CHANGES WITH 191:
2984
2985 * nspawn will now create a symlink /etc/localtime in the
2986 container environment, copying the host's timezone
2987 setting. Previously this has been done via a bind mount, but
2988 since symlinks cannot be bind mounted this has now been
2989 changed to create/update the appropriate symlink.
2990
2991 * journalctl -n's line number argument is now optional, and
2992 will default to 10 if omitted.
2993
2994 * journald will now log the maximum size the journal files may
2995 take up on disk. This is particularly useful if the default
2996 built-in logic of determining this parameter from the file
2997 system size is used. Use "systemctl status
6563b535 2998 systemd-journald.service" to see this information.
b6a86739
LP
2999
3000 * The multi-seat X wrapper tool has been stripped down. As X
3001 is now capable of enumerating graphics devices via udev in a
3002 seat-aware way the wrapper is not strictly necessary
3003 anymore. A stripped down temporary stop-gap is still shipped
3004 until the upstream display managers have been updated to
3005 fully support the new X logic. Expect this wrapper to be
6563b535 3006 removed entirely in one of the next releases.
b6a86739
LP
3007
3008 * HandleSleepKey= in logind.conf has been split up into
3009 HandleSuspendKey= and HandleHibernateKey=. The old setting
6563b535 3010 is not available anymore. X11 and the kernel are
b6a86739
LP
3011 distuingishing between these keys and we should too. This
3012 also means the inhibition lock for these keys has been split
3013 into two.
3014
597c52cf
LP
3015 Contributions from: Dave Airlie, Eelco Dolstra, Lennart
3016 Poettering, Lukas Nykryn, Václav Pavlín
b6a86739 3017
0c11f949
LP
3018CHANGES WITH 190:
3019
d28315e4 3020 * Whenever a unit changes state we will now log this to the
0c11f949
LP
3021 journal and show along the unit's own log output in
3022 "systemctl status".
3023
3024 * ConditionPathIsMountPoint= can now properly detect bind
3025 mount points too. (Previously, a bind mount of one file
8d0256b7 3026 system to another place in the same file system could not be
0c11f949
LP
3027 detected as mount, since they shared struct stat's st_dev
3028 field.)
3029
3030 * We will now mount the cgroup controllers cpu, cpuacct,
3031 cpuset and the controllers net_cls, net_prio together by
3032 default.
3033
3034 * nspawn containers will now have a virtualized boot
3035 ID. (i.e. /proc/sys/kernel/random/boot_id is now mounted
3036 over with a randomized ID at container initialization). This
3037 has the effect of making "journalctl -b" do the right thing
3038 in a container.
3039
3040 * The JSON output journal serialization has been updated not
3041 to generate "endless" list objects anymore, but rather one
3042 JSON object per line. This is more in line how most JSON
3043 parsers expect JSON objects. The new output mode
3044 "json-pretty" has been added to provide similar output, but
3045 neatly aligned for readability by humans.
3046
3047 * We dropped all explicit sync() invocations in the shutdown
3048 code. The kernel does this implicitly anyway in the kernel
3049 reboot() syscall. halt(8)'s -n option is now a compatibility
3050 no-op.
3051
3052 * We now support virtualized reboot() in containers, as
3053 supported by newer kernels. We will fall back to exit() if
3054 CAP_SYS_REBOOT is not available to the container. Also,
3055 nspawn makes use of this now and will actually reboot the
3056 container if the containerized OS asks for that.
3057
3058 * journalctl will only show local log output by default
3059 now. Use --merge (-m) to show remote log output, too.
3060
3061 * libsystemd-journal gained the new sd_journal_get_usage()
3062 call to determine the current disk usage of all journal
3063 files. This is exposed in the new "journalctl --disk-usage"
3064 command.
3065
3066 * journald gained a new configuration setting SplitMode= in
3067 journald.conf which may be used to control how user journals
3068 are split off. See journald.conf(5) for details.
3069
3070 * A new condition type ConditionFileNotEmpty= has been added.
3071
3072 * tmpfiles' "w" lines now support file globbing, to write
3073 multiple files at once.
3074
3075 * We added Python bindings for the journal submission
3076 APIs. More Python APIs for a number of selected APIs will
3077 likely follow. Note that we intend to add native bindings
3078 only for the Python language, as we consider it common
3079 enough to deserve bindings shipped within systemd. There are
3080 various projects outside of systemd that provide bindings
3081 for languages such as PHP or Lua.
3082
a98d5d64
LP
3083 * Many conditions will now resolve specifiers such as %i. In
3084 addition, PathChanged= and related directives of .path units
3085 now support specifiers as well.
0c11f949
LP
3086
3087 * There's now a new RPM macro definition for the system preset
3088 dir: %_presetdir.
3089
d28315e4 3090 * journald will now warn if it ca not forward a message to the
dca348bc 3091 syslog daemon because its socket is full.
0c11f949
LP
3092
3093 * timedated will no longer write or process /etc/timezone,
3094 except on Debian. As we do not support late mounted /usr
3095 anymore /etc/localtime always being a symlink is now safe,
3096 and hence the information in /etc/timezone is not necessary
3097 anymore.
3098
aaccc32c 3099 * logind will now always reserve one VT for a text getty (VT6
0c11f949
LP
3100 by default). Previously if more than 6 X sessions where
3101 started they took up all the VTs with auto-spawned gettys,
3102 so that no text gettys were available anymore.
3103
3104 * udev will now automatically inform the btrfs kernel logic
3105 about btrfs RAID components showing up. This should make
3106 simple hotplug based btrfs RAID assembly work.
3107
3108 * PID 1 will now increase its RLIMIT_NOFILE to 64K by default
3109 (but not for its children which will stay at the kernel
3110 default). This should allow setups with a lot more listening
3111 sockets.
3112
3113 * systemd will now always pass the configured timezone to the
3114 kernel at boot. timedated will do the same when the timezone
3115 is changed.
3116
3117 * logind's inhibition logic has been updated. By default,
3118 logind will now handle the lid switch, the power and sleep
3119 keys all the time, even in graphical sessions. If DEs want
3120 to handle these events on their own they should take the new
3121 handle-power-key, handle-sleep-key and handle-lid-switch
3122 inhibitors during their runtime. A simple way to achiveve
3123 that is to invoke the DE wrapped in an invocation of:
3124
3125 systemd-inhibit --what=handle-power-key:handle-sleep-key:handle-lid-switch ...
3126
3127 * Access to unit operations is now checked via SELinux taking
3128 the unit file label and client process label into account.
3129
aad803af
LP
3130 * systemd will now notify the administrator in the journal
3131 when he over-mounts a non-empty directory.
3132
3133 * There are new specifiers that are resolved in unit files,
3134 for the host name (%H), the machine ID (%m) and the boot ID
3135 (%b).
3136
b6a86739 3137 Contributions from: Allin Cottrell, Auke Kok, Brandon Philips,
0c11f949
LP
3138 Colin Guthrie, Colin Walters, Daniel J Walsh, Dave Reisner,
3139 Eelco Dolstra, Jan Engelhardt, Kay Sievers, Lennart
3140 Poettering, Lucas De Marchi, Lukas Nykryn, Mantas Mikulėnas,
3141 Martin Pitt, Matthias Clasen, Michael Olbrich, Pierre Schmitz,
3142 Shawn Landden, Thomas Hindoe Paaboel Andersen, Tom Gundersen,
3143 Václav Pavlín, Yin Kangkai, Zbigniew Jędrzejewski-Szmek
3144
38a60d71
LP
3145CHANGES WITH 189:
3146
3147 * Support for reading structured kernel messages from
3148 /dev/kmsg has now been added and is enabled by default.
3149
3150 * Support for reading kernel messages from /proc/kmsg has now
3151 been removed. If you want kernel messages in the journal
3152 make sure to run a recent kernel (>= 3.5) that supports
3153 reading structured messages from /dev/kmsg (see
3154 above). /proc/kmsg is now exclusive property of classic
3155 syslog daemons again.
3156
3157 * The libudev API gained the new
3158 udev_device_new_from_device_id() call.
3159
3160 * The logic for file system namespace (ReadOnlyDirectory=,
3161 ReadWriteDirectoy=, PrivateTmp=) has been reworked not to
3162 require pivot_root() anymore. This means fewer temporary
3163 directories are created below /tmp for this feature.
3164
3165 * nspawn containers will now see and receive all submounts
3166 made on the host OS below the root file system of the
3167 container.
3168
3169 * Forward Secure Sealing is now supported for Journal files,
3170 which provide cryptographical sealing of journal files so
3171 that attackers cannot alter log history anymore without this
3172 being detectable. Lennart will soon post a blog story about
3173 this explaining it in more detail.
3174
3175 * There are two new service settings RestartPreventExitStatus=
3176 and SuccessExitStatus= which allow configuration of exit
3177 status (exit code or signal) which will be excepted from the
3178 restart logic, resp. consider successful.
3179
3180 * journalctl gained the new --verify switch that can be used
3181 to check the integrity of the structure of journal files and
3182 (if Forward Secure Sealing is enabled) the contents of
3183 journal files.
3184
3185 * nspawn containers will now be run with /dev/stdin, /dev/fd/
3186 and similar symlinks pre-created. This makes running shells
3187 as container init process a lot more fun.
3188
3189 * The fstab support can now handle PARTUUID= and PARTLABEL=
3190 entries.
3191
3192 * A new ConditionHost= condition has been added to match
3193 against the hostname (with globs) and machine ID. This is
3194 useful for clusters where a single OS image is used to
3195 provision a large number of hosts which shall run slightly
3196 different sets of services.
3197
3198 * Services which hit the restart limit will now be placed in a
3199 failure state.
3200
b6a86739 3201 Contributions from: Bertram Poettering, Dave Reisner, Huang
38a60d71
LP
3202 Hang, Kay Sievers, Lennart Poettering, Lukas Nykryn, Martin
3203 Pitt, Simon Peeters, Zbigniew Jędrzejewski-Szmek
3204
c269cec3
LP
3205CHANGES WITH 188:
3206
3207 * When running in --user mode systemd will now become a
3208 subreaper (PR_SET_CHILD_SUBREAPER). This should make the ps
3209 tree a lot more organized.
3210
3211 * A new PartOf= unit dependency type has been introduced that
3212 may be used to group services in a natural way.
3213
3214 * "systemctl enable" may now be used to enable instances of
3215 services.
3216
3217 * journalctl now prints error log levels in red, and
3218 warning/notice log levels in bright white. It also supports
3219 filtering by log level now.
3220
3221 * cgtop gained a new -n switch (similar to top), to configure
3222 the maximum number of iterations to run for. It also gained
3223 -b, to run in batch mode (accepting no input).
3224
ab06eef8 3225 * The suffix ".service" may now be omitted on most systemctl
c269cec3
LP
3226 command lines involving service unit names.
3227
3228 * There's a new bus call in logind to lock all sessions, as
3229 well as a loginctl verb for it "lock-sessions".
3230
3231 * libsystemd-logind.so gained a new call sd_journal_perror()
3232 that works similar to libc perror() but logs to the journal
3233 and encodes structured information about the error number.
3234
3235 * /etc/crypttab entries now understand the new keyfile-size=
3236 option.
3237
3238 * shutdown(8) now can send a (configurable) wall message when
3239 a shutdown is cancelled.
3240
3241 * The mount propagation mode for the root file system will now
3242 default to "shared", which is useful to make containers work
3243 nicely out-of-the-box so that they receive new mounts from
3244 the host. This can be undone locally by running "mount
3245 --make-rprivate /" if needed.
3246
3247 * The prefdm.service file has been removed. Distributions
3248 should maintain this unit downstream if they intend to keep
3249 it around. However, we recommend writing normal unit files
3250 for display managers instead.
3251
3252 * Since systemd is a crucial part of the OS we will now
3253 default to a number of compiler switches that improve
3254 security (hardening) such as read-only relocations, stack
3255 protection, and suchlike.
3256
3257 * The TimeoutSec= setting for services is now split into
3258 TimeoutStartSec= and TimeoutStopSec= to allow configuration
3259 of individual time outs for the start and the stop phase of
3260 the service.
3261
3262 Contributions from: Artur Zaprzala, Arvydas Sidorenko, Auke
3263 Kok, Bryan Kadzban, Dave Reisner, David Strauss, Harald Hoyer,
3264 Jim Meyering, Kay Sievers, Lennart Poettering, Mantas
3265 Mikulėnas, Martin Pitt, Michal Schmidt, Michal Sekletar, Peter
3266 Alfredsen, Shawn Landden, Simon Peeters, Terence Honles, Tom
3267 Gundersen, Zbigniew Jędrzejewski-Szmek
3268
c4f1b862
LP
3269CHANGES WITH 187:
3270
3271 * The journal and id128 C APIs are now fully documented as man
3272 pages.
3273
3274 * Extra safety checks have been added when transitioning from
3275 the initial RAM disk to the main system to avoid accidental
3276 data loss.
3277
c269cec3 3278 * /etc/crypttab entries now understand the new keyfile-offset=
c4f1b862
LP
3279 option.
3280
3281 * systemctl -t can now be used to filter by unit load state.
3282
3283 * The journal C API gained the new sd_journal_wait() call to
3284 make writing synchronous journal clients easier.
3285
3286 * journalctl gained the new -D switch to show journals from a
3287 specific directory.
3288
3289 * journalctl now displays a special marker between log
3290 messages of two different boots.
3291
3292 * The journal is now explicitly flushed to /var via a service
3293 systemd-journal-flush.service, rather than implicitly simply
3294 by seeing /var/log/journal to be writable.
3295
3296 * journalctl (and the journal C APIs) can now match for much
3297 more complex expressions, with alternatives and
3298 disjunctions.
3299
3300 * When transitioning from the initial RAM disk to the main
3301 system we will now kill all processes in a killing spree to
3302 ensure no processes stay around by accident.
3303
3304 * Three new specifiers may be used in unit files: %u, %h, %s
3305 resolve to the user name, user home directory resp. user
3306 shell. This is useful for running systemd user instances.
3307
3308 * We now automatically rotate journal files if their data
3309 object hash table gets a fill level > 75%. We also size the
3310 hash table based on the configured maximum file size. This
3311 together should lower hash collisions drastically and thus
3312 speed things up a bit.
3313
3314 * journalctl gained the new "--header" switch to introspect
3315 header data of journal files.
3316
3317 * A new setting SystemCallFilters= has been added to services
3318 which may be used to apply blacklists or whitelists to
3319 system calls. This is based on SECCOMP Mode 2 of Linux 3.5.
3320
3321 * nspawn gained a new --link-journal= switch (and quicker: -j)
3322 to link the container journal with the host. This makes it
3323 very easy to centralize log viewing on the host for all
3324 guests while still keeping the journal files separated.
3325
3326 * Many bugfixes and optimizations
3327
3328 Contributions from: Auke Kok, Eelco Dolstra, Harald Hoyer, Kay
3329 Sievers, Lennart Poettering, Malte Starostik, Paul Menzel, Rex
3330 Tsai, Shawn Landden, Tom Gundersen, Ville Skyttä, Zbigniew
3331 Jędrzejewski-Szmek
3332
b5b4c94a
LP
3333CHANGES WITH 186:
3334
3335 * Several tools now understand kernel command line arguments,
3336 which are only read when run in an initial RAM disk. They
3337 usually follow closely their normal counterparts, but are
3338 prefixed with rd.
3339
3340 * There's a new tool to analyze the readahead files that are
3341 automatically generated at boot. Use:
3342
3343 /usr/lib/systemd/systemd-readahead analyze /.readahead
3344
3345 * We now provide an early debug shell on tty9 if this enabled. Use:
3346
d1f9edaf 3347 systemctl enable debug-shell.service
b5b4c94a
LP
3348
3349 * All plymouth related units have been moved into the Plymouth
3350 package. Please make sure to upgrade your Plymouth version
3351 as well.
3352
3353 * systemd-tmpfiles now supports getting passed the basename of
3354 a configuration file only, in which case it will look for it
3355 in all appropriate directories automatically.
3356
3357 * udevadm info now takes a /dev or /sys path as argument, and
3358 does the right thing. Example:
3359
3360 udevadm info /dev/sda
3361 udevadm info /sys/class/block/sda
3362
3363 * systemctl now prints a warning if a unit is stopped but a
3364 unit that might trigger it continues to run. Example: a
3365 service is stopped but the socket that activates it is left
3366 running.
3367
3368 * "systemctl status" will now mention if the log output was
3369 shortened due to rotation since a service has been started.
3370
3371 * The journal API now exposes functions to determine the
3372 "cutoff" times due to rotation.
3373
3374 * journald now understands SIGUSR1 and SIGUSR2 for triggering
3375 immediately flushing of runtime logs to /var if possible,
3376 resp. for triggering immediate rotation of the journal
3377 files.
3378
3379 * It is now considered an error if a service is attempted to
3380 be stopped that is not loaded.
3381
3382 * XDG_RUNTIME_DIR now uses numeric UIDs instead of usernames.
3383
3384 * systemd-analyze now supports Python 3
3385
3386 * tmpfiles now supports cleaning up directories via aging
3387 where the first level dirs are always kept around but
3388 directories beneath it automatically aged. This is enabled
3389 by prefixing the age field with '~'.
3390
3391 * Seat objects now expose CanGraphical, CanTTY properties
3392 which is required to deal with very fast bootups where the
3393 display manager might be running before the graphics drivers
3394 completed initialization.
3395
3396 * Seat objects now expose a State property.
3397
3398 * We now include RPM macros for service enabling/disabling
3399 based on the preset logic. We recommend RPM based
3400 distributions to make use of these macros if possible. This
3401 makes it simpler to reuse RPM spec files across
3402 distributions.
3403
3404 * We now make sure that the collected systemd unit name is
3405 always valid when services log to the journal via
3406 STDOUT/STDERR.
3407
3408 * There's a new man page kernel-command-line(7) detailing all
3409 command line options we understand.
3410
3411 * The fstab generator may now be disabled at boot by passing
3412 fstab=0 on the kernel command line.
3413
91ac7425 3414 * A new kernel command line option modules-load= is now understood
b5b4c94a
LP
3415 to load a specific kernel module statically, early at boot.
3416
3417 * Unit names specified on the systemctl command line are now
3418 automatically escaped as needed. Also, if file system or
3419 device paths are specified they are automatically turned
3420 into the appropriate mount or device unit names. Example:
3421
3422 systemctl status /home
3423 systemctl status /dev/sda
3424
3425 * The SysVConsole= configuration option has been removed from
3426 system.conf parsing.
3427
3428 * The SysV search path is no longer exported on the D-Bus
3429 Manager object.
3430
3431 * The Names= option is been removed from unit file parsing.
3432
3433 * There's a new man page bootup(7) detailing the boot process.
3434
3435 * Every unit and every generator we ship with systemd now
3436 comes with full documentation. The self-explanatory boot is
3437 complete.
3438
3439 * A couple of services gained "systemd-" prefixes in their
3440 name if they wrap systemd code, rather than only external
3441 code. Among them fsck@.service which is now
3442 systemd-fsck@.service.
3443
3444 * The HaveWatchdog property has been removed from the D-Bus
3445 Manager object.
3446
3447 * systemd.confirm_spawn= on the kernel command line should now
3448 work sensibly.
3449
3450 * There's a new man page crypttab(5) which details all options
3451 we actually understand.
3452
3453 * systemd-nspawn gained a new --capability= switch to pass
3454 additional capabilities to the container.
3455
3456 * timedated will now read known NTP implementation unit names
5b00c016 3457 from /usr/lib/systemd/ntp-units.d/*.list,
b5b4c94a
LP
3458 systemd-timedated-ntp.target has been removed.
3459
3460 * journalctl gained a new switch "-b" that lists log data of
3461 the current boot only.
3462
3463 * The notify socket is in the abstract namespace again, in
3464 order to support daemons which chroot() at start-up.
3465
3466 * There is a new Storage= configuration option for journald
3467 which allows configuration of where log data should go. This
3468 also provides a way to disable journal logging entirely, so
3469 that data collected is only forwarded to the console, the
3470 kernel log buffer or another syslog implementation.
3471
c4f1b862 3472 * Many bugfixes and optimizations
b5b4c94a 3473
2d938ac7
LP
3474 Contributions from: Auke Kok, Colin Guthrie, Dave Reisner,
3475 David Strauss, Eelco Dolstra, Kay Sievers, Lennart Poettering,
3476 Lukas Nykryn, Michal Schmidt, Michal Sekletar, Paul Menzel,
3477 Shawn Landden, Tom Gundersen
b5b4c94a 3478
2d197285 3479CHANGES WITH 185:
b6a86739 3480
2d197285
KS
3481 * "systemctl help <unit>" now shows the man page if one is
3482 available.
3483
3484 * Several new man pages have been added.
3485
b5b4c94a
LP
3486 * MaxLevelStore=, MaxLevelSyslog=, MaxLevelKMsg=,
3487 MaxLevelConsole= can now be specified in
3488 journald.conf. These options allow reducing the amount of
3489 data stored on disk or forwarded by the log level.
2d197285 3490
b5b4c94a
LP
3491 * TimerSlackNSec= can now be specified in system.conf for
3492 PID1. This allows system-wide power savings.
2d197285
KS
3493
3494 Contributions from: Dave Reisner, Kay Sievers, Lauri Kasanen,
3495 Lennart Poettering, Malte Starostik, Marc-Antoine Perennou,
3496 Matthias Clasen
3497
4c8cd173 3498CHANGES WITH 184:
b6a86739 3499
4c8cd173
LP
3500 * logind is now capable of (optionally) handling power and
3501 sleep keys as well as the lid switch.
3502
3503 * journalctl now understands the syntax "journalctl
3504 /usr/bin/avahi-daemon" to get all log output of a specific
3505 daemon.
3506
3507 * CapabilityBoundingSet= in system.conf now also influences
3508 the capability bound set of usermode helpers of the kernel.
3509
3510 Contributions from: Daniel Drake, Daniel J. Walsh, Gert
3511 Michael Kulyk, Harald Hoyer, Jean Delvare, Kay Sievers,
3512 Lennart Poettering, Matthew Garrett, Matthias Clasen, Paul
3513 Menzel, Shawn Landden, Tero Roponen, Tom Gundersen
3514
ea5943d3 3515CHANGES WITH 183:
b6a86739 3516
187076d4
LP
3517 * Note that we skipped 139 releases here in order to set the
3518 new version to something that is greater than both udev's
3519 and systemd's most recent version number.
3520
194bbe33
KS
3521 * udev: all udev sources are merged into the systemd source tree now.
3522 All future udev development will happen in the systemd tree. It
3523 is still fully supported to use the udev daemon and tools without
3524 systemd running, like in initramfs or other init systems. Building
3525 udev though, will require the *build* of the systemd tree, but
ea5943d3 3526 udev can be properly *run* without systemd.
07cd4fc1 3527
91cf7e5c 3528 * udev: /lib/udev/devices/ are not read anymore; systemd-tmpfiles
f13b388f
KS
3529 should be used to create dead device nodes as workarounds for broken
3530 subsystems.
64661ee7 3531
2d13da88
KS
3532 * udev: RUN+="socket:..." and udev_monitor_new_from_socket() is
3533 no longer supported. udev_monitor_new_from_netlink() needs to be
3534 used to subscribe to events.
3535
194bbe33
KS
3536 * udev: when udevd is started by systemd, processes which are left
3537 behind by forking them off of udev rules, are unconditionally cleaned
3538 up and killed now after the event handling has finished. Services or
3539 daemons must be started as systemd services. Services can be
ea5943d3 3540 pulled-in by udev to get started, but they can no longer be directly
194bbe33
KS
3541 forked by udev rules.
3542
f13b388f
KS
3543 * udev: the daemon binary is called systemd-udevd now and installed
3544 in /usr/lib/systemd/. Standalone builds or non-systemd systems need
3545 to adapt to that, create symlink, or rename the binary after building
3546 it.
3547
ea5943d3 3548 * libudev no longer provides these symbols:
c1959569
KS
3549 udev_monitor_from_socket()
3550 udev_queue_get_failed_list_entry()
3551 udev_get_{dev,sys,run}_path()
ea5943d3 3552 The versions number was bumped and symbol versioning introduced.
c1959569 3553
ea5943d3 3554 * systemd-loginctl and systemd-journalctl have been renamed
9ae9afce 3555 to loginctl and journalctl to match systemctl.
18b754d3
KS
3556
3557 * The config files: /etc/systemd/systemd-logind.conf and
3558 /etc/systemd/systemd-journald.conf have been renamed to
3559 logind.conf and journald.conf. Package updates should rename
3560 the files to the new names on upgrade.
3561
ea5943d3
LP
3562 * For almost all files the license is now LGPL2.1+, changed
3563 from the previous GPL2.0+. Exceptions are some minor stuff
3564 of udev (which will be changed to LGPL2.1 eventually, too),
3565 and the MIT licensed sd-daemon.[ch] library that is suitable
3566 to be used as drop-in files.
3567
3568 * systemd and logind now handle system sleep states, in
49f43d5f 3569 particular suspending and hibernating.
ea5943d3
LP
3570
3571 * logind now implements a sleep/shutdown/idle inhibiting logic
3572 suitable for a variety of uses. Soonishly Lennart will blog
3573 about this in more detail.
3574
3575 * var-run.mount and var-lock.mount are no longer provided
3576 (which prevously bind mounted these directories to their new
3577 places). Distributions which have not converted these
3578 directories to symlinks should consider stealing these files
3579 from git history and add them downstream.
3580
3581 * We introduced the Documentation= field for units and added
3582 this to all our shipped units. This is useful to make it
3943231c 3583 easier to explore the boot and the purpose of the various
ea5943d3
LP
3584 units.
3585
3586 * All smaller setup units (such as
3587 systemd-vconsole-setup.service) now detect properly if they
3588 are run in a container and are skipped when
3589 appropriate. This guarantees an entirely noise-free boot in
3590 Linux container environments such as systemd-nspawn.
3591
3592 * A framework for implementing offline system updates is now
3593 integrated, for details see:
3594 http://freedesktop.org/wiki/Software/systemd/SystemUpdates
3595
3596 * A new service type Type=idle is available now which helps us
3597 avoiding ugly interleaving of getty output and boot status
3598 messages.
3599
439d6dfd
LP
3600 * There's now a system-wide CapabilityBoundingSet= option to
3601 globally reduce the set of capabilities for the
ea5943d3
LP
3602 system. This is useful to drop CAP_SYS_MKNOD, CAP_SYS_RAWIO,
3603 CAP_NET_RAW, CAP_SYS_MODULE, CAP_SYS_TIME, CAP_SYS_PTRACE or
3604 even CAP_NET_ADMIN system-wide for secure systems.
3605
3606 * There are now system-wide DefaultLimitXXX= options to
3607 globally change the defaults of the various resource limits
3608 for all units started by PID 1.
3609
3610 * Harald Hoyer's systemd test suite has been integrated into
3611 systemd which allows easy testing of systemd builds in qemu
3612 and nspawn. (This is really awesome! Ask us for details!)
3613
3943231c
LP
3614 * The fstab parser is now implemented as generator, not inside
3615 of PID 1 anymore.
ea5943d3
LP
3616
3617 * systemctl will now warn you if .mount units generated from
3618 /etc/fstab are out of date due to changes in fstab that
d28315e4 3619 have not been read by systemd yet.
ea5943d3
LP
3620
3621 * systemd is now suitable for usage in initrds. Dracut has
3622 already been updated to make use of this. With this in place
3623 initrds get a slight bit faster but primarily are much
3624 easier to introspect and debug since "systemctl status" in
3625 the host system can be used to introspect initrd services,
3626 and the journal from the initrd is kept around too.
3627
3628 * systemd-delta has been added, a tool to explore differences
3629 between user/admin configuration and vendor defaults.
3630
3631 * PrivateTmp= now affects both /tmp and /var/tmp.
3632
3633 * Boot time status messages are now much prettier and feature
3634 proper english language. Booting up systemd has never been
3635 so sexy.
3636
3637 * Read-ahead pack files now include the inode number of all
3638 files to pre-cache. When the inode changes the pre-caching
3639 is not attempted. This should be nicer to deal with updated
3640 packages which might result in changes of read-ahead
3641 patterns.
3642
3643 * We now temporaritly lower the kernel's read_ahead_kb variable
3644 when collecting read-ahead data to ensure the kernel's
3645 built-in read-ahead does not add noise to our measurements
3646 of necessary blocks to pre-cache.
3647
3648 * There's now RequiresMountsFor= to add automatic dependencies
3649 for all mounts necessary for a specific file system path.
3650
3651 * MountAuto= and SwapAuto= have been removed from
3652 system.conf. Mounting file systems at boot has to take place
3653 in systemd now.
3654
3655 * nspawn now learned a new switch --uuid= to set the machine
3656 ID on the command line.
3657
f8c0a2cb 3658 * nspawn now learned the -b switch to automatically search
ea5943d3
LP
3659 for an init system.
3660
3661 * vt102 is now the default TERM for serial TTYs, upgraded from
3662 vt100.
3663
3664 * systemd-logind now works on VT-less systems.
3665
3666 * The build tree has been reorganized. The individual
3943231c 3667 components now have directories of their own.
ea5943d3
LP
3668
3669 * A new condition type ConditionPathIsReadWrite= is now available.
3670
3671 * nspawn learned the new -C switch to create cgroups for the
3672 container in other hierarchies.
3673
3674 * We now have support for hardware watchdogs, configurable in
3675 system.conf.
3676
3677 * The scheduled shutdown logic now has a public API.
3678
3679 * We now mount /tmp as tmpfs by default, but this can be
3680 masked and /etc/fstab can override it.
3681
d28315e4 3682 * Since udisks does not make use of /media anymore we are not
ea5943d3
LP
3683 mounting a tmpfs on it anymore.
3684
3685 * journalctl gained a new --local switch to only interleave
3686 locally generated journal files.
3687
3688 * We can now load the IMA policy at boot automatically.
3689
3690 * The GTK tools have been split off into a systemd-ui.
3691
79849bf9
LP
3692 Contributions from: Andreas Schwab, Auke Kok, Ayan George,
3693 Colin Guthrie, Daniel Mack, Dave Reisner, David Ward, Elan
3694 Ruusamäe, Frederic Crozat, Gergely Nagy, Guillermo Vidal,
3695 Hannes Reinecke, Harald Hoyer, Javier Jardón, Kay Sievers,
3696 Lennart Poettering, Lucas De Marchi, Léo Gillot-Lamure,
3697 Marc-Antoine Perennou, Martin Pitt, Matthew Monaco, Maxim
3698 A. Mikityanskiy, Michael Biebl, Michael Olbrich, Michal
3699 Schmidt, Nis Martensen, Patrick McCarty, Roberto Sassu, Shawn
3700 Landden, Sjoerd Simons, Sven Anders, Tollef Fog Heen, Tom
3701 Gundersen
3702
16f1239e 3703CHANGES WITH 44:
b6a86739 3704
16f1239e
LP
3705 * This is mostly a bugfix release
3706
3707 * Support optional initialization of the machine ID from the
3708 KVM or container configured UUID.
3709
3710 * Support immediate reboots with "systemctl reboot -ff"
3711
3712 * Show /etc/os-release data in systemd-analyze output
3713
ab06eef8 3714 * Many bugfixes for the journal, including endianness fixes and
16f1239e
LP
3715 ensuring that disk space enforcement works
3716
3717 * sd-login.h is C++ comptaible again
3718
3719 * Extend the /etc/os-release format on request of the Debian
3720 folks
3721
3722 * We now refuse non-UTF8 strings used in various configuration
d28315e4 3723 and unit files. This is done to ensure we do not pass invalid
16f1239e
LP
3724 data over D-Bus or expose it elsewhere.
3725
3726 * Register Mimo USB Screens as suitable for automatic seat
3727 configuration
3728
3729 * Read SELinux client context from journal clients in a race
3730 free fashion
3731
3732 * Reorder configuration file lookup order. /etc now always
3733 overrides /run in order to allow the administrator to always
3734 and unconditionally override vendor supplied or
3735 automatically generated data.
3736
3737 * The various user visible bits of the journal now have man
3738 pages. We still lack man pages for the journal API calls
3739 however.
3740
3741 * We now ship all man pages in HTML format again in the
3742 tarball.
3743
3744 Contributions from: Dave Reisner, Dirk Eibach, Frederic
3745 Crozat, Harald Hoyer, Kay Sievers, Lennart Poettering, Marti
3746 Raudsepp, Michal Schmidt, Shawn Landden, Tero Roponen, Thierry
3747 Reding
3748
437b7dee 3749CHANGES WITH 43:
b6a86739 3750
437b7dee
LP
3751 * This is mostly a bugfix release
3752
3753 * systems lacking /etc/os-release are no longer supported.
3754
3755 * Various functionality updates to libsystemd-login.so
3756
3757 * Track class of PAM logins to distuingish greeters from
3758 normal user logins.
3759
3760 Contributions from: Kay Sievers, Lennart Poettering, Michael
3761 Biebl
3762
204fa33c 3763CHANGES WITH 42:
b6a86739 3764
204fa33c
LP
3765 * This is an important bugfix release for v41.
3766
3767 * Building man pages is now optional which should be useful
3768 for those building systemd from git but unwilling to install
3769 xsltproc.
3770
3771 * Watchdog support for supervising services is now usable. In
3772 a future release support for hardware watchdogs
3773 (i.e. /dev/watchdog) will be added building on this.
3774
3775 * Service start rate limiting is now configurable and can be
3776 turned off per service. When a start rate limit is hit a
3777 reboot can automatically be triggered.
3778
3779 * New CanReboot(), CanPowerOff() bus calls in systemd-logind.
3780
3781 Contributions from: Benjamin Franzke, Bill Nottingham,
3782 Frederic Crozat, Lennart Poettering, Michael Olbrich, Michal
3783 Schmidt, Michał Górny, Piotr Drąg
3784
e0d25329 3785CHANGES WITH 41:
b6a86739 3786
e0d25329
KS
3787 * The systemd binary is installed /usr/lib/systemd/systemd now;
3788 An existing /sbin/init symlink needs to be adapted with the
3789 package update.
3790
b13df964
LP
3791 * The code that loads kernel modules has been ported to invoke
3792 libkmod directly, instead of modprobe. This means we do not
3793 support systems with module-init-tools anymore.
3794
3795 * Watchdog support is now already useful, but still not
3796 complete.
3797
3798 * A new kernel command line option systemd.setenv= is
3799 understood to set system wide environment variables
3800 dynamically at boot.
3801
e9c1ea9d 3802 * We now limit the set of capabilities of systemd-journald.
ccd07a08 3803
353e12c2
LP
3804 * We now set SIGPIPE to ignore by default, since it only is
3805 useful in shell pipelines, and has little use in general
3806 code. This can be disabled with IgnoreSIPIPE=no in unit
3807 files.
3808
b13df964
LP
3809 Contributions from: Benjamin Franzke, Kay Sievers, Lennart
3810 Poettering, Michael Olbrich, Michal Schmidt, Tom Gundersen,
3811 William Douglas
3812
d26e4270 3813CHANGES WITH 40:
b6a86739 3814
d26e4270
LP
3815 * This is mostly a bugfix release
3816
3817 * We now expose the reason why a service failed in the
3818 "Result" D-Bus property.
3819
3820 * Rudimentary service watchdog support (will be completed over
3821 the next few releases.)
3822
3823 * When systemd forks off in order execute some service we will
3824 now immediately changes its argv[0] to reflect which process
3825 it will execute. This is useful to minimize the time window
3826 with a generic argv[0], which makes bootcharts more useful
3827
b13df964
LP
3828 Contributions from: Alvaro Soliverez, Chris Paulson-Ellis, Kay
3829 Sievers, Lennart Poettering, Michael Olbrich, Michal Schmidt,
3830 Mike Kazantsev, Ray Strode
3831
220a21d3 3832CHANGES WITH 39:
b6a86739 3833
220a21d3
LP
3834 * This is mostly a test release, but incorporates many
3835 bugfixes.
3836
3837 * New systemd-cgtop tool to show control groups by their
3838 resource usage.
3839
3840 * Linking against libacl for ACLs is optional again. If
3841 disabled, support tracking device access for active logins
3842 goes becomes unavailable, and so does access to the user
3843 journals by the respective users.
3844
3845 * If a group "adm" exists, journal files are automatically
3846 owned by them, thus allow members of this group full access
3847 to the system journal as well as all user journals.
3848
3849 * The journal now stores the SELinux context of the logging
3850 client for all entries.
3851
3852 * Add C++ inclusion guards to all public headers
3853
3854 * New output mode "cat" in the journal to print only text
3855 messages, without any meta data like date or time.
3856
3857 * Include tiny X server wrapper as a temporary stop-gap to
3858 teach XOrg udev display enumeration. This is used by display
3859 managers such as gdm, and will go away as soon as XOrg
3860 learned native udev hotplugging for display devices.
3861
3862 * Add new systemd-cat tool for executing arbitrary programs
3863 with STDERR/STDOUT connected to the journal. Can also act as
3864 BSD logger replacement, and does so by default.
3865
3866 * Optionally store all locally generated coredumps in the
3867 journal along with meta data.
3868
3869 * systemd-tmpfiles learnt four new commands: n, L, c, b, for
3870 writing short strings to files (for usage for /sys), and for
3871 creating symlinks, character and block device nodes.
3872
3873 * New unit file option ControlGroupPersistent= to make cgroups
3874 persistent, following the mechanisms outlined in
3875 http://www.freedesktop.org/wiki/Software/systemd/PaxControlGroups
3876
3877 * Support multiple local RTCs in a sane way
3878
3879 * No longer monopolize IO when replaying readahead data on
3880 rotating disks, since we might starve non-file-system IO to
3881 death, since fanotify() will not see accesses done by blkid,
3882 or fsck.
3883
d28315e4 3884 * Do not show kernel threads in systemd-cgls anymore, unless
220a21d3
LP
3885 requested with new -k switch.
3886
3887 Contributions from: Dan Horák, Kay Sievers, Lennart
3888 Poettering, Michal Schmidt
3889
3890CHANGES WITH 38:
b6a86739 3891
220a21d3
LP
3892 * This is mostly a test release, but incorporates many
3893 bugfixes.
3894
3895 * The git repository moved to:
3896 git://anongit.freedesktop.org/systemd/systemd
3897 ssh://git.freedesktop.org/git/systemd/systemd
3898
3899 * First release with the journal
3900 http://0pointer.de/blog/projects/the-journal.html
3901
3902 * The journal replaces both systemd-kmsg-syslogd and
3903 systemd-stdout-bridge.
3904
3905 * New sd_pid_get_unit() API call in libsystemd-logind
3906
3907 * Many systemadm clean-ups
3908
3909 * Introduce remote-fs-pre.target which is ordered before all
3910 remote mounts and may be used to start services before all
3911 remote mounts.
3912
3913 * Added Mageia support
3914
3915 * Add bash completion for systemd-loginctl
3916
3917 * Actively monitor PID file creation for daemons which exit in
3918 the parent process before having finished writing the PID
3919 file in the daemon process. Daemons which do this need to be
3920 fixed (i.e. PID file creation must have finished before the
3921 parent exits), but we now react a bit more gracefully to them.
3922
3923 * Add colourful boot output, mimicking the well-known output
3924 of existing distributions.
3925
3926 * New option PassCredentials= for socket units, for
3927 compatibility with a recent kernel ABI breakage.
3928
3929 * /etc/rc.local is now hooked in via a generator binary, and
3930 thus will no longer act as synchronization point during
3931 boot.
3932
3933 * systemctl list-unit-files now supports --root=.
3934
3935 * systemd-tmpfiles now understands two new commands: z, Z for
3936 relabelling files according to the SELinux database. This is
3937 useful to apply SELinux labels to specific files in /sys,
3938 among other things.
3939
3940 * Output of SysV services is now forwarded to both the console
3941 and the journal by default, not only just the console.
3942
3943 * New man pages for all APIs from libsystemd-login.
3944
3945 * The build tree got reorganized and a the build system is a
3946 lot more modular allowing embedded setups to specifically
3947 select the components of systemd they are interested in.
3948
3949 * Support for Linux systems lacking the kernel VT subsystem is
3950 restored.
3951
3952 * configure's --with-rootdir= got renamed to
3953 --with-rootprefix= to follow the naming used by udev and
3954 kmod
3955
d28315e4 3956 * Unless specified otherwise we will now install to /usr instead
220a21d3
LP
3957 of /usr/local by default.
3958
3959 * Processes with '@' in argv[0][0] are now excluded from the
3960 final shut-down killing spree, following the logic explained
3961 in:
3962 http://www.freedesktop.org/wiki/Software/systemd/RootStorageDaemons
3963
3964 * All processes remaining in a service cgroup when we enter
3965 the START or START_PRE states are now killed with
3966 SIGKILL. That means it is no longer possible to spawn
3967 background processes from ExecStart= lines (which was never
3968 supported anyway, and bad style).
3969
3970 * New PropagateReloadTo=/PropagateReloadFrom= options to bind
3971 reloading of units together.
3972
4c8cd173 3973 Contributions from: Bill Nottingham, Daniel J. Walsh, Dave
220a21d3
LP
3974 Reisner, Dexter Morgan, Gregs Gregs, Jonathan Nieder, Kay
3975 Sievers, Lennart Poettering, Michael Biebl, Michal Schmidt,
3976 Michał Górny, Ran Benita, Thomas Jarosch, Tim Waugh, Tollef
3977 Fog Heen, Tom Gundersen, Zbigniew Jędrzejewski-Szmek