1 systemd System and Service Manager
5 * systemd now depends on util-linux v2.27. More specifically,
6 the newly added mount monitor feature in libmount now
7 replaces systemd's former own implementation.
9 * libmount mandates /etc/mtab not to be regular file, and
10 systemd now enforces this condition at early boot.
11 /etc/mtab has been deprecated and warned about for a very
12 long time, so systems running systemd should already have
13 stopped having this file around as anything else than a
14 symlink to /proc/self/mounts.
16 * Support for the "pids" cgroup controller has been added. It
17 allows accounting the number of tasks in a cgroup and
18 enforcing limits on it. This adds two new setting
19 TasksAccounting= and TasksMax= to each unit, as well as a
20 global option DefaultTasksAccounting=.
22 * Support for the "net_cls" cgroup controller has been added.
23 It allows assigning a net class ID to each task in the
24 cgroup, which can then be used in firewall rules and traffic
25 shaping configurations. Note that the kernel netfilter net
26 class code does not currently work reliably for ingress
27 packets on unestablished sockets.
29 This adds a new config directive called NetClass= to CGroup
30 enabled units. Allowed values are positive numbers for fixed
31 assignments and "auto" for picking a free value
34 * 'systemctl is-system-running' now returns 'offline' if the
35 system is not booted with systemd. This command can now be
36 used as a substitute for 'systemd-notify --booted'.
38 * Watchdog timeouts have been increased to 3 minutes for all
39 in-tree service files. Apparently, disk IO issues are more
40 frequent than we hoped, and user reported >1 minute waiting
43 * 'machine-id-commit' functionality has been merged into
44 'machine-id-setup --commit'. The separate binary has been
47 * The WorkingDirectory= directive in unit files may now be set
48 to the special value '~'. In this case, the working
49 directory is set to the home directory of the user
52 * "machinectl shell" will now open the shell in the home
53 directory of the selected user by default.
55 * The CrashChVT= configuration file setting is renamed to
56 CrashChangeVT=, following our usual logic of not
57 abbreviating unnecessarily. The old directive is still
58 supported for compat reasons. Also, this directive now takes
59 an integer value between 1 and 63, or a boolean value. The
60 formerly supported '-1' value for disabling stays around for
63 * The PrivateTmp=, PrivateDevices=, PrivateNetwork=,
64 NoNewPrivileges=, TTYPath=, WorkingDirectory= and
65 RootDirectory= properties can now be set for transient
68 * The systemd-analyze tool gained a new "set-log-target" verb
69 to change the logging target the system manager logs to
70 dynamically during runtime. This is similar to how
71 "systemd-analyze set-log-level" already changes the log
74 * In nspawn /sys is now mounted as tmpfs, with only a selected
75 set of subdirectories mounted in from the real sysfs. This
76 enhances security slightly, and is useful for ensuring user
77 namespaces work correctly.
79 * Support for USB FunctionFS activation has been added. This
80 allows implementation of USB gadget services that are
81 activated as soon as they are requested, so that they don't
82 have to run continously, similar to classic socket
85 * The "systemctl exit" command now optionally takes an
86 additional parameter that sets the exit code to return from
87 the systemd manager when exiting. This is only relevant when
88 running the systemd user instance, or when running the
89 system instance in a container.
91 * sd-bus gained the new API calls sd_bus_path_encode_many()
92 and sd_bus_path_decode_many() that allow easy encoding and
93 decoding of multiple identifier strings inside a D-Bus
94 object path. Another new call sd_bus_default_flush_close()
95 has been added to flush and close per-thread default
98 * systemd-cgtop gained support for a -M/--machine= switch to
99 show the control groups within a certain container only.
101 * "systemctl kill" gained support for an optional --fail
102 switch. If specified the requested operation will fail of no
103 processes have been killed, because the unit had no
104 processes attached, or similar.
106 * A new systemd.crash_reboot=1 kernel command line option has
107 been added that triggers a reboot after crashing. This can
108 also be set through CrashReboot= in systemd.conf.
110 * The RuntimeDirectory= setting now understands unit
111 specifiers like %i or %f.
113 * A new (still internal) libary API sd-ipv4acd has been added,
114 that implements address conflict detection for IPv4. It's
115 based on code from sd-ipv4ll, and will be useful for
116 detecting DHCP address conflicts.
118 * File descriptors passed during socket activation may now be
119 named. A new API sd_listen_fds_with_names() is added to
120 access the names. The default names may be overriden,
121 either in the .socket file using the FileDescriptorName=
122 parameter, or by passing FDNAME= when storing the file
123 descriptors using sd_notify().
125 * systemd-networkd gained support for:
127 - Setting the IPv6 Router Advertisment settings via
128 IPv6AcceptRouterAdvertisements= in .network files.
130 - Configuring the HelloTimeSec=, MaxAgeSec= and
131 ForwardDelaySec= bridge parameters in .netdev files.
133 - Configuring PreferredSource= for static routes in
136 * The "ask-password" framework used to query for LUKS harddisk
137 passwords or SSL passwords during boot gained support for
138 caching passwords in the kernel keyring, if it is
139 available. This makes sure that the user only has to type in
140 a passphrase once if there are multiple objects to unlock
141 with the same one. Previously, such password caching was
142 available only when Plymouth was used; this moves the
143 caching logic into the systemd codebase itself. The
144 "systemd-ask-password" utility gained a new --keyname=
145 switch to control which kernel keyring key to use for
146 caching a password in. This functionality is also useful for
147 enabling display managers such as gdm to automatically
148 unlock the user's GNOME keyring if its passphrase, the
149 user's password and the harddisk password are the same, if
150 gdm-autologin is used.
152 * When downloading tar or raw images using "machinectl
153 pull-tar" or "machinectl pull-raw", a matching ".nspawn"
154 file is now also downloaded, if it is available and stored
155 next to the image file.
157 * Units of type ".socket" gained a new boolean setting
158 Writable= which is only useful in conjunction with
159 ListenSpecial=. If true, enables opening the specified
160 special file in O_RDWR mode rather than O_RDONLY mode.
162 * systemd-rfkill has been reworked to become a singleton
163 service that is activated through /dev/rfkill on each rfkill
164 state change and saves the settings to disk. This way,
165 systemd-rfkill is now compatible with devices that exist
166 only intermittendly, and even restores state if the previous
167 system shutdown was abrupt rather than clean.
169 * The journal daemon gained support for vacuuming old journal
170 files controlled by the number of files that shall remain,
171 in addition to the already existing control by size and by
172 date. This is useful as journal interleaving performance
173 degrades with too many seperate journal files, and allows
174 putting an effective limit on them. The new setting defaults
175 to 100, but this may be changed by setting SystemMaxFiles=
176 and RuntimeMaxFiles= in journald.conf. Also, the
177 "journalctl" tool gained the new --vacuum-files= switch to
178 manually vacuum journal files to leave only the specified
179 number of files in place.
181 * udev will now create /dev/disk/by-path links for ATA devices
182 on kernels where that is supported.
184 * Galician, Serbian, Turkish and Korean translations were added.
186 Contributions from: Aaro Koskinen, Alban Crequy, Beniamino
187 Galvani, Benjamin Robin, Branislav Blaskovic, Chen-Han Hsiao
188 (Stanley), Daniel Buch, Daniel Machon, Daniel Mack, David
189 Herrmann, David Milburn, doubleodoug, Evgeny Vereshchagin,
190 Felipe Franciosi, Filipe Brandenburger, Fran Dieguez, Gabriel
191 de Perthuis, Georg Müller, Hans de Goede, Hendrik Brueckner,
192 Ivan Shapovalov, Jacob Keller, Jan Engelhardt, Jan Janssen,
193 Jan Synacek, Jens Kuske, Karel Zak, Kay Sievers, Krzesimir
194 Nowak, Krzysztof Kotlenga, Lars Uebernickel, Lennart
195 Poettering, Lukas Nykryn, Łukasz Stelmach, Maciej Wereski,
196 Marcel Holtmann, Marius Thesing, Martin Pitt, Michael Biebl,
197 Michael Gebetsroither, Michal Schmidt, Michal Sekletar, Mike
198 Gilbert, Muhammet Kara, nazgul77, Nicolas Cornu, NoXPhasma,
199 Olof Johansson, Patrik Flykt, Pawel Szewczyk, reverendhomer,
200 Ronny Chevalier, Sangjung Woo, Seong-ho Cho, Susant Sahani,
201 Sylvain Plantefève, Thomas Haller, Thomas Hindoe Paaboel
202 Andersen, Tom Gundersen, Tom Lyon, Viktar Vauchkevich,
203 Zbigniew Jędrzejewski-Szmek, Марко М. Костић
205 -- Berlin, 2015-10-07
209 * The DHCP implementation of systemd-networkd gained a set of
212 - The DHCP server now supports emitting DNS and NTP
213 information. It may be enabled and configured via
214 EmitDNS=, DNS=, EmitNTP=, and NTP=. If transmission of DNS
215 and NTP information is enabled, but no servers are
216 configured, the corresponding uplink information (if there
217 is any) is propagated.
219 - Server and client now support transmission and reception
220 of timezone information. It can be configured via the
221 newly introduced network options UseTimezone=,
222 EmitTimezone=, and Timezone=. Transmission of timezone
223 information is enabled between host and containers by
224 default now: the container will change its local timezone
225 to what the host has set.
227 - Lease timeouts can now be configured via
228 MaxLeaseTimeSec= and DefaultLeaseTimeSec=.
230 - The DHCP server improved on the stability of
231 leases. Clients are more likely to get the same lease
232 information back, even if the server loses state.
234 - The DHCP server supports two new configuration options to
235 control the lease address pool metrics, PoolOffset= and
238 * The encapsulation limit of tunnels in systemd-networkd may
239 now be configured via 'EncapsulationLimit='. It allows
240 modifying the maximum additional levels of encapsulation
241 that are permitted to be prepended to a packet.
243 * systemd now supports the concept of user buses replacing
244 session buses, if used with dbus-1.10 (and enabled via dbus
245 --enable-user-session). It previously only supported this on
246 kdbus-enabled systems, and this release expands this to
247 'dbus-daemon' systems.
249 * systemd-networkd now supports predictable interface names
252 * systemd now optionally supports the new Linux kernel
253 "unified" control group hierarchy. If enabled via the kernel
254 command-line option 'systemd.unified_cgroup_hierarchy=1',
255 systemd will try to mount the unified cgroup hierarchy
256 directly on /sys/fs/cgroup. If not enabled, or not
257 available, systemd will fall back to the legacy cgroup
258 hierarchy setup, as before. Host system and containers can
259 mix and match legacy and unified hierarchies as they
260 wish. nspawn understands the $UNIFIED_CROUP_HIERARCHY
261 environment variable to individually select the hierarchy to
262 use for executed containers. By default, nspawn will use the
263 unified hierarchy for the containers if the host uses the
264 unified hierarchy, and the legacy hierarchy otherwise.
265 Please note that at this point the unified hierarchy is an
266 experimental kernel feature and is likely to change in one
267 of the next kernel releases. Therefore, it should not be
268 enabled by default in downstream distributions yet. The
269 minimum required kernel version for the unified hierarchy to
270 work is 4.2. Note that when the unified hierarchy is used
271 for the first time delegated access to controllers is
272 safe. Because of this systemd-nspawn containers will get
273 access to controllers now, as will systemd user
274 sessions. This means containers and user sessions may now
275 manage their own resources, partitioning up what the system
278 * A new special scope unit "init.scope" has been introduced
279 that encapsulates PID 1 of the system. It may be used to
280 determine resource usage and enforce resource limits on PID
281 1 itself. PID 1 hence moved out of the root of the control
284 * The cgtop tool gained support for filtering out kernel
285 threads when counting tasks in a control group. Also, the
286 count of processes is now recursively summed up by
287 default. Two options -k and --recursive= have been added to
288 revert to old behaviour. The tool has also been updated to
289 work correctly in containers now.
291 * systemd-nspawn's --bind= and --bind-ro= options have been
292 extended to allow creation of non-recursive bind mounts.
294 * libsystemd gained two new calls sd_pid_get_cgroup() and
295 sd_peer_get_cgroup() which return the control group path of
296 a process or peer of a connected AF_UNIX socket. This
297 function call is particularly useful when implementing
298 delegated subtrees support in the control group hierarchy.
300 * The "sd-event" event loop API of libsystemd now supports
301 correct dequeuing of real-time signals, without losing
304 * When systemd requests a PolicyKit decision when managing
305 units it will now add additional fields to the request,
306 including unit name and desired operation. This enables more
307 powerful PolicyKit policies, that make decisions depending
310 * nspawn learnt support for .nspawn settings files, that may
311 accompany the image files or directories of containers, and
312 may contain additional settings for the container. This is
313 an alternative to configuring container parameters via the
316 Contributions from: Cristian Rodríguez, Daniel Mack, David
317 Herrmann, Eugene Yakubovich, Evgeny Vereshchagin, Filipe
318 Brandenburger, Hans de Goede, Jan Alexander Steffens, Jan
319 Synacek, Kay Sievers, Lennart Poettering, Mangix, Marcel
320 Holtmann, Martin Pitt, Michael Biebl, Michael Chapman, Michal
321 Sekletar, Peter Hutterer, Piotr Drąg, reverendhomer, Robin
322 Hack, Susant Sahani, Sylvain Pasche, Thomas Hindoe Paaboel
323 Andersen, Tom Gundersen, Torstein Husebø
325 -- Berlin, 2015-09-08
329 * machinectl gained a new verb 'shell' which opens a fresh
330 shell on the target container or the host. It is similar to
331 the existing 'login' command of machinectl, but spawns the
332 shell directly without prompting for username or
333 password. The pseudo machine '.host' now refers to the local
334 host and is used by default. Hence, 'machinectl shell' can
335 be used as replacement for 'su -' which spawns a session as
336 a fresh systemd unit in a way that is fully isolated from
337 the originating session.
339 * systemd-networkd learned to cope with private-zone DHCP
340 options and allows other programs to query the values.
342 * SELinux access control when enabling/disabling units is no
343 longer enforced with this release. The previous
344 implementation was incorrect, and a new corrected
345 implementation is not yet available. As unit file operations
346 are still protected via PolicyKit and D-Bus policy this is
347 not a security problem. Yet, distributions which care about
348 optimal SELinux support should probably not stabilize on
351 * sd-bus gained support for matches of type "arg0has=", that
352 test for membership of strings in string arrays sent in bus
355 * systemd-resolved now dumps the contents of its DNS and LLMNR
356 caches to the logs on reception of the SIGUSR1 signal. This
357 is useful to debug DNS behaviour.
359 * The coredumpctl tool gained a new --directory= option to
360 operate on journal files in a specific directory.
362 * "systemctl reboot" and related commands gained a new
363 "--message=" option which may be used to set a free-text
364 wall message when shutting down or rebooting the
365 system. This message is also logged, which is useful for
366 figuring out the reason for a reboot or shutdown a
369 * The "systemd-resolve-host" tool's -i switch now takes
370 network interface numbers as alternative to interface names.
372 * A new unit file setting for services has been introduced:
373 UtmpMode= allows configuration of how precisely systemd
374 handles utmp and wtmp entries for the service if this is
375 enabled. This allows writing services that appear similar to
376 user sessions in the output of the "w", "who", "last" and
379 * systemd-resolved will now locally synthesize DNS resource
380 records for the "localhost" and "gateway" domains as well as
381 the local hostname. This should ensure that clients querying
382 RRs via resolved will get similar results as those going via
383 NSS, if nss-myhostname is enabled.
385 Contributions from: Alastair Hughes, Alex Crawford, Daniel
386 Mack, David Herrmann, Dimitri John Ledkov, Eric Kostrowski,
387 Evgeny Vereshchagin, Felipe Sateler, HATAYAMA Daisuke, Jan
388 Pokorný, Jan Synacek, Johnny Robeson, Karel Zak, Kay Sievers,
389 Kefeng Wang, Lennart Poettering, Major Hayden, Marcel
390 Holtmann, Markus Elfring, Martin Mikkelsen, Martin Pitt, Matt
391 Turner, Maxim Mikityanskiy, Michael Biebl, Namhyung Kim,
392 Nicolas Cornu, Owen W. Taylor, Patrik Flykt, Peter Hutterer,
393 reverendhomer, Richard Maw, Ronny Chevalier, Seth Jennings,
394 Stef Walter, Susant Sahani, Thomas Blume, Thomas Hindoe
395 Paaboel Andersen, Thomas Meyer, Tom Gundersen, Vincent Batts,
396 WaLyong Cho, Zbigniew Jędrzejewski-Szmek
398 -- Berlin, 2015-08-27
402 * The systemd-efi-boot-generator functionality was merged into
403 systemd-gpt-auto-generator.
405 * systemd-networkd now supports Group Policy for vxlan
406 devices. It can be enabled via the new boolean configuration
407 option called 'GroupPolicyExtension='.
409 Contributions from: Andreas Kempf, Christian Hesse, Daniel Mack, David
410 Herrmann, Herman Fries, Johannes Nixdorf, Kay Sievers, Lennart
411 Poettering, Peter Hutterer, Susant Sahani, Tom Gundersen
413 -- Berlin, 2015-07-31
417 * The python-systemd code has been removed from the systemd repository.
418 A new repository has been created which accommodates the code from
419 now on, and we kindly ask distributions to create a separate package
420 for this: https://github.com/systemd/python-systemd
422 * The systemd daemon will now reload its main configuration
423 (/etc/systemd/system.conf) on daemon-reload.
425 * sd-dhcp now exposes vendor specific extensions via
426 sd_dhcp_lease_get_vendor_specific().
428 * systemd-networkd gained a number of new configuration options.
430 - A new boolean configuration option for TAP devices called
431 'VNetHeader='. If set, the IFF_VNET_HDR flag is set for the
432 device, thus allowing to send and receive GSO packets.
434 - A new tunnel configuration option called 'CopyDSCP='.
435 If enabled, the DSCP field of ip6 tunnels is copied into the
438 - A set of boolean bridge configuration options were added.
439 'UseBPDU=', 'HairPin=', 'FastLeave=', 'AllowPortToBeRoot=',
440 and 'UnicastFlood=' are now parsed by networkd and applied to the
441 respective bridge link device via the respective IFLA_BRPORT_*
444 - A new string configuration option to override the hostname sent
445 to a DHCP server, called 'Hostname='. If set and 'SendHostname='
446 is true, networkd will use the configured hostname instead of the
447 system hostname when sending DHCP requests.
449 - A new tunnel configuration option called 'IPv6FlowLabel='. If set,
450 networkd will configure the IPv6 flow-label of the tunnel device
451 according to RFC2460.
453 - The 'macvtap' virtual network devices are now supported, similar to
454 the already supported 'macvlan' devices.
456 * systemd-resolved now implements RFC5452 to improve resilience against
457 cache poisoning. Additionally, source port randomization is enabled
458 by default to further protect against DNS spoofing attacks.
460 * nss-mymachines now supports translating UIDs and GIDs of running
461 containers with user-namespaces enabled. If a container 'foo'
462 translates a host uid 'UID' to the container uid 'TUID', then
463 nss-mymachines will also map uid 'UID' to/from username 'vu-foo-TUID'
464 (with 'foo' and 'TUID' replaced accordingly). Similarly, groups are
465 mapped as 'vg-foo-TGID'.
467 Contributions from: Beniamino Galvani, cee1, Christian Hesse, Daniel
468 Buch, Daniel Mack, daurnimator, David Herrmann, Dimitri John Ledkov,
469 HATAYAMA Daisuke, Ivan Shapovalov, Jan Alexander Steffens (heftig),
470 Johan Ouwerkerk, Jose Carlos Venegas Munoz, Karel Zak, Kay Sievers,
471 Lennart Poettering, Lidong Zhong, Martin Pitt, Michael Biebl, Michael
472 Olbrich, Michal Schmidt, Michal Sekletar, Mike Gilbert, Namhyung Kim,
473 Nick Owens, Peter Hutterer, Richard Maw, Steven Allen, Sungbae Yoo,
474 Susant Sahani, Thomas Blume, Thomas Hindoe Paaboel Andersen, Tom
475 Gundersen, Torstein Husebø, Umut Tezduyar Lindskog, Vito Caputo,
476 Vivenzio Pagliari, Zbigniew Jędrzejewski-Szmek
478 -- Berlin, 2015-07-29
482 * udev does not longer support the WAIT_FOR_SYSFS= key in udev rules.
483 There are no known issues with current sysfs, and udev does not need
484 or should be used to work around such bugs.
486 * udev does no longer enable USB HID power management. Several reports
487 indicate, that some devices cannot handle that setting.
489 * The udev accelerometer helper was removed. The functionality
490 is now fully included in iio-sensor-proxy. But this means,
491 older iio-sensor-proxy versions will no longer provide
492 accelerometer/orientation data with this systemd version.
493 Please upgrade iio-sensor-proxy to version 1.0.
495 * networkd gained a new configuration option IPv6PrivacyExtensions=
496 which enables IPv6 privacy extensions (RFC 4941, "Privacy Extensions
497 for Stateless Address") on selected networks.
499 * For the sake of fewer build-time dependencies and less code in the
500 main repository, the python bindings are about to be removed in the
501 next release. A new repository has been created which accommodates
502 the code from now on, and we kindly ask distributions to create a
503 separate package for this. The removal will take place in v223.
505 https://github.com/systemd/python-systemd
507 Contributions from: Abdo Roig-Maranges, Andrew Eikum, Bastien Nocera,
508 Cédric Delmas, Christian Hesse, Christos Trochalakis, Daniel Mack,
509 daurnimator, David Herrmann, Dimitri John Ledkov, Eric Biggers, Eric
510 Cook, Felipe Sateler, Geert Jansen, Gerd Hoffmann, Gianpaolo Macario,
511 Greg Kroah-Hartman, Iago López Galeiras, Jan Alexander Steffens
512 (heftig), Jan Engelhardt, Jay Strict, Kay Sievers, Lennart Poettering,
513 Markus Knetschke, Martin Pitt, Michael Biebl, Michael Marineau, Michal
514 Sekletar, Miguel Bernal Marin, Peter Hutterer, Richard Maw, rinrinne,
515 Susant Sahani, Thomas Hindoe Paaboel Andersen, Tom Gundersen, Torstein
516 Husebø, Vedran Miletić, WaLyong Cho, Zbigniew Jędrzejewski-Szmek
518 -- Berlin, 2015-07-07
522 * The sd-bus.h and sd-event.h APIs have now been declared
523 stable and have been added to the official interface of
524 libsystemd.so. sd-bus implements an alternative D-Bus client
525 library, that is relatively easy to use, very efficient and
526 supports both classic D-Bus as well as kdbus as transport
527 backend. sd-event is a generic event loop abstraction that
528 is built around Linux epoll, but adds features such as event
529 prioritization or efficient timer handling. Both APIs are good
530 choices for C programs looking for a bus and/or event loop
531 implementation that is minimal and does not have to be
532 portable to other kernels.
534 * kdbus support is no longer compile-time optional. It is now
535 always built-in. However, it can still be disabled at
536 runtime using the kdbus=0 kernel command line setting, and
537 that setting may be changed to default to off, by specifying
538 --disable-kdbus at build-time. Note though that the kernel
539 command line setting has no effect if the kdbus.ko kernel
540 module is not installed, in which case kdbus is (obviously)
541 also disabled. We encourage all downstream distributions to
542 begin testing kdbus by adding it to the kernel images in the
543 development distributions, and leaving kdbus support in
546 * The minimal required util-linux version has been bumped to
549 * Support for chkconfig (--enable-chkconfig) was removed in
550 favor of calling an abstraction tool
551 /lib/systemd/systemd-sysv-install. This needs to be
552 implemented for your distribution. See "SYSV INIT.D SCRIPTS"
553 in README for details.
555 * If there's a systemd unit and a SysV init script for the
556 same service name, and the user executes "systemctl enable"
557 for it (or a related call), then this will now enable both
558 (or execute the related operation on both), not just the
561 * The libudev API documentation has been converted from gtkdoc
564 * gudev has been removed from the systemd tree, it is now an
567 * The systemd-cgtop tool learnt a new --raw switch to generate
568 "raw" (machine parsable) output.
570 * networkd's IPForwarding= .network file setting learnt the
571 new setting "kernel", which ensures that networkd does not
572 change the IP forwarding sysctl from the default kernel
575 * The systemd-logind bus API now exposes a new boolean
576 property "Docked" that reports whether logind considers the
577 system "docked", i.e. connected to a docking station or not.
579 Contributions from: Alex Crawford, Andreas Pokorny, Andrei
580 Borzenkov, Charles Duffy, Colin Guthrie, Cristian Rodríguez,
581 Daniele Medri, Daniel Hahler, Daniel Mack, David Herrmann,
582 David Mohr, Dimitri John Ledkov, Djalal Harouni, dslul, Ed
583 Swierk, Eric Cook, Filipe Brandenburger, Gianpaolo Macario,
584 Harald Hoyer, Iago López Galeiras, Igor Vuk, Jan Synacek,
585 Jason Pleau, Jason S. McMullan, Jean Delvare, Jeff Huang,
586 Jonathan Boulle, Karel Zak, Kay Sievers, kloun, Lennart
587 Poettering, Marc-Antoine Perennou, Marcel Holtmann, Mario
588 Limonciello, Martin Pitt, Michael Biebl, Michael Olbrich,
589 Michal Schmidt, Mike Gilbert, Nick Owens, Pablo Lezaeta Reyes,
590 Patrick Donnelly, Pavel Odvody, Peter Hutterer, Philip
591 Withnall, Ronny Chevalier, Simon McVittie, Susant Sahani,
592 Thomas Hindoe Paaboel Andersen, Tom Gundersen, Torstein
593 Husebø, Umut Tezduyar Lindskog, Viktar Vauchkevich, Werner
594 Fink, Zbigniew Jędrzejewski-Szmek
596 -- Berlin, 2015-06-19
600 * The gudev library has been extracted into a separate repository
601 available at: https://git.gnome.org/browse/libgudev/
602 It is now managed as part of the Gnome project. Distributions
603 are recommended to pass --disable-gudev to systemd and use
604 gudev from the Gnome project instead. gudev is still included
605 in systemd, for now. It will be removed soon, though. Please
606 also see the announcement-thread on systemd-devel:
607 http://lists.freedesktop.org/archives/systemd-devel/2015-May/032070.html
609 * systemd now exposes a CPUUsageNSec= property for each
610 service unit on the bus, that contains the overall consumed
611 CPU time of a service (the sum of what each process of the
612 service consumed). This value is only available if
613 CPUAccounting= is turned on for a service, and is then shown
614 in the "systemctl status" output.
616 * Support for configuring alternative mappings of the old SysV
617 runlevels to systemd targets has been removed. They are now
618 hardcoded in a way that runlevels 2, 3, 4 all map to
619 multi-user.target and 5 to graphical.target (which
620 previously was already the default behaviour).
622 * The auto-mounter logic gained support for mount point
623 expiry, using a new TimeoutIdleSec= setting in .automount
624 units. (Also available as x-systemd.idle-timeout= in /etc/fstab).
626 * The EFI System Partition (ESP) as mounted to /boot by
627 systemd-efi-boot-generator will now be unmounted
628 automatically after 2 minutes of not being used. This should
629 minimize the risk of ESP corruptions.
631 * New /etc/fstab options x-systemd.requires= and
632 x-systemd.requires-mounts-for= are now supported to express
633 additional dependencies for mounts. This is useful for
634 journalling file systems that support external journal
635 devices or overlay file systems that require underlying file
636 systems to be mounted.
638 * systemd does not support direct live-upgrades (via systemctl
639 daemon-reexec) from versions older than v44 anymore. As no
640 distribution we are aware of shipped such old versions in a
641 stable release this should not be problematic.
643 * When systemd forks off a new per-connection service instance
644 it will now set the $REMOTE_ADDR environment variable to the
645 remote IP address, and $REMOTE_PORT environment variable to
646 the remote IP port. This behaviour is similar to the
647 corresponding environment variables defined by CGI.
649 * systemd-networkd gained support for uplink failure
650 detection. The BindCarrier= option allows binding interface
651 configuration dynamically to the link sense of other
652 interfaces. This is useful to achieve behaviour like in
655 * systemd-networkd gained support for configuring the DHCP
656 client identifier to use when requesting leases.
658 * systemd-networkd now has a per-network UseNTP= option to
659 configure whether NTP server information acquired via DHCP
660 is passed on to services like systemd-timesyncd.
662 * systemd-networkd gained support for vti6 tunnels.
664 * Note that systemd-networkd manages the sysctl variable
665 /proc/sys/net/ipv[46]/conf/*/forwarding for each interface
666 it is configured for since v219. The variable controls IP
667 forwarding, and is a per-interface alternative to the global
668 /proc/sys/net/ipv[46]/ip_forward. This setting is
669 configurable in the IPForward= option, which defaults to
670 "no". This means if networkd is used for an interface it is
671 no longer sufficient to set the global sysctl option to turn
672 on IP forwarding! Instead, the .network file option
673 IPForward= needs to be turned on! Note that the
674 implementation of this behaviour was broken in v219 and has
677 * Many bonding and vxlan options are now configurable in
680 * systemd-nspawn gained a new --property= setting to set unit
681 properties for the container scope. This is useful for
682 setting resource parameters (e.g "CPUShares=500") on
683 containers started from the command line.
685 * systemd-nspawn gained a new --private-users= switch to make
686 use of user namespacing available on recent Linux kernels.
688 * systemd-nspawn may now be called as part of a shell pipeline
689 in which case the pipes used for stdin and stdout are passed
690 directly to the process invoked in the container, without
691 indirection via a pseudo tty.
693 * systemd-nspawn gained a new switch to control the UNIX
694 signal to use when killing the init process of the container
697 * systemd-nspawn gained a new --overlay= switch for mounting
698 overlay file systems into the container using the new kernel
701 * When a container image is imported via systemd-importd and
702 the host file system is not btrfs, a loopback block device
703 file is created in /var/lib/machines.raw with a btrfs file
704 system inside. It is then mounted to /var/lib/machines to
705 enable btrfs features for container management. The loopback
706 file and btrfs file system is grown as needed when container
707 images are imported via systemd-importd.
709 * systemd-machined/systemd-importd gained support for btrfs
710 quota, to enforce container disk space limits on disk. This
711 is exposed in "machinectl set-limit".
713 * systemd-importd now can import containers from local .tar,
714 .raw and .qcow2 images, and export them to .tar and .raw. It
715 can also import dkr v2 images now from the network (on top
718 * systemd-importd gained support for verifying downloaded
719 images with gpg2 (previously only gpg1 was supported).
721 * systemd-machined, systemd-logind, systemd: most bus calls
722 are now accessible to unprivileged processes via
723 PolicyKit. Also, systemd-logind will now allow users to kill
724 their own sessions without further privileges or
727 * systemd-shutdownd has been removed. This service was
728 previously responsible for implementing scheduled shutdowns
729 as exposed in /usr/bin/shutdown's time parameter. This
730 functionality has now been moved into systemd-logind and is
731 accessible via a bus interface.
733 * "systemctl reboot" gained a new switch --firmware-setup that
734 can be used to reboot into the EFI firmware setup, if that
735 is available. systemd-logind now exposes an API on the bus
736 to trigger such reboots, in case graphical desktop UIs want
737 to cover this functionality.
739 * "systemctl enable", "systemctl disable" and "systemctl mask"
740 now support a new "--now" switch. If specified the units
741 that are enabled will also be started, and the ones
742 disabled/masked also stopped.
744 * The Gummiboot EFI boot loader tool has been merged into
745 systemd, and renamed to "systemd-boot". The bootctl tool has been
746 updated to support systemd-boot.
748 * An EFI kernel stub has been added that may be used to create
749 kernel EFI binaries that contain not only the actual kernel,
750 but also an initrd, boot splash, command line and OS release
751 information. This combined binary can then be signed as a
752 single image, so that the firmware can verify it all in one
753 step. systemd-boot has special support for EFI binaries created
754 like this and can extract OS release information from them
755 and show them in the boot menu. This functionality is useful
756 to implement cryptographically verified boot schemes.
758 * Optional support has been added to systemd-fsck to pass
759 fsck's progress report to an AF_UNIX socket in the file
762 * udev will no longer create device symlinks for all block
763 devices by default. A blacklist for excluding special block
764 devices from this logic has been turned into a whitelist
765 that requires picking block devices explicitly that require
768 * A new (currently still internal) API sd-device.h has been
769 added to libsystemd. This modernized API is supposed to
770 replace libudev eventually. In fact, already much of libudev
771 is now just a wrapper around sd-device.h.
773 * A new hwdb database for storing metadata about pointing
774 stick devices has been added.
776 * systemd-tmpfiles gained support for setting file attributes
777 similar to the "chattr" tool with new 'h' and 'H' lines.
779 * systemd-journald will no longer unconditionally set the
780 btrfs NOCOW flag on new journal files. This is instead done
781 with tmpfiles snippet using the new 'h' line type. This
782 allows easy disabling of this logic, by masking the
783 journal-nocow.conf tmpfiles file.
785 * systemd-journald will now translate audit message types to
786 human readable identifiers when writing them to the
787 journal. This should improve readability of audit messages.
789 * The LUKS logic gained support for the offset= and skip=
790 options in /etc/crypttab, as previously implemented by
793 * /usr/lib/os-release gained a new optional field VARIANT= for
794 distributions that support multiple variants (such as a
795 desktop edition, a server edition, ...)
797 Contributions from: Aaro Koskinen, Adam Goode, Alban Crequy,
798 Alberto Fanjul Alonso, Alexander Sverdlin, Alex Puchades, Alin
799 Rauta, Alison Chaiken, Andrew Jones, Arend van Spriel,
800 Benedikt Morbach, Benjamin Franzke, Benjamin Tissoires, Blaž
801 Tomažič, Chris Morgan, Chris Morin, Colin Walters, Cristian
802 Rodríguez, Daniel Buch, Daniel Drake, Daniele Medri, Daniel
803 Mack, Daniel Mustieles, daurnimator, Davide Bettio, David
804 Herrmann, David Strauss, Didier Roche, Dimitri John Ledkov,
805 Eric Cook, Gavin Li, Goffredo Baroncelli, Hannes Reinecke,
806 Hans de Goede, Hans-Peter Deifel, Harald Hoyer, Iago López
807 Galeiras, Ivan Shapovalov, Jan Engelhardt, Jan Janssen, Jan
808 Pazdziora, Jan Synacek, Jasper St. Pierre, Jay Faulkner, John
809 Paul Adrian Glaubitz, Jonathon Gilbert, Karel Zak, Kay
810 Sievers, Koen Kooi, Lennart Poettering, Lubomir Rintel, Lucas
811 De Marchi, Lukas Nykryn, Lukas Rusak, Lukasz Skalski, Łukasz
812 Stelmach, Mantas Mikulėnas, Marc-Antoine Perennou, Marcel
813 Holtmann, Martin Pitt, Mathieu Chevrier, Matthew Garrett,
814 Michael Biebl, Michael Marineau, Michael Olbrich, Michal
815 Schmidt, Michal Sekletar, Mirco Tischler, Nir Soffer, Patrik
816 Flykt, Pavel Odvody, Peter Hutterer, Peter Lemenkov, Peter
817 Waller, Piotr Drąg, Raul Gutierrez S, Richard Maw, Ronny
818 Chevalier, Ross Burton, Sebastian Rasmussen, Sergey Ptashnick,
819 Seth Jennings, Shawn Landden, Simon Farnsworth, Stefan Junker,
820 Stephen Gallagher, Susant Sahani, Sylvain Plantefève, Thomas
821 Haller, Thomas Hindoe Paaboel Andersen, Tobias Hunger, Tom
822 Gundersen, Torstein Husebø, Umut Tezduyar Lindskog, Will
823 Woods, Zachary Cook, Zbigniew Jędrzejewski-Szmek
825 -- Berlin, 2015-05-22
829 * Introduce a new API "sd-hwdb.h" for querying the hardware
830 metadata database. With this minimal interface one can query
831 and enumerate the udev hwdb, decoupled from the old libudev
832 library. libudev's interface for this is now only a wrapper
833 around sd-hwdb. A new tool systemd-hwdb has been added to
834 interface with and update the database.
836 * When any of systemd's tools copies files (for example due to
837 tmpfiles' C lines) a btrfs reflink will attempted first,
838 before bytewise copying is done.
840 * systemd-nspawn gained a new --ephemeral switch. When
841 specified a btrfs snapshot is taken of the container's root
842 directory, and immediately removed when the container
843 terminates again. Thus, a container can be started whose
844 changes never alter the container's root directory, and are
845 lost on container termination. This switch can also be used
846 for starting a container off the root file system of the
847 host without affecting the host OS. This switch is only
848 available on btrfs file systems.
850 * systemd-nspawn gained a new --template= switch. It takes the
851 path to a container tree to use as template for the tree
852 specified via --directory=, should that directory be
853 missing. This allows instantiating containers dynamically,
854 on first run. This switch is only available on btrfs file
857 * When a .mount unit refers to a mount point on which multiple
858 mounts are stacked, and the .mount unit is stopped all of
859 the stacked mount points will now be unmounted until no
862 * systemd now has an explicit notion of supported and
863 unsupported unit types. Jobs enqueued for unsupported unit
864 types will now fail with an "unsupported" error code. More
865 specifically .swap, .automount and .device units are not
866 supported in containers, .busname units are not supported on
867 non-kdbus systems. .swap and .automount are also not
868 supported if their respective kernel compile time options
871 * machinectl gained support for two new "copy-from" and
872 "copy-to" commands for copying files from a running
873 container to the host or vice versa.
875 * machinectl gained support for a new "bind" command to bind
876 mount host directories into local containers. This is
877 currently only supported for nspawn containers.
879 * networkd gained support for configuring bridge forwarding
880 database entries (fdb) from .network files.
882 * A new tiny daemon "systemd-importd" has been added that can
883 download container images in tar, raw, qcow2 or dkr formats,
884 and make them available locally in /var/lib/machines, so
885 that they can run as nspawn containers. The daemon can GPG
886 verify the downloads (not supported for dkr, since it has no
887 provisions for verifying downloads). It will transparently
888 decompress bz2, xz, gzip compressed downloads if necessary,
889 and restore sparse files on disk. The daemon uses privilege
890 separation to ensure the actual download logic runs with
891 fewer privileges than the daemon itself. machinectl has
892 gained new commands "pull-tar", "pull-raw" and "pull-dkr" to
893 make the functionality of importd available to the
894 user. With this in place the Fedora and Ubuntu "Cloud"
895 images can be downloaded and booted as containers unmodified
896 (the Fedora images lack the appropriate GPG signature files
897 currently, so they cannot be verified, but this will change
898 soon, hopefully). Note that downloading images is currently
899 only fully supported on btrfs.
901 * machinectl is now able to list container images found in
902 /var/lib/machines, along with some metadata about sizes of
903 disk and similar. If the directory is located on btrfs and
904 quota is enabled, this includes quota display. A new command
905 "image-status" has been added that shows additional
906 information about images.
908 * machinectl is now able to clone container images
909 efficiently, if the underlying file system (btrfs) supports
910 it, with the new "machinectl list-images" command. It also
911 gained commands for renaming and removing images, as well as
912 marking them read-only or read-write (supported also on
913 legacy file systems).
915 * networkd gained support for collecting LLDP network
916 announcements, from hardware that supports this. This is
917 shown in networkctl output.
919 * systemd-run gained support for a new -t (--pty) switch for
920 invoking a binary on a pty whose input and output is
921 connected to the invoking terminal. This allows executing
922 processes as system services while interactively
923 communicating with them via the terminal. Most interestingly
924 this is supported across container boundaries. Invoking
925 "systemd-run -t /bin/bash" is an alternative to running a
926 full login session, the difference being that the former
927 will not register a session, nor go through the PAM session
930 * tmpfiles gained support for a new "v" line type for creating
931 btrfs subvolumes. If the underlying file system is a legacy
932 file system, this automatically degrades to creating a
933 normal directory. Among others /var/lib/machines is now
934 created like this at boot, should it be missing.
936 * The directory /var/lib/containers/ has been deprecated and
937 been replaced by /var/lib/machines. The term "machines" has
938 been used in the systemd context as generic term for both
939 VMs and containers, and hence appears more appropriate for
940 this, as the directory can also contain raw images bootable
943 * systemd-nspawn when invoked with -M but without --directory=
944 or --image= is now capable of searching for the container
945 root directory, subvolume or disk image automatically, in
946 /var/lib/machines. systemd-nspawn@.service has been updated
947 to make use of this, thus allowing it to be used for raw
950 * A new machines.target unit has been introduced that is
951 supposed to group all containers/VMs invoked as services on
952 the system. systemd-nspawn@.service has been updated to
955 * machinectl gained a new "start" command, for invoking a
956 container as a service. "machinectl start foo" is mostly
957 equivalent to "systemctl start systemd-nspawn@foo.service",
958 but handles escaping in a nicer way.
960 * systemd-nspawn will now mount most of the cgroupfs tree
961 read-only into each container, with the exception of the
962 container's own subtree in the name=systemd hierarchy.
964 * journald now sets the special FS_NOCOW file flag for its
965 journal files. This should improve performance on btrfs, by
966 avoiding heavy fragmentation when journald's write-pattern
967 is used on COW file systems. It degrades btrfs' data
968 integrity guarantees for the files to the same levels as for
969 ext3/ext4 however. This should be OK though as journald does
970 its own data integrity checks and all its objects are
971 checksummed on disk. Also, journald should handle btrfs disk
972 full events a lot more gracefully now, by processing SIGBUS
973 errors, and not relying on fallocate() anymore.
975 * When journald detects that journal files it is writing to
976 have been deleted it will immediately start new journal
979 * systemd now provides a way to store file descriptors
980 per-service in PID 1.This is useful for daemons to ensure
981 that fds they require are not lost during a daemon
982 restart. The fds are passed to the daemon on the next
983 invocation in the same way socket activation fds are
984 passed. This is now used by journald to ensure that the
985 various sockets connected to all the system's stdout/stderr
986 are not lost when journald is restarted. File descriptors
987 may be stored in PID 1 via the sd_pid_notify_with_fds() API,
988 an extension to sd_notify(). Note that a limit is enforced
989 on the number of fds a service can store in PID 1, and it
990 defaults to 0, so that no fds may be stored, unless this is
991 explicitly turned on.
993 * The default TERM variable to use for units connected to a
994 terminal, when no other value is explicitly is set is now
995 vt220 rather than vt102. This should be fairly safe still,
996 but allows PgUp/PgDn work.
998 * The /etc/crypttab option header= as known from Debian is now
1001 * "loginctl user-status" and "loginctl session-status" will
1002 now show the last 10 lines of log messages of the
1003 user/session following the status output. Similar,
1004 "machinectl status" will show the last 10 log lines
1005 associated with a virtual machine or container
1006 service. (Note that this is usually not the log messages
1007 done in the VM/container itself, but simply what the
1008 container manager logs. For nspawn this includes all console
1011 * "loginctl session-status" without further argument will now
1012 show the status of the session of the caller. Similar,
1013 "lock-session", "unlock-session", "activate",
1014 "enable-linger", "disable-linger" may now be called without
1015 session/user parameter in which case they apply to the
1016 caller's session/user.
1018 * An X11 session scriptlet is now shipped that uploads
1019 $DISPLAY and $XAUTHORITY into the environment of the systemd
1020 --user daemon if a session begins. This should improve
1021 compatibility with X11 enabled applications run as systemd
1024 * Generators are now subject to masking via /etc and /run, the
1025 same way as unit files.
1027 * networkd .network files gained support for configuring
1028 per-link IPv4/IPv6 packet forwarding as well as IPv4
1029 masquerading. This is by default turned on for veth links to
1030 containers, as registered by systemd-nspawn. This means that
1031 nspawn containers run with --network-veth will now get
1032 automatic routed access to the host's networks without any
1033 further configuration or setup, as long as networkd runs on
1036 * systemd-nspawn gained the --port= (-p) switch to expose TCP
1037 or UDP posts of a container on the host. With this in place
1038 it is possible to run containers with private veth links
1039 (--network-veth), and have their functionality exposed on
1040 the host as if their services were running directly on the
1043 * systemd-nspawn's --network-veth switch now gained a short
1044 version "-n", since with the changes above it is now truly
1045 useful out-of-the-box. The systemd-nspawn@.service has been
1046 updated to make use of it too by default.
1048 * systemd-nspawn will now maintain a per-image R/W lock, to
1049 ensure that the same image is not started more than once
1050 writable. (It's OK to run an image multiple times
1051 simultaneously in read-only mode.)
1053 * systemd-nspawn's --image= option is now capable of
1054 dissecting and booting MBR and GPT disk images that contain
1055 only a single active Linux partition. Previously it
1056 supported only GPT disk images with proper GPT type
1057 IDs. This allows running cloud images from major
1058 distributions directly with systemd-nspawn, without
1061 * In addition to collecting mouse dpi data in the udev
1062 hardware database, there's now support for collecting angle
1063 information for mouse scroll wheels. The database is
1064 supposed to guarantee similar scrolling behavior on mice
1065 that it knows about. There's also support for collecting
1066 information about Touchpad types.
1068 * udev's input_id built-in will now also collect touch screen
1069 dimension data and attach it to probed devices.
1071 * /etc/os-release gained support for a Distribution Privacy
1074 * networkd gained support for creating "ipvlan", "gretap",
1075 "ip6gre", "ip6gretap" and "ip6tnl" network devices.
1077 * systemd-tmpfiles gained support for "a" lines for setting
1080 * systemd-nspawn will now mount /tmp in the container to
1081 tmpfs, automatically.
1083 * systemd now exposes the memory.usage_in_bytes cgroup
1084 attribute and shows it for each service in the "systemctl
1085 status" output, if available.
1087 * When the user presses Ctrl-Alt-Del more than 7x within 2s an
1088 immediate reboot is triggered. This useful if shutdown is
1089 hung and is unable to complete, to expedite the
1090 operation. Note that this kind of reboot will still unmount
1091 all file systems, and hence should not result in fsck being
1094 * A .device unit for an optical block device will now be
1095 considered active only when a medium is in the drive. Also,
1096 mount units are now bound to their backing devices thus
1097 triggering automatic unmounting when devices become
1098 unavailable. With this in place systemd will now
1099 automatically unmount left-over mounts when a CD-ROM is
1100 ejected or an USB stick is yanked from the system.
1102 * networkd-wait-online now has support for waiting for
1103 specific interfaces only (with globbing), and for giving up
1104 after a configurable timeout.
1106 * networkd now exits when idle. It will be automatically
1107 restarted as soon as interfaces show up, are removed or
1108 change state. networkd will stay around as long as there is
1109 at least one DHCP state machine or similar around, that keep
1112 * networkd may now configure IPv6 link-local addressing in
1113 addition to IPv4 link-local addressing.
1115 * The IPv6 "token" for use in SLAAC may now be configured for
1116 each .network interface in networkd.
1118 * Routes configured with networkd may now be assigned a scope
1121 * networkd's [Match] sections now support globbing and lists
1122 of multiple space-separated matches per item.
1124 Contributions from: Alban Crequy, Alin Rauta, Andrey Chaser,
1125 Bastien Nocera, Bruno Bottazzini, Carlos Garnacho, Carlos
1126 Morata Castillo, Chris Atkinson, Chris J. Arges, Christian
1127 Kirbach, Christian Seiler, Christoph Brill, Colin Guthrie,
1128 Colin Walters, Cristian Rodríguez, Daniele Medri, Daniel Mack,
1129 Dave Reisner, David Herrmann, Djalal Harouni, Erik Auerswald,
1130 Filipe Brandenburger, Frank Theile, Gabor Kelemen, Gabriel de
1131 Perthuis, Harald Hoyer, Hui Wang, Ivan Shapovalov, Jan
1132 Engelhardt, Jan Synacek, Jay Faulkner, Johannes Hölzl, Jonas
1133 Ådahl, Jonathan Boulle, Josef Andersson, Kay Sievers, Ken
1134 Werner, Lennart Poettering, Lucas De Marchi, Lukas Märdian,
1135 Lukas Nykryn, Lukasz Skalski, Luke Shumaker, Mantas Mikulėnas,
1136 Manuel Mendez, Marcel Holtmann, Marc Schmitzer, Marko
1137 Myllynen, Martin Pitt, Maxim Mikityanskiy, Michael Biebl,
1138 Michael Marineau, Michael Olbrich, Michal Schmidt, Mindaugas
1139 Baranauskas, Moez Bouhlel, Naveen Kumar, Patrik Flykt, Paul
1140 Martin, Peter Hutterer, Peter Mattern, Philippe De Swert,
1141 Piotr Drąg, Rafael Ferreira, Rami Rosen, Robert Milasan, Ronny
1142 Chevalier, Sangjung Woo, Sebastien Bacher, Sergey Ptashnick,
1143 Shawn Landden, Stéphane Graber, Susant Sahani, Sylvain
1144 Plantefève, Thomas Hindoe Paaboel Andersen, Tim JP, Tom
1145 Gundersen, Topi Miettinen, Torstein Husebø, Umut Tezduyar
1146 Lindskog, Veres Lajos, Vincent Batts, WaLyong Cho, Wieland
1147 Hoffmann, Zbigniew Jędrzejewski-Szmek
1149 -- Berlin, 2015-02-16
1153 * When querying unit file enablement status (for example via
1154 "systemctl is-enabled"), a new state "indirect" is now known
1155 which indicates that a unit might not be enabled itself, but
1156 another unit listed in its Also= setting might be.
1158 * Similar to the various existing ConditionXYZ= settings for
1159 units there are now matching AssertXYZ= settings. While
1160 failing conditions cause a unit to be skipped, but its job
1161 to succeed, failing assertions declared like this will cause
1162 a unit start operation and its job to fail.
1164 * hostnamed now knows a new chassis type "embedded".
1166 * systemctl gained a new "edit" command. When used on a unit
1167 file this allows extending unit files with .d/ drop-in
1168 configuration snippets or editing the full file (after
1169 copying it from /usr/lib to /etc). This will invoke the
1170 user's editor (as configured with $EDITOR), and reload the
1171 modified configuration after editing.
1173 * "systemctl status" now shows the suggested enablement state
1174 for a unit, as declared in the (usually vendor-supplied)
1175 system preset files.
1177 * nss-myhostname will now resolve the single-label host name
1178 "gateway" to the locally configured default IP routing
1179 gateways, ordered by their metrics. This assigns a stable
1180 name to the used gateways, regardless which ones are
1181 currently configured. Note that the name will only be
1182 resolved after all other name sources (if nss-myhostname is
1183 configured properly) and should hence not negatively impact
1184 systems that use the single-label host name "gateway" in
1187 * systemd-inhibit now allows filtering by mode when listing
1190 * Scope and service units gained a new "Delegate" boolean
1191 property, which when set allows processes running inside the
1192 unit to further partition resources. This is primarily
1193 useful for systemd user instances as well as container
1196 * journald will now pick up audit messages directly from
1197 the kernel, and log them like any other log message. The
1198 audit fields are split up and fully indexed. This means that
1199 journalctl in many ways is now a (nicer!) alternative to
1200 ausearch, the traditional audit client. Note that this
1201 implements only a minimal audit client, if you want the
1202 special audit modes like reboot-on-log-overflow, please use
1203 the traditional auditd instead, which can be used in
1204 parallel to journald.
1206 * The ConditionSecurity= unit file option now understands the
1207 special string "audit" to check whether auditing is
1210 * journalctl gained two new commands --vacuum-size= and
1211 --vacuum-time= to delete old journal files until the
1212 remaining ones take up no more the specified size on disk,
1213 or are not older than the specified time.
1215 * A new, native PPPoE library has been added to sd-network,
1216 systemd's library of light-weight networking protocols. This
1217 library will be used in a future version of networkd to
1218 enable PPPoE communication without an external pppd daemon.
1220 * The busctl tool now understands a new "capture" verb that
1221 works similar to "monitor", but writes a packet capture
1222 trace to STDOUT that can be redirected to a file which is
1223 compatible with libcap's capture file format. This can then
1224 be loaded in Wireshark and similar tools to inspect bus
1227 * The busctl tool now understands a new "tree" verb that shows
1228 the object trees of a specific service on the bus, or of all
1231 * The busctl tool now understands a new "introspect" verb that
1232 shows all interfaces and members of objects on the bus,
1233 including their signature and values. This is particularly
1234 useful to get more information about bus objects shown by
1235 the new "busctl tree" command.
1237 * The busctl tool now understands new verbs "call",
1238 "set-property" and "get-property" for invoking bus method
1239 calls, setting and getting bus object properties in a
1242 * busctl gained a new --augment-creds= argument that controls
1243 whether the tool shall augment credential information it
1244 gets from the bus with data from /proc, in a possibly
1247 * nspawn's --link-journal= switch gained two new values
1248 "try-guest" and "try-host" that work like "guest" and
1249 "host", but do not fail if the host has no persistent
1250 journalling enabled. -j is now equivalent to
1251 --link-journal=try-guest.
1253 * macvlan network devices created by nspawn will now have
1254 stable MAC addresses.
1256 * A new SmackProcessLabel= unit setting has been added, which
1257 controls the SMACK security label processes forked off by
1258 the respective unit shall use.
1260 * If compiled with --enable-xkbcommon, systemd-localed will
1261 verify x11 keymap settings by compiling the given keymap. It
1262 will spew out warnings if the compilation fails. This
1263 requires libxkbcommon to be installed.
1265 * When a coredump is collected a larger number of metadata
1266 fields is now collected and included in the journal records
1267 created for it. More specifically control group membership,
1268 environment variables, memory maps, working directory,
1269 chroot directory, /proc/$PID/status, and a list of open file
1270 descriptors is now stored in the log entry.
1272 * The udev hwdb now contains DPI information for mice. For
1275 http://who-t.blogspot.de/2014/12/building-a-dpi-database-for-mice.html
1277 * All systemd programs that read standalone configuration
1278 files in /etc now also support a corresponding series of
1279 .conf.d configuration directories in /etc/, /run/,
1280 /usr/local/lib/, /usr/lib/, and (if configured with
1281 --enable-split-usr) /lib/. In particular, the following
1282 configuration files now have corresponding configuration
1283 directories: system.conf user.conf, logind.conf,
1284 journald.conf, sleep.conf, bootchart.conf, coredump.conf,
1285 resolved.conf, timesyncd.conf, journal-remote.conf, and
1286 journal-upload.conf. Note that distributions should use the
1287 configuration directories in /usr/lib/; the directories in
1288 /etc/ are reserved for the system administrator.
1290 * systemd-rfkill will no longer take the rfkill device name
1291 into account when storing rfkill state on disk, as the name
1292 might be dynamically assigned and not stable. Instead, the
1293 ID_PATH udev variable combined with the rfkill type (wlan,
1294 bluetooth, ...) is used.
1296 * A new service systemd-machine-id-commit.service has been
1297 added. When used on systems where /etc is read-only during
1298 boot, and /etc/machine-id is not initialized (but an empty
1299 file), this service will copy the temporary machine ID
1300 created as replacement into /etc after the system is fully
1301 booted up. This is useful for systems that are freshly
1302 installed with a non-initialized machine ID, but should get
1303 a fixed machine ID for subsequent boots.
1305 * networkd's .netdev files now provide a large set of
1306 configuration parameters for VXLAN devices. Similar, the
1307 bridge port cost parameter is now configurable in .network
1308 files. There's also new support for configuring IP source
1309 routing. networkd .link files gained support for a new
1310 OriginalName= match that is useful to match against the
1311 original interface name the kernel assigned. .network files
1312 may include MTU= and MACAddress= fields for altering the MTU
1313 and MAC address while being connected to a specific network
1316 * The LUKS logic gained supported for configuring
1317 UUID-specific key files. There's also new support for naming
1318 LUKS device from the kernel command line, using the new
1319 luks.name= argument.
1321 * Timer units may now be transiently created via the bus API
1322 (this was previously already available for scope and service
1323 units). In addition it is now possible to create multiple
1324 transient units at the same time with a single bus call. The
1325 "systemd-run" tool has been updated to make use of this for
1326 running commands on a specified time, in at(1)-style.
1328 * tmpfiles gained support for "t" lines, for assigning
1329 extended attributes to files. Among other uses this may be
1330 used to assign SMACK labels to files.
1332 Contributions from: Alin Rauta, Alison Chaiken, Andrej
1333 Manduch, Bastien Nocera, Chris Atkinson, Chris Leech, Chris
1334 Mayo, Colin Guthrie, Colin Walters, Cristian Rodríguez,
1335 Daniele Medri, Daniel Mack, Dan Williams, Dan Winship, Dave
1336 Reisner, David Herrmann, Didier Roche, Felipe Sateler, Gavin
1337 Li, Hans de Goede, Harald Hoyer, Iago López Galeiras, Ivan
1338 Shapovalov, Jakub Filak, Jan Janssen, Jan Synacek, Joe
1339 Lawrence, Josh Triplett, Kay Sievers, Lennart Poettering,
1340 Lukas Nykryn, Łukasz Stelmach, Maciej Wereski, Mantas
1341 Mikulėnas, Marcel Holtmann, Martin Pitt, Maurizio Lombardi,
1342 Michael Biebl, Michael Chapman, Michael Marineau, Michal
1343 Schmidt, Michal Sekletar, Olivier Brunel, Patrik Flykt, Peter
1344 Hutterer, Przemyslaw Kedzierski, Rami Rosen, Ray Strode,
1345 Richard Schütz, Richard W.M. Jones, Ronny Chevalier, Ross
1346 Lagerwall, Sean Young, Stanisław Pitucha, Susant Sahani,
1347 Thomas Haller, Thomas Hindoe Paaboel Andersen, Tom Gundersen,
1348 Torstein Husebø, Umut Tezduyar Lindskog, Vicente Olivert
1349 Riera, WaLyong Cho, Wesley Dawson, Zbigniew Jędrzejewski-Szmek
1351 -- Berlin, 2014-12-10
1355 * journalctl gained the new options -t/--identifier= to match
1356 on the syslog identifier (aka "tag"), as well as --utc to
1357 show log timestamps in the UTC timezone. journalctl now also
1358 accepts -n/--lines=all to disable line capping in a pager.
1360 * journalctl gained a new switch, --flush, that synchronously
1361 flushes logs from /run/log/journal to /var/log/journal if
1362 persistent storage is enabled. systemd-journal-flush.service
1363 now waits until the operation is complete.
1365 * Services can notify the manager before they start a reload
1366 (by sending RELOADING=1) or shutdown (by sending
1367 STOPPING=1). This allows the manager to track and show the
1368 internal state of daemons and closes a race condition when
1369 the process is still running but has closed its D-Bus
1372 * Services with Type=oneshot do not have to have any ExecStart
1375 * User units are now loaded also from
1376 $XDG_RUNTIME_DIR/systemd/user/. This is similar to the
1377 /run/systemd/user directory that was already previously
1378 supported, but is under the control of the user.
1380 * Job timeouts (i.e. time-outs on the time a job that is
1381 queued stays in the run queue) can now optionally result in
1382 immediate reboot or power-off actions (JobTimeoutAction= and
1383 JobTimeoutRebootArgument=). This is useful on ".target"
1384 units, to limit the maximum time a target remains
1385 undispatched in the run queue, and to trigger an emergency
1386 operation in such a case. This is now used by default to
1387 turn off the system if boot-up (as defined by everything in
1388 basic.target) hangs and does not complete for at least
1389 15min. Also, if power-off or reboot hang for at least 30min
1390 an immediate power-off/reboot operation is triggered. This
1391 functionality is particularly useful to increase reliability
1392 on embedded devices, but also on laptops which might
1393 accidentally get powered on when carried in a backpack and
1394 whose boot stays stuck in a hard disk encryption passphrase
1397 * systemd-logind can be configured to also handle lid switch
1398 events even when the machine is docked or multiple displays
1399 are attached (HandleLidSwitchDocked= option).
1401 * A helper binary and a service have been added which can be
1402 used to resume from hibernation in the initramfs. A
1403 generator will parse the resume= option on the kernel
1404 command line to trigger resume.
1406 * A user console daemon systemd-consoled has been
1407 added. Currently, it is a preview, and will so far open a
1408 single terminal on each session of the user marked as
1409 Desktop=systemd-console.
1411 * Route metrics can be specified for DHCP routes added by
1414 * The SELinux context of socket-activated services can be set
1415 from the information provided by the networking stack
1416 (SELinuxContextFromNet= option).
1418 * Userspace firmware loading support has been removed and
1419 the minimum supported kernel version is thus bumped to 3.7.
1421 * Timeout for udev workers has been increased from 1 to 3
1422 minutes, but a warning will be printed after 1 minute to
1423 help diagnose kernel modules that take a long time to load.
1425 * Udev rules can now remove tags on devices with TAG-="foobar".
1427 * systemd's readahead implementation has been removed. In many
1428 circumstances it didn't give expected benefits even for
1429 rotational disk drives and was becoming less relevant in the
1430 age of SSDs. As none of the developers has been using
1431 rotating media anymore, and nobody stepped up to actively
1432 maintain this component of systemd it has now been removed.
1434 * Swap units can use Options= to specify discard options.
1435 Discard options specified for swaps in /etc/fstab are now
1438 * Docker containers are now detected as a separate type of
1441 * The Password Agent protocol gained support for queries where
1442 the user input is shown, useful e.g. for user names.
1443 systemd-ask-password gained a new --echo option to turn that
1446 * The default sysctl.d/ snippets will now set:
1448 net.core.default_qdisc = fq_codel
1450 This selects Fair Queuing Controlled Delay as the default
1451 queuing discipline for network interfaces. fq_codel helps
1452 fight the network bufferbloat problem. It is believed to be
1453 a good default with no tuning required for most workloads.
1454 Downstream distributions may override this choice. On 10Gbit
1455 servers that do not do forwarding, "fq" may perform better.
1456 Systems without a good clocksource should use "pfifo_fast".
1458 * If kdbus is enabled during build a new option BusPolicy= is
1459 available for service units, that allows locking all service
1460 processes into a stricter bus policy, in order to limit
1461 access to various bus services, or even hide most of them
1462 from the service's view entirely.
1464 * networkctl will now show the .network and .link file
1465 networkd has applied to a specific interface.
1467 * sd-login gained a new API call sd_session_get_desktop() to
1468 query which desktop environment has been selected for a
1471 * UNIX utmp support is now compile-time optional to support
1472 legacy-free systems.
1474 * systemctl gained two new commands "add-wants" and
1475 "add-requires" for pulling in units from specific targets
1478 * If the word "rescue" is specified on the kernel command line
1479 the system will now boot into rescue mode (aka
1480 rescue.target), which was previously available only by
1481 specifying "1" or "systemd.unit=rescue.target" on the kernel
1482 command line. This new kernel command line option nicely
1483 mirrors the already existing "emergency" kernel command line
1486 * New kernel command line options mount.usr=, mount.usrflags=,
1487 mount.usrfstype= have been added that match root=, rootflags=,
1488 rootfstype= but allow mounting a specific file system to
1491 * The $NOTIFY_SOCKET is now also passed to control processes of
1492 services, not only the main process.
1494 * This version reenables support for fsck's -l switch. This
1495 means at least version v2.25 of util-linux is required for
1496 operation, otherwise dead-locks on device nodes may
1497 occur. Again: you need to update util-linux to at least
1498 v2.25 when updating systemd to v217.
1500 * The "multi-seat-x" tool has been removed from systemd, as
1501 its functionality has been integrated into X servers 1.16,
1502 and the tool is hence redundant. It is recommended to update
1503 display managers invoking this tool to simply invoke X
1504 directly from now on, again.
1506 * Support for the new ALLOW_INTERACTIVE_AUTHORIZATION D-Bus
1507 message flag has been added for all of systemd's PolicyKit
1508 authenticated method calls has been added. In particular
1509 this now allows optional interactive authorization via
1510 PolicyKit for many of PID1's privileged operations such as
1511 unit file enabling and disabling.
1513 * "udevadm hwdb --update" learnt a new switch "--usr" for
1514 placing the rebuilt hardware database in /usr instead of
1515 /etc. When used only hardware database entries stored in
1516 /usr will be used, and any user database entries in /etc are
1517 ignored. This functionality is useful for vendors to ship a
1518 pre-built database on systems where local configuration is
1519 unnecessary or unlikely.
1521 * Calendar time specifications in .timer units now also
1522 understand the strings "semi-annually", "quarterly" and
1523 "minutely" as shortcuts (in addition to the preexisting
1524 "anually", "hourly", ...).
1526 * systemd-tmpfiles will now correctly create files in /dev
1527 at boot which are marked for creation only at boot. It is
1528 recommended to always create static device nodes with 'c!'
1529 and 'b!', so that they are created only at boot and not
1530 overwritten at runtime.
1532 * When the watchdog logic is used for a service (WatchdogSec=)
1533 and the watchdog timeout is hit the service will now be
1534 terminated with SIGABRT (instead of just SIGTERM), in order
1535 to make sure a proper coredump and backtrace is
1536 generated. This ensures that hanging services will result in
1537 similar coredump/backtrace behaviour as services that hit a
1540 Contributions from: Andreas Henriksson, Andrei Borzenkov,
1541 Angus Gibson, Ansgar Burchardt, Ben Wolsieffer, Brandon L.
1542 Black, Christian Hesse, Cristian Rodríguez, Daniel Buch,
1543 Daniele Medri, Daniel Mack, Dan Williams, Dave Reisner, David
1544 Herrmann, David Sommerseth, David Strauss, Emil Renner
1545 Berthing, Eric Cook, Evangelos Foutras, Filipe Brandenburger,
1546 Gustavo Sverzut Barbieri, Hans de Goede, Harald Hoyer, Hristo
1547 Venev, Hugo Grostabussiat, Ivan Shapovalov, Jan Janssen, Jan
1548 Synacek, Jonathan Liu, Juho Son, Karel Zak, Kay Sievers, Klaus
1549 Purer, Koen Kooi, Lennart Poettering, Lukas Nykryn, Lukasz
1550 Skalski, Łukasz Stelmach, Mantas Mikulėnas, Marcel Holtmann,
1551 Marius Tessmann, Marko Myllynen, Martin Pitt, Michael Biebl,
1552 Michael Marineau, Michael Olbrich, Michael Scherer, Michal
1553 Schmidt, Michal Sekletar, Miroslav Lichvar, Patrik Flykt,
1554 Philippe De Swert, Piotr Drąg, Rahul Sundaram, Richard
1555 Weinberger, Robert Milasan, Ronny Chevalier, Ruben Kerkhof,
1556 Santiago Vila, Sergey Ptashnick, Simon McVittie, Sjoerd
1557 Simons, Stefan Brüns, Steven Allen, Steven Noonan, Susant
1558 Sahani, Sylvain Plantefève, Thomas Hindoe Paaboel Andersen,
1559 Timofey Titovets, Tobias Hunger, Tom Gundersen, Torstein
1560 Husebø, Umut Tezduyar Lindskog, WaLyong Cho, Zbigniew
1563 -- Berlin, 2014-10-28
1567 * timedated no longer reads NTP implementation unit names from
1568 /usr/lib/systemd/ntp-units.d/*.list. Alternative NTP
1569 implementations should add a
1571 Conflicts=systemd-timesyncd.service
1573 to their unit files to take over and replace systemd's NTP
1574 default functionality.
1576 * systemd-sysusers gained a new line type "r" for configuring
1577 which UID/GID ranges to allocate system users/groups
1578 from. Lines of type "u" may now add an additional column
1579 that specifies the home directory for the system user to be
1580 created. Also, systemd-sysusers may now optionally read user
1581 information from STDIN instead of a file. This is useful for
1582 invoking it from RPM preinst scriptlets that need to create
1583 users before the first RPM file is installed since these
1584 files might need to be owned by them. A new
1585 %sysusers_create_inline RPM macro has been introduced to do
1586 just that. systemd-sysusers now updates the shadow files as
1587 well as the user/group databases, which should enhance
1588 compatibility with certain tools like grpck.
1590 * A number of bus APIs of PID 1 now optionally consult
1591 PolicyKit to permit access for otherwise unprivileged
1592 clients under certain conditions. Note that this currently
1593 doesn't support interactive authentication yet, but this is
1594 expected to be added eventually, too.
1596 * /etc/machine-info now has new fields for configuring the
1597 deployment environment of the machine, as well as the
1598 location of the machine. hostnamectl has been updated with
1599 new command to update these fields.
1601 * systemd-timesyncd has been updated to automatically acquire
1602 NTP server information from systemd-networkd, which might
1603 have been discovered via DHCP.
1605 * systemd-resolved now includes a caching DNS stub resolver
1606 and a complete LLMNR name resolution implementation. A new
1607 NSS module "nss-resolve" has been added which can be used
1608 instead of glibc's own "nss-dns" to resolve hostnames via
1609 systemd-resolved. Hostnames, addresses and arbitrary RRs may
1610 be resolved via systemd-resolved D-Bus APIs. In contrast to
1611 the glibc internal resolver systemd-resolved is aware of
1612 multi-homed system, and keeps DNS server and caches separate
1613 and per-interface. Queries are sent simultaneously on all
1614 interfaces that have DNS servers configured, in order to
1615 properly handle VPNs and local LANs which might resolve
1616 separate sets of domain names. systemd-resolved may acquire
1617 DNS server information from systemd-networkd automatically,
1618 which in turn might have discovered them via DHCP. A tool
1619 "systemd-resolve-host" has been added that may be used to
1620 query the DNS logic in resolved. systemd-resolved implements
1621 IDNA and automatically uses IDNA or UTF-8 encoding depending
1622 on whether classic DNS or LLMNR is used as transport. In the
1623 next releases we intend to add a DNSSEC and mDNS/DNS-SD
1624 implementation to systemd-resolved.
1626 * A new NSS module nss-mymachines has been added, that
1627 automatically resolves the names of all local registered
1628 containers to their respective IP addresses.
1630 * A new client tool "networkctl" for systemd-networkd has been
1631 added. It currently is entirely passive and will query
1632 networking configuration from udev, rtnetlink and networkd,
1633 and present it to the user in a very friendly
1634 way. Eventually, we hope to extend it to become a full
1635 control utility for networkd.
1637 * .socket units gained a new DeferAcceptSec= setting that
1638 controls the kernels' TCP_DEFER_ACCEPT sockopt for
1639 TCP. Similar, support for controlling TCP keep-alive
1640 settings has been added (KeepAliveTimeSec=,
1641 KeepAliveIntervalSec=, KeepAliveProbes=). Also, support for
1642 turning off Nagle's algorithm on TCP has been added
1645 * logind learned a new session type "web", for use in projects
1646 like Cockpit which register web clients as PAM sessions.
1648 * timer units with at least one OnCalendar= setting will now
1649 be started only after timer-sync.target has been
1650 reached. This way they will not elapse before the system
1651 clock has been corrected by a local NTP client or
1652 similar. This is particular useful on RTC-less embedded
1653 machines, that come up with an invalid system clock.
1655 * systemd-nspawn's --network-veth= switch should now result in
1656 stable MAC addresses for both the outer and the inner side
1659 * systemd-nspawn gained a new --volatile= switch for running
1660 container instances with /etc or /var unpopulated.
1662 * The kdbus client code has been updated to use the new Linux
1663 3.17 memfd subsystem instead of the old kdbus-specific one.
1665 * systemd-networkd's DHCP client and server now support
1666 FORCERENEW. There are also new configuration options to
1667 configure the vendor client identifier and broadcast mode
1670 * systemd will no longer inform the kernel about the current
1671 timezone, as this is necessarily incorrect and racy as the
1672 kernel has no understanding of DST and similar
1673 concepts. This hence means FAT timestamps will be always
1674 considered UTC, similar to what Android is already
1675 doing. Also, when the RTC is configured to the local time
1676 (rather than UTC) systemd will never synchronize back to it,
1677 as this might confuse Windows at a later boot.
1679 * systemd-analyze gained a new command "verify" for offline
1680 validation of unit files.
1682 * systemd-networkd gained support for a couple of additional
1683 settings for bonding networking setups. Also, the metric for
1684 statically configured routes may now be configured. For
1685 network interfaces where this is appropriate the peer IP
1686 address may now be configured.
1688 * systemd-networkd's DHCP client will no longer request
1689 broadcasting by default, as this tripped up some networks.
1690 For hardware where broadcast is required the feature should
1691 be switched back on using RequestBroadcast=yes.
1693 * systemd-networkd will now set up IPv4LL addresses (when
1694 enabled) even if DHCP is configured successfully.
1696 * udev will now default to respect network device names given
1697 by the kernel when the kernel indicates that these are
1698 predictable. This behavior can be tweaked by changing
1699 NamePolicy= in the relevant .link file.
1701 * A new library systemd-terminal has been added that
1702 implements full TTY stream parsing and rendering. This
1703 library is supposed to be used later on for implementing a
1704 full userspace VT subsystem, replacing the current kernel
1707 * A new tool systemd-journal-upload has been added to push
1708 journal data to a remote system running
1709 systemd-journal-remote.
1711 * journald will no longer forward all local data to another
1712 running syslog daemon. This change has been made because
1713 rsyslog (which appears to be the most commonly used syslog
1714 implementation these days) no longer makes use of this, and
1715 instead pulls the data out of the journal on its own. Since
1716 forwarding the messages to a non-existent syslog server is
1717 more expensive than we assumed we have now turned this
1718 off. If you run a syslog server that is not a recent rsyslog
1719 version, you have to turn this option on again
1720 (ForwardToSyslog= in journald.conf).
1722 * journald now optionally supports the LZ4 compressor for
1723 larger journal fields. This compressor should perform much
1724 better than XZ which was the previous default.
1726 * machinectl now shows the IP addresses of local containers,
1727 if it knows them, plus the interface name of the container.
1729 * A new tool "systemd-escape" has been added that makes it
1730 easy to escape strings to build unit names and similar.
1732 * sd_notify() messages may now include a new ERRNO= field
1733 which is parsed and collected by systemd and shown among the
1734 "systemctl status" output for a service.
1736 * A new component "systemd-firstboot" has been added that
1737 queries the most basic systemd information (timezone,
1738 hostname, root password) interactively on first
1739 boot. Alternatively it may also be used to provision these
1740 things offline on OS images installed into directories.
1742 * The default sysctl.d/ snippets will now set
1744 net.ipv4.conf.default.promote_secondaries=1
1746 This has the benefit of no flushing secondary IP addresses
1747 when primary addresses are removed.
1749 Contributions from: Ansgar Burchardt, Bastien Nocera, Colin
1750 Walters, Dan Dedrick, Daniel Buch, Daniel Korostil, Daniel
1751 Mack, Dan Williams, Dave Reisner, David Herrmann, Denis
1752 Kenzior, Eelco Dolstra, Eric Cook, Hannes Reinecke, Harald
1753 Hoyer, Hong Shick Pak, Hui Wang, Jean-André Santoni, Jóhann
1754 B. Guðmundsson, Jon Severinsson, Karel Zak, Kay Sievers, Kevin
1755 Wells, Lennart Poettering, Lukas Nykryn, Mantas Mikulėnas,
1756 Marc-Antoine Perennou, Martin Pitt, Michael Biebl, Michael
1757 Marineau, Michael Olbrich, Michal Schmidt, Michal Sekletar,
1758 Miguel Angel Ajo, Mike Gilbert, Olivier Brunel, Robert
1759 Schiele, Ronny Chevalier, Simon McVittie, Sjoerd Simons, Stef
1760 Walter, Steven Noonan, Susant Sahani, Tanu Kaskinen, Thomas
1761 Blume, Thomas Hindoe Paaboel Andersen, Timofey Titovets,
1762 Tobias Geerinckx-Rice, Tomasz Torcz, Tom Gundersen, Umut
1763 Tezduyar Lindskog, Zbigniew Jędrzejewski-Szmek
1765 -- Berlin, 2014-08-19
1769 * A new tool systemd-sysusers has been added. This tool
1770 creates system users and groups in /etc/passwd and
1771 /etc/group, based on static declarative system user/group
1772 definitions in /usr/lib/sysusers.d/. This is useful to
1773 enable factory resets and volatile systems that boot up with
1774 an empty /etc directory, and thus need system users and
1775 groups created during early boot. systemd now also ships
1776 with two default sysusers.d/ files for the most basic
1777 users and groups systemd and the core operating system
1780 * A new tmpfiles snippet has been added that rebuilds the
1781 essential files in /etc on boot, should they be missing.
1783 * A directive for ensuring automatic clean-up of
1784 /var/cache/man/ has been removed from the default
1785 configuration. This line should now be shipped by the man
1786 implementation. The necessary change has been made to the
1787 man-db implementation. Note that you need to update your man
1788 implementation to one that ships this line, otherwise no
1789 automatic clean-up of /var/cache/man will take place.
1791 * A new condition ConditionNeedsUpdate= has been added that
1792 may conditionalize services to only run when /etc or /var
1793 are "older" than the vendor operating system resources in
1794 /usr. This is useful for reconstructing or updating /etc
1795 after an offline update of /usr or a factory reset, on the
1796 next reboot. Services that want to run once after such an
1797 update or reset should use this condition and order
1798 themselves before the new systemd-update-done.service, which
1799 will mark the two directories as fully updated. A number of
1800 service files have been added making use of this, to rebuild
1801 the udev hardware database, the journald message catalog and
1802 dynamic loader cache (ldconfig). The systemd-sysusers tool
1803 described above also makes use of this now. With this in
1804 place it is now possible to start up a minimal operating
1805 system with /etc empty cleanly. For more information on the
1806 concepts involved see this recent blog story:
1808 http://0pointer.de/blog/projects/stateless.html
1810 * A new system group "input" has been introduced, and all
1811 input device nodes get this group assigned. This is useful
1812 for system-level software to get access to input devices. It
1813 complements what is already done for "audio" and "video".
1815 * systemd-networkd learnt minimal DHCPv4 server support in
1816 addition to the existing DHCPv4 client support. It also
1817 learnt DHCPv6 client and IPv6 Router Solicitation client
1818 support. The DHCPv4 client gained support for static routes
1819 passed in from the server. Note that the [DHCPv4] section
1820 known in older systemd-networkd versions has been renamed to
1821 [DHCP] and is now also used by the DHCPv6 client. Existing
1822 .network files using settings of this section should be
1823 updated, though compatibility is maintained. Optionally, the
1824 client hostname may now be sent to the DHCP server.
1826 * networkd gained support for vxlan virtual networks as well
1827 as tun/tap and dummy devices.
1829 * networkd gained support for automatic allocation of address
1830 ranges for interfaces from a system-wide pool of
1831 addresses. This is useful for dynamically managing a large
1832 number of interfaces with a single network configuration
1833 file. In particular this is useful to easily assign
1834 appropriate IP addresses to the veth links of a large number
1835 of nspawn instances.
1837 * RPM macros for processing sysusers, sysctl and binfmt
1838 drop-in snippets at package installation time have been
1841 * The /etc/os-release file should now be placed in
1842 /usr/lib/os-release. The old location is automatically
1843 created as symlink. /usr/lib is the more appropriate
1844 location of this file, since it shall actually describe the
1845 vendor operating system shipped in /usr, and not the
1846 configuration stored in /etc.
1848 * .mount units gained a new boolean SloppyOptions= setting
1849 that maps to mount(8)'s -s option which enables permissive
1850 parsing of unknown mount options.
1852 * tmpfiles learnt a new "L+" directive which creates a symlink
1853 but (unlike "L") deletes a pre-existing file first, should
1854 it already exist and not already be the correct
1855 symlink. Similar, "b+", "c+" and "p+" directives have been
1856 added as well, which create block and character devices, as
1857 well as fifos in the filesystem, possibly removing any
1858 pre-existing files of different types.
1860 * For tmpfiles' "L", "L+", "C" and "C+" directives the final
1861 'argument' field (which so far specified the source to
1862 symlink/copy the files from) is now optional. If omitted the
1863 same file os copied from /usr/share/factory/ suffixed by the
1864 full destination path. This is useful for populating /etc
1865 with essential files, by copying them from vendor defaults
1866 shipped in /usr/share/factory/etc.
1868 * A new command "systemctl preset-all" has been added that
1869 applies the service preset settings to all installed unit
1870 files. A new switch --preset-mode= has been added that
1871 controls whether only enable or only disable operations
1874 * A new command "systemctl is-system-running" has been added
1875 that allows checking the overall state of the system, for
1876 example whether it is fully up and running.
1878 * When the system boots up with an empty /etc, the equivalent
1879 to "systemctl preset-all" is executed during early boot, to
1880 make sure all default services are enabled after a factory
1883 * systemd now contains a minimal preset file that enables the
1884 most basic services systemd ships by default.
1886 * Unit files' [Install] section gained a new DefaultInstance=
1887 field for defining the default instance to create if a
1888 template unit is enabled with no instance specified.
1890 * A new passive target cryptsetup-pre.target has been added
1891 that may be used by services that need to make they run and
1892 finish before the first LUKS cryptographic device is set up.
1894 * The /dev/loop-control and /dev/btrfs-control device nodes
1895 are now owned by the "disk" group by default, opening up
1896 access to this group.
1898 * systemd-coredump will now automatically generate a
1899 stack trace of all core dumps taking place on the system,
1900 based on elfutils' libdw library. This stack trace is logged
1903 * systemd-coredump may now optionally store coredumps directly
1904 on disk (in /var/lib/systemd/coredump, possibly compressed),
1905 instead of storing them unconditionally in the journal. This
1906 mode is the new default. A new configuration file
1907 /etc/systemd/coredump.conf has been added to configure this
1908 and other parameters of systemd-coredump.
1910 * coredumpctl gained a new "info" verb to show details about a
1911 specific coredump. A new switch "-1" has also been added
1912 that makes sure to only show information about the most
1913 recent entry instead of all entries. Also, as the tool is
1914 generally useful now the "systemd-" prefix of the binary
1915 name has been removed. Distributions that want to maintain
1916 compatibility with the old name should add a symlink from
1917 the old name to the new name.
1919 * journald's SplitMode= now defaults to "uid". This makes sure
1920 that unprivileged users can access their own coredumps with
1921 coredumpctl without restrictions.
1923 * New kernel command line options "systemd.wants=" (for
1924 pulling an additional unit during boot), "systemd.mask="
1925 (for masking a specific unit for the boot), and
1926 "systemd.debug-shell" (for enabling the debug shell on tty9)
1927 have been added. This is implemented in the new generator
1928 "systemd-debug-generator".
1930 * systemd-nspawn will now by default filter a couple of
1931 syscalls for containers, among them those required for
1932 kernel module loading, direct x86 IO port access, swap
1933 management, and kexec. Most importantly though
1934 open_by_handle_at() is now prohibited for containers,
1935 closing a hole similar to a recently discussed vulnerability
1936 in docker regarding access to files on file hierarchies the
1937 container should normally not have access to. Note that for
1938 nspawn we generally make no security claims anyway (and
1939 this is explicitly documented in the man page), so this is
1940 just a fix for one of the most obvious problems.
1942 * A new man page file-hierarchy(7) has been added that
1943 contains a minimized, modernized version of the file system
1944 layout systemd expects, similar in style to the FHS
1945 specification or hier(5). A new tool systemd-path(1) has
1946 been added to query many of these paths for the local
1949 * Automatic time-based clean-up of $XDG_RUNTIME_DIR is no
1950 longer done. Since the directory now has a per-user size
1951 limit, and is cleaned on logout this appears unnecessary,
1952 in particular since this now brings the lifecycle of this
1953 directory closer in line with how IPC objects are handled.
1955 * systemd.pc now exports a number of additional directories,
1956 including $libdir (which is useful to identify the library
1957 path for the primary architecture of the system), and a
1958 couple of drop-in directories.
1960 * udev's predictable network interface names now use the dev_port
1961 sysfs attribute, introduced in linux 3.15 instead of dev_id to
1962 distinguish between ports of the same PCI function. dev_id should
1963 only be used for ports using the same HW address, hence the need
1966 * machined has been updated to export the OS version of a
1967 container (read from /etc/os-release and
1968 /usr/lib/os-release) on the bus. This is now shown in
1969 "machinectl status" for a machine.
1971 * A new service setting RestartForceExitStatus= has been
1972 added. If configured to a set of exit signals or process
1973 return values, the service will be restarted when the main
1974 daemon process exits with any of them, regardless of the
1977 * systemctl's -H switch for connecting to remote systemd
1978 machines has been extended so that it may be used to
1979 directly connect to a specific container on the
1980 host. "systemctl -H root@foobar:waldi" will now connect as
1981 user "root" to host "foobar", and then proceed directly to
1982 the container named "waldi". Note that currently you have to
1983 authenticate as user "root" for this to work, as entering
1984 containers is a privileged operation.
1986 Contributions from: Andreas Henriksson, Benjamin Steinwender,
1987 Carl Schaefer, Christian Hesse, Colin Ian King, Cristian
1988 Rodríguez, Daniel Mack, Dave Reisner, David Herrmann, Eugene
1989 Yakubovich, Filipe Brandenburger, Frederic Crozat, Hristo
1990 Venev, Jan Engelhardt, Jonathan Boulle, Kay Sievers, Lennart
1991 Poettering, Luke Shumaker, Mantas Mikulėnas, Marc-Antoine
1992 Perennou, Marcel Holtmann, Michael Marineau, Michael Olbrich,
1993 Michał Bartoszkiewicz, Michal Sekletar, Patrik Flykt, Ronan Le
1994 Martret, Ronny Chevalier, Ruediger Oertel, Steven Noonan,
1995 Susant Sahani, Thadeu Lima de Souza Cascardo, Thomas Hindoe
1996 Paaboel Andersen, Tom Gundersen, Tom Hirst, Umut Tezduyar
1997 Lindskog, Uoti Urpala, Zbigniew Jędrzejewski-Szmek
1999 -- Berlin, 2014-07-03
2003 * As an experimental feature, udev now tries to lock the
2004 disk device node (flock(LOCK_SH|LOCK_NB)) while it
2005 executes events for the disk or any of its partitions.
2006 Applications like partitioning programs can lock the
2007 disk device node (flock(LOCK_EX)) and claim temporary
2008 device ownership that way; udev will entirely skip all event
2009 handling for this disk and its partitions. If the disk
2010 was opened for writing, the close will trigger a partition
2011 table rescan in udev's "watch" facility, and if needed
2012 synthesize "change" events for the disk and all its partitions.
2013 This is now unconditionally enabled, and if it turns out to
2014 cause major problems, we might turn it on only for specific
2015 devices, or might need to disable it entirely. Device Mapper
2016 devices are excluded from this logic.
2018 * We temporarily dropped the "-l" switch for fsck invocations,
2019 since they collide with the flock() logic above. util-linux
2020 upstream has been changed already to avoid this conflict,
2021 and we will readd "-l" as soon as util-linux with this
2022 change has been released.
2024 * The dependency on libattr has been removed. Since a long
2025 time, the extended attribute calls have moved to glibc, and
2026 libattr is thus unnecessary.
2028 * Virtualization detection works without priviliges now. This
2029 means the systemd-detect-virt binary no longer requires
2030 CAP_SYS_PTRACE file capabilities, and our daemons can run
2031 with fewer privileges.
2033 * systemd-networkd now runs under its own "systemd-network"
2034 user. It retains the CAP_NET_ADMIN, CAP_NET_BIND_SERVICE,
2035 CAP_NET_BROADCAST, CAP_NET_RAW capabilities though, but
2036 loses the ability to write to files owned by root this way.
2038 * Similar, systemd-resolved now runs under its own
2039 "systemd-resolve" user with no capabilities remaining.
2041 * Similar, systemd-bus-proxyd now runs under its own
2042 "systemd-bus-proxy" user with only CAP_IPC_OWNER remaining.
2044 * systemd-networkd gained support for setting up "veth"
2045 virtual ethernet devices for container connectivity, as well
2046 as GRE and VTI tunnels.
2048 * systemd-networkd will no longer automatically attempt to
2049 manually load kernel modules necessary for certain tunnel
2050 transports. Instead, it is assumed the kernel loads them
2051 automatically when required. This only works correctly on
2052 very new kernels. On older kernels, please consider adding
2053 the kernel modules to /etc/modules-load.d/ as a work-around.
2055 * The resolv.conf file systemd-resolved generates has been
2056 moved to /run/systemd/resolve/. If you have a symlink from
2057 /etc/resolv.conf, it might be necessary to correct it.
2059 * Two new service settings, ProtectHome= and ProtectSystem=,
2060 have been added. When enabled, they will make the user data
2061 (such as /home) inaccessible or read-only and the system
2062 (such as /usr) read-only, for specific services. This allows
2063 very light-weight per-service sandboxing to avoid
2064 modifications of user data or system files from
2065 services. These two new switches have been enabled for all
2066 of systemd's long-running services, where appropriate.
2068 * Socket units gained new SocketUser= and SocketGroup=
2069 settings to set the owner user and group of AF_UNIX sockets
2070 and FIFOs in the file system.
2072 * Socket units gained a new RemoveOnStop= setting. If enabled,
2073 all FIFOS and sockets in the file system will be removed
2074 when the specific socket unit is stopped.
2076 * Socket units gained a new Symlinks= setting. It takes a list
2077 of symlinks to create to file system sockets or FIFOs
2078 created by the specific Unix sockets. This is useful to
2079 manage symlinks to socket nodes with the same life-cycle as
2082 * The /dev/log socket and /dev/initctl FIFO have been moved to
2083 /run, and have been replaced by symlinks. This allows
2084 connecting to these facilities even if PrivateDevices=yes is
2085 used for a service (which makes /dev/log itself unavailable,
2086 but /run is left). This also has the benefit of ensuring
2087 that /dev only contains device nodes, directories and
2088 symlinks, and nothing else.
2090 * sd-daemon gained two new calls sd_pid_notify() and
2091 sd_pid_notifyf(). They are similar to sd_notify() and
2092 sd_notifyf(), but allow overriding of the source PID of
2093 notification messages if permissions permit this. This is
2094 useful to send notify messages on behalf of a different
2095 process (for example, the parent process). The
2096 systemd-notify tool has been updated to make use of this
2097 when sending messages (so that notification messages now
2098 originate from the shell script invoking systemd-notify and
2099 not the systemd-notify process itself. This should minimize
2100 a race where systemd fails to associate notification
2101 messages to services when the originating process already
2104 * A new "on-abnormal" setting for Restart= has been added. If
2105 set, it will result in automatic restarts on all "abnormal"
2106 reasons for a process to exit, which includes unclean
2107 signals, core dumps, timeouts and watchdog timeouts, but
2108 does not include clean and unclean exit codes or clean
2109 signals. Restart=on-abnormal is an alternative for
2110 Restart=on-failure for services that shall be able to
2111 terminate and avoid restarts on certain errors, by
2112 indicating so with an unclean exit code. Restart=on-failure
2113 or Restart=on-abnormal is now the recommended setting for
2114 all long-running services.
2116 * If the InaccessibleDirectories= service setting points to a
2117 mount point (or if there are any submounts contained within
2118 it), it is now attempted to completely unmount it, to make
2119 the file systems truly unavailable for the respective
2122 * The ReadOnlyDirectories= service setting and
2123 systemd-nspawn's --read-only parameter are now recursively
2124 applied to all submounts, too.
2126 * Mount units may now be created transiently via the bus APIs.
2128 * The support for SysV and LSB init scripts has been removed
2129 from the systemd daemon itself. Instead, it is now
2130 implemented as a generator that creates native systemd units
2131 from these scripts when needed. This enables us to remove a
2132 substantial amount of legacy code from PID 1, following the
2133 fact that many distributions only ship a very small number
2134 of LSB/SysV init scripts nowadays.
2136 * Privileged Xen (dom0) domains are not considered
2137 virtualization anymore by the virtualization detection
2138 logic. After all, they generally have unrestricted access to
2139 the hardware and usually are used to manage the unprivileged
2142 * systemd-tmpfiles gained a new "C" line type, for copying
2143 files or entire directories.
2145 * systemd-tmpfiles "m" lines are now fully equivalent to "z"
2146 lines. So far, they have been non-globbing versions of the
2147 latter, and have thus been redundant. In future, it is
2148 recommended to only use "z". "m" has hence been removed
2149 from the documentation, even though it stays supported.
2151 * A tmpfiles snippet to recreate the most basic structure in
2152 /var has been added. This is enough to create the /var/run →
2153 /run symlink and create a couple of structural
2154 directories. This allows systems to boot up with an empty or
2155 volatile /var. Of course, while with this change, the core OS
2156 now is capable with dealing with a volatile /var, not all
2157 user services are ready for it. However, we hope that sooner
2158 or later, many service daemons will be changed upstream so
2159 that they are able to automatically create their necessary
2160 directories in /var at boot, should they be missing. This is
2161 the first step to allow state-less systems that only require
2162 the vendor image for /usr to boot.
2164 * systemd-nspawn has gained a new --tmpfs= switch to mount an
2165 empty tmpfs instance to a specific directory. This is
2166 particularly useful for making use of the automatic
2167 reconstruction of /var (see above), by passing --tmpfs=/var.
2169 * Access modes specified in tmpfiles snippets may now be
2170 prefixed with "~", which indicates that they shall be masked
2171 by whether the existing file or directory is currently
2172 writable, readable or executable at all. Also, if specified,
2173 the sgid/suid/sticky bits will be masked for all
2176 * A new passive target unit "network-pre.target" has been
2177 added which is useful for services that shall run before any
2178 network is configured, for example firewall scripts.
2180 * The "floppy" group that previously owned the /dev/fd*
2181 devices is no longer used. The "disk" group is now used
2182 instead. Distributions should probably deprecate usage of
2185 Contributions from: Camilo Aguilar, Christian Hesse, Colin Ian
2186 King, Cristian Rodríguez, Daniel Buch, Dave Reisner, David
2187 Strauss, Denis Tikhomirov, John, Jonathan Liu, Kay Sievers,
2188 Lennart Poettering, Mantas Mikulėnas, Mark Eichin, Ronny
2189 Chevalier, Susant Sahani, Thomas Blume, Thomas Hindoe Paaboel
2190 Andersen, Tom Gundersen, Umut Tezduyar Lindskog, Zbigniew
2193 -- Berlin, 2014-06-11
2197 * A new "systemd-timesyncd" daemon has been added for
2198 synchronizing the system clock across the network. It
2199 implements an SNTP client. In contrast to NTP
2200 implementations such as chrony or the NTP reference server,
2201 this only implements a client side, and does not bother with
2202 the full NTP complexity, focusing only on querying time from
2203 one remote server and synchronizing the local clock to
2204 it. Unless you intend to serve NTP to networked clients or
2205 want to connect to local hardware clocks, this simple NTP
2206 client should be more than appropriate for most
2207 installations. The daemon runs with minimal privileges, and
2208 has been hooked up with networkd to only operate when
2209 network connectivity is available. The daemon saves the
2210 current clock to disk every time a new NTP sync has been
2211 acquired, and uses this to possibly correct the system clock
2212 early at bootup, in order to accommodate for systems that
2213 lack an RTC such as the Raspberry Pi and embedded devices,
2214 and to make sure that time monotonically progresses on these
2215 systems, even if it is not always correct. To make use of
2216 this daemon, a new system user and group "systemd-timesync"
2217 needs to be created on installation of systemd.
2219 * The queue "seqnum" interface of libudev has been disabled, as
2220 it was generally incompatible with device namespacing as
2221 sequence numbers of devices go "missing" if the devices are
2222 part of a different namespace.
2224 * "systemctl list-timers" and "systemctl list-sockets" gained
2225 a --recursive switch for showing units of these types also
2226 for all local containers, similar in style to the already
2227 supported --recursive switch for "systemctl list-units".
2229 * A new RebootArgument= setting has been added for service
2230 units, which may be used to specify a kernel reboot argument
2231 to use when triggering reboots with StartLimitAction=.
2233 * A new FailureAction= setting has been added for service
2234 units which may be used to specify an operation to trigger
2235 when a service fails. This works similarly to
2236 StartLimitAction=, but unlike it, controls what is done
2237 immediately rather than only after several attempts to
2238 restart the service in question.
2240 * hostnamed got updated to also expose the kernel name,
2241 release, and version on the bus. This is useful for
2242 executing commands like hostnamectl with the -H switch.
2243 systemd-analyze makes use of this to properly display
2244 details when running non-locally.
2246 * The bootchart tool can now show cgroup information in the
2247 graphs it generates.
2249 * The CFS CPU quota cgroup attribute is now exposed for
2250 services. The new CPUQuota= switch has been added for this
2251 which takes a percentage value. Setting this will have the
2252 result that a service may never get more CPU time than the
2253 specified percentage, even if the machine is otherwise idle.
2255 * systemd-networkd learned IPIP and SIT tunnel support.
2257 * LSB init scripts exposing a dependency on $network will now
2258 get a dependency on network-online.target rather than simply
2259 network.target. This should bring LSB handling closer to
2260 what it was on SysV systems.
2262 * A new fsck.repair= kernel option has been added to control
2263 how fsck shall deal with unclean file systems at boot.
2265 * The (.ini) configuration file parser will now silently
2266 ignore sections whose name begins with "X-". This may be
2267 used to maintain application-specific extension sections in unit
2270 * machined gained a new API to query the IP addresses of
2271 registered containers. "machinectl status" has been updated
2272 to show these addresses in its output.
2274 * A new call sd_uid_get_display() has been added to the
2275 sd-login APIs for querying the "primary" session of a
2276 user. The "primary" session of the user is elected from the
2277 user's sessions and generally a graphical session is
2278 preferred over a text one.
2280 * A minimal systemd-resolved daemon has been added. It
2281 currently simply acts as a companion to systemd-networkd and
2282 manages resolv.conf based on per-interface DNS
2283 configuration, possibly supplied via DHCP. In the long run
2284 we hope to extend this into a local DNSSEC enabled DNS and
2287 * The systemd-networkd-wait-online tool is now enabled by
2288 default. It will delay network-online.target until a network
2289 connection has been configured. The tool primarily integrates
2290 with networkd, but will also make a best effort to make sense
2291 of network configuration performed in some other way.
2293 * Two new service options StartupCPUShares= and
2294 StartupBlockIOWeight= have been added that work similarly to
2295 CPUShares= and BlockIOWeight= however only apply during
2296 system startup. This is useful to prioritize certain services
2297 differently during bootup than during normal runtime.
2299 * hostnamed has been changed to prefer the statically
2300 configured hostname in /etc/hostname (unless set to
2301 'localhost' or empty) over any dynamic one supplied by
2302 dhcp. With this change, the rules for picking the hostname
2303 match more closely the rules of other configuration settings
2304 where the local administrator's configuration in /etc always
2305 overrides any other settings.
2307 Contributions fron: Ali H. Caliskan, Alison Chaiken, Bas van
2308 den Berg, Brandon Philips, Cristian Rodríguez, Daniel Buch,
2309 Dan Kilman, Dave Reisner, David Härdeman, David Herrmann,
2310 David Strauss, Dimitris Spingos, Djalal Harouni, Eelco
2311 Dolstra, Evan Nemerson, Florian Albrechtskirchinger, Greg
2312 Kroah-Hartman, Harald Hoyer, Holger Hans Peter Freyther, Jan
2313 Engelhardt, Jani Nikula, Jason St. John, Jeffrey Clark,
2314 Jonathan Boulle, Kay Sievers, Lennart Poettering, Lukas
2315 Nykryn, Lukasz Skalski, Łukasz Stelmach, Mantas Mikulėnas,
2316 Marcel Holtmann, Martin Pitt, Matthew Monaco, Michael
2317 Marineau, Michael Olbrich, Michal Sekletar, Mike Gilbert, Nis
2318 Martensen, Patrik Flykt, Philip Lorenz, poma, Ray Strode,
2319 Reyad Attiyat, Robert Milasan, Scott Thrasher, Stef Walter,
2320 Steven Siloti, Susant Sahani, Tanu Kaskinen, Thomas Bächler,
2321 Thomas Hindoe Paaboel Andersen, Tom Gundersen, Umut Tezduyar
2322 Lindskog, WaLyong Cho, Will Woods, Zbigniew
2325 -- Beijing, 2014-05-28
2329 * When restoring the screen brightness at boot, stay away from
2330 the darkest setting or from the lowest 5% of the available
2331 range, depending on which is the larger value of both. This
2332 should effectively protect the user from rebooting into a
2333 black screen, should the brightness have been set to minimum
2336 * sd-login gained a new sd_machine_get_class() call to
2337 determine the class ("vm" or "container") of a machine
2338 registered with machined.
2340 * sd-login gained new calls
2341 sd_peer_get_{session,owner_uid,unit,user_unit,slice,machine_name}(),
2342 to query the identity of the peer of a local AF_UNIX
2343 connection. They operate similarly to their sd_pid_get_xyz()
2346 * PID 1 will now maintain a system-wide system state engine
2347 with the states "starting", "running", "degraded",
2348 "maintenance", "stopping". These states are bound to system
2349 startup, normal runtime, runtime with at least one failed
2350 service, rescue/emergency mode and system shutdown. This
2351 state is shown in the "systemctl status" output when no unit
2352 name is passed. It is useful to determine system state, in
2353 particularly when doing so for many systems or containers at
2356 * A new command "list-machines" has been added to "systemctl"
2357 that lists all local OS containers and shows their system
2358 state (see above), if systemd runs inside of them.
2360 * systemctl gained a new "-r" switch to recursively enumerate
2361 units on all local containers, when used with the
2362 "list-unit" command (which is the default one that is
2363 executed when no parameters are specified).
2365 * The GPT automatic partition discovery logic will now honour
2366 two GPT partition flags: one may be set on a partition to
2367 cause it to be mounted read-only, and the other may be set
2368 on a partition to ignore it during automatic discovery.
2370 * Two new GPT type UUIDs have been added for automatic root
2371 partition discovery, for 32-bit and 64-bit ARM. This is not
2372 particularly useful for discovering the root directory on
2373 these architectures during bare-metal boots (since UEFI is
2374 not common there), but still very useful to allow booting of
2375 ARM disk images in nspawn with the -i option.
2377 * MAC addresses of interfaces created with nspawn's
2378 --network-interface= switch will now be generated from the
2379 machine name, and thus be stable between multiple invocations
2382 * logind will now automatically remove all IPC objects owned
2383 by a user if she or he fully logs out. This makes sure that
2384 users who are logged out cannot continue to consume IPC
2385 resources. This covers SysV memory, semaphores and message
2386 queues as well as POSIX shared memory and message
2387 queues. Traditionally, SysV and POSIX IPC had no life-cycle
2388 limits. With this functionality, that is corrected. This may
2389 be turned off by using the RemoveIPC= switch of logind.conf.
2391 * The systemd-machine-id-setup and tmpfiles tools gained a
2392 --root= switch to operate on a specific root directory,
2395 * journald can now forward logged messages to the TTYs of all
2396 logged in users ("wall"). This is the default for all
2397 emergency messages now.
2399 * A new tool systemd-journal-remote has been added to stream
2400 journal log messages across the network.
2402 * /sys/fs/cgroup/ is now mounted read-only after all cgroup
2403 controller trees are mounted into it. Note that the
2404 directories mounted beneath it are not read-only. This is a
2405 security measure and is particularly useful because glibc
2406 actually includes a search logic to pick any tmpfs it can
2407 find to implement shm_open() if /dev/shm is not available
2408 (which it might very well be in namespaced setups).
2410 * machinectl gained a new "poweroff" command to cleanly power
2411 down a local OS container.
2413 * The PrivateDevices= unit file setting will now also drop the
2414 CAP_MKNOD capability from the capability bound set, and
2415 imply DevicePolicy=closed.
2417 * PrivateDevices=, PrivateNetwork= and PrivateTmp= is now used
2418 comprehensively on all long-running systemd services where
2419 this is appropriate.
2421 * systemd-udevd will now run in a disassociated mount
2422 namespace. To mount directories from udev rules, make sure to
2423 pull in mount units via SYSTEMD_WANTS properties.
2425 * The kdbus support gained support for uploading policy into
2426 the kernel. sd-bus gained support for creating "monitoring"
2427 connections that can eavesdrop into all bus communication
2428 for debugging purposes.
2430 * Timestamps may now be specified in seconds since the UNIX
2431 epoch Jan 1st, 1970 by specifying "@" followed by the value
2434 * Native tcpwrap support in systemd has been removed. tcpwrap
2435 is old code, not really maintained anymore and has serious
2436 shortcomings, and better options such as firewalls
2437 exist. For setups that require tcpwrap usage, please
2438 consider invoking your socket-activated service via tcpd,
2439 like on traditional inetd.
2441 * A new system.conf configuration option
2442 DefaultTimerAccuracySec= has been added that controls the
2443 default AccuracySec= setting of .timer units.
2445 * Timer units gained a new WakeSystem= switch. If enabled,
2446 timers configured this way will cause the system to resume
2447 from system suspend (if the system supports that, which most
2450 * Timer units gained a new Persistent= switch. If enabled,
2451 timers configured this way will save to disk when they have
2452 been last triggered. This information is then used on next
2453 reboot to possible execute overdue timer events, that
2454 could not take place because the system was powered off.
2455 This enables simple anacron-like behaviour for timer units.
2457 * systemctl's "list-timers" will now also list the time a
2458 timer unit was last triggered in addition to the next time
2459 it will be triggered.
2461 * systemd-networkd will now assign predictable IPv4LL
2462 addresses to its local interfaces.
2464 Contributions from: Brandon Philips, Daniel Buch, Daniel Mack,
2465 Dave Reisner, David Herrmann, Gerd Hoffmann, Greg
2466 Kroah-Hartman, Hendrik Brueckner, Jason St. John, Josh
2467 Triplett, Kay Sievers, Lennart Poettering, Marc-Antoine
2468 Perennou, Michael Marineau, Michael Olbrich, Miklos Vajna,
2469 Patrik Flykt, poma, Sebastian Thorarensen, Thomas Bächler,
2470 Thomas Hindoe Paaboel Andersen, Tomasz Torcz, Tom Gundersen,
2471 Umut Tezduyar Lindskog, Wieland Hoffmann, Zbigniew
2474 -- Berlin, 2014-03-25
2478 * A new unit file setting RestrictAddressFamilies= has been
2479 added to restrict which socket address families unit
2480 processes gain access to. This takes address family names
2481 like "AF_INET" or "AF_UNIX", and is useful to minimize the
2482 attack surface of services via exotic protocol stacks. This
2483 is built on seccomp system call filters.
2485 * Two new unit file settings RuntimeDirectory= and
2486 RuntimeDirectoryMode= have been added that may be used to
2487 manage a per-daemon runtime directories below /run. This is
2488 an alternative for setting up directory permissions with
2489 tmpfiles snippets, and has the advantage that the runtime
2490 directory's lifetime is bound to the daemon runtime and that
2491 the daemon starts up with an empty directory each time. This
2492 is particularly useful when writing services that drop
2493 privileges using the User= or Group= setting.
2495 * The DeviceAllow= unit setting now supports globbing for
2496 matching against device group names.
2498 * The systemd configuration file system.conf gained new
2499 settings DefaultCPUAccounting=, DefaultBlockIOAccounting=,
2500 DefaultMemoryAccounting= to globally turn on/off accounting
2501 for specific resources (cgroups) for all units. These
2502 settings may still be overridden individually in each unit
2505 * systemd-gpt-auto-generator is now able to discover /srv and
2506 root partitions in addition to /home and swap partitions. It
2507 also supports LUKS-encrypted partitions now. With this in
2508 place, automatic discovery of partitions to mount following
2509 the Discoverable Partitions Specification
2510 (http://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec)
2511 is now a lot more complete. This allows booting without
2512 /etc/fstab and without root= on the kernel command line on
2513 systems prepared appropriately.
2515 * systemd-nspawn gained a new --image= switch which allows
2516 booting up disk images and Linux installations on any block
2517 device that follow the Discoverable Partitions Specification
2518 (see above). This means that installations made with
2519 appropriately updated installers may now be started and
2520 deployed using container managers, completely
2521 unmodified. (We hope that libvirt-lxc will add support for
2522 this feature soon, too.)
2524 * systemd-nspawn gained a new --network-macvlan= setting to
2525 set up a private macvlan interface for the
2526 container. Similarly, systemd-networkd gained a new
2527 Kind=macvlan setting in .netdev files.
2529 * systemd-networkd now supports configuring local addresses
2532 * A new tool systemd-network-wait-online has been added to
2533 synchronously wait for network connectivity using
2536 * The sd-bus.h bus API gained a new sd_bus_track object for
2537 tracking the life-cycle of bus peers. Note that sd-bus.h is
2538 still not a public API though (unless you specify
2539 --enable-kdbus on the configure command line, which however
2540 voids your warranty and you get no API stability guarantee).
2542 * The $XDG_RUNTIME_DIR runtime directories for each user are
2543 now individual tmpfs instances, which has the benefit of
2544 introducing separate pools for each user, with individual
2545 size limits, and thus making sure that unprivileged clients
2546 can no longer negatively impact the system or other users by
2547 filling up their $XDG_RUNTIME_DIR. A new logind.conf setting
2548 RuntimeDirectorySize= has been introduced that allows
2549 controlling the default size limit for all users. It
2550 defaults to 10% of the available physical memory. This is no
2551 replacement for quotas on tmpfs though (which the kernel
2552 still does not support), as /dev/shm and /tmp are still
2553 shared resources used by both the system and unprivileged
2556 * logind will now automatically turn off automatic suspending
2557 on laptop lid close when more than one display is
2558 connected. This was previously expected to be implemented
2559 individually in desktop environments (such as GNOME),
2560 however has been added to logind now, in order to fix a
2561 boot-time race where a desktop environment might not have
2562 been started yet and thus not been able to take an inhibitor
2563 lock at the time where logind already suspends the system
2564 due to a closed lid.
2566 * logind will now wait at least 30s after each system
2567 suspend/resume cycle, and 3min after system boot before
2568 suspending the system due to a closed laptop lid. This
2569 should give USB docking stations and similar enough time to
2570 be probed and configured after system resume and boot in
2571 order to then act as suspend blocker.
2573 * systemd-run gained a new --property= setting which allows
2574 initialization of resource control properties (and others)
2575 for the created scope or service unit. Example: "systemd-run
2576 --property=BlockIOWeight=10 updatedb" may be used to run
2577 updatedb at a low block IO scheduling weight.
2579 * systemd-run's --uid=, --gid=, --setenv=, --setenv= switches
2580 now also work in --scope mode.
2582 * When systemd is compiled with kdbus support, basic support
2583 for enforced policies is now in place. (Note that enabling
2584 kdbus still voids your warranty and no API compatibility
2587 Contributions from: Andrey Borzenkov, Ansgar Burchardt, Armin
2588 K., Daniel Mack, Dave Reisner, David Herrmann, Djalal Harouni,
2589 Harald Hoyer, Henrik Grindal Bakken, Jasper St. Pierre, Kay
2590 Sievers, Kieran Clancy, Lennart Poettering, Lukas Nykryn,
2591 Mantas Mikulėnas, Marcel Holtmann, Mark Oteiza, Martin Pitt,
2592 Mike Gilbert, Peter Rajnoha, poma, Samuli Suominen, Stef
2593 Walter, Susant Sahani, Tero Roponen, Thomas Andersen, Thomas
2594 Bächler, Thomas Hindoe Paaboel Andersen, Tomasz Torcz, Tom
2595 Gundersen, Umut Tezduyar Lindskog, Uoti Urpala, Zachary Cook,
2596 Zbigniew Jędrzejewski-Szmek
2598 -- Berlin, 2014-03-12
2602 * systemd will now relabel /dev after loading the SMACK policy
2603 according to SMACK rules.
2605 * A new unit file option AppArmorProfile= has been added to
2606 set the AppArmor profile for the processes of a unit.
2608 * A new condition check ConditionArchitecture= has been added
2609 to conditionalize units based on the system architecture, as
2610 reported by uname()'s "machine" field.
2612 * systemd-networkd now supports matching on the system
2613 virtualization, architecture, kernel command line, host name
2616 * logind is now a lot more aggressive when suspending the
2617 machine due to a closed laptop lid. Instead of acting only
2618 on the lid close action, it will continuously watch the lid
2619 status and act on it. This is useful for laptops where the
2620 power button is on the outside of the chassis so that it can
2621 be reached without opening the lid (such as the Lenovo
2622 Yoga). On those machines, logind will now immediately
2623 re-suspend the machine if the power button has been
2624 accidentally pressed while the laptop was suspended and in a
2625 backpack or similar.
2627 * logind will now watch SW_DOCK switches and inhibit reaction
2628 to the lid switch if it is pressed. This means that logind
2629 will not suspend the machine anymore if the lid is closed
2630 and the system is docked, if the laptop supports SW_DOCK
2631 notifications via the input layer. Note that ACPI docking
2632 stations do not generate this currently. Also note that this
2633 logic is usually not fully sufficient and Desktop
2634 Environments should take a lid switch inhibitor lock when an
2635 external display is connected, as systemd will not watch
2638 * nspawn will now make use of the devices cgroup controller by
2639 default, and only permit creation of and access to the usual
2640 API device nodes like /dev/null or /dev/random, as well as
2641 access to (but not creation of) the pty devices.
2643 * We will now ship a default .network file for
2644 systemd-networkd that automatically configures DHCP for
2645 network interfaces created by nspawn's --network-veth or
2646 --network-bridge= switches.
2648 * systemd will now understand the usual M, K, G, T suffixes
2649 according to SI conventions (i.e. to the base 1000) when
2650 referring to throughput and hardware metrics. It will stay
2651 with IEC conventions (i.e. to the base 1024) for software
2652 metrics, according to what is customary according to
2653 Wikipedia. We explicitly document which base applies for
2654 each configuration option.
2656 * The DeviceAllow= setting in unit files now supports a syntax
2657 to whitelist an entire group of devices node majors at once,
2658 based on the /proc/devices listing. For example, with the
2659 string "char-pts", it is now possible to whitelist all
2660 current and future pseudo-TTYs at once.
2662 * sd-event learned a new "post" event source. Event sources of
2663 this type are triggered by the dispatching of any event
2664 source of a type that is not "post". This is useful for
2665 implementing clean-up and check event sources that are
2666 triggered by other work being done in the program.
2668 * systemd-networkd is no longer statically enabled, but uses
2669 the usual [Install] sections so that it can be
2670 enabled/disabled using systemctl. It still is enabled by
2673 * When creating a veth interface pair with systemd-nspawn, the
2674 host side will now be prefixed with "vb-" if
2675 --network-bridge= is used, and with "ve-" if --network-veth
2676 is used. This way, it is easy to distinguish these cases on
2677 the host, for example to apply different configuration to
2678 them with systemd-networkd.
2680 * The compatibility libraries for libsystemd-journal.so,
2681 libsystem-id128.so, libsystemd-login.so and
2682 libsystemd-daemon.so do not make use of IFUNC
2683 anymore. Instead, we now build libsystemd.so multiple times
2684 under these alternative names. This means that the footprint
2685 is drastically increased, but given that these are
2686 transitional compatibility libraries, this should not matter
2687 much. This change has been made necessary to support the ARM
2688 platform for these compatibility libraries, as the ARM
2689 toolchain is not really at the same level as the toolchain
2690 for other architectures like x86 and does not support
2691 IFUNC. Please make sure to use --enable-compat-libs only
2692 during a transitional period!
2694 Contributions from: Andreas Fuchs, Armin K., Colin Walters,
2695 Daniel Mack, Dave Reisner, David Herrmann, Djalal Harouni,
2696 Holger Schurig, Jason A. Donenfeld, Jason St. John, Jasper
2697 St. Pierre, Kay Sievers, Lennart Poettering, Łukasz Stelmach,
2698 Marcel Holtmann, Michael Scherer, Michal Sekletar, Mike
2699 Gilbert, Samuli Suominen, Thomas Bächler, Thomas Hindoe
2700 Paaboel Andersen, Tom Gundersen, Umut Tezduyar Lindskog,
2701 Zbigniew Jędrzejewski-Szmek
2703 -- Berlin, 2014-02-24
2707 * A new component "systemd-networkd" has been added that can
2708 be used to configure local network interfaces statically or
2709 via DHCP. It is capable of bringing up bridges, VLANs, and
2710 bonding. Currently, no hook-ups for interactive network
2711 configuration are provided. Use this for your initrd,
2712 container, embedded, or server setup if you need a simple,
2713 yet powerful, network configuration solution. This
2714 configuration subsystem is quite nifty, as it allows wildcard
2715 hotplug matching in interfaces. For example, with a single
2716 configuration snippet, you can configure that all Ethernet
2717 interfaces showing up are automatically added to a bridge,
2718 or similar. It supports link-sensing and more.
2720 * A new tool "systemd-socket-proxyd" has been added which can
2721 act as a bidirectional proxy for TCP sockets. This is
2722 useful for adding socket activation support to services that
2723 do not actually support socket activation, including virtual
2724 machines and the like.
2726 * Add a new tool to save/restore rfkill state on
2729 * Save/restore state of keyboard backlights in addition to
2730 display backlights on shutdown/boot.
2732 * udev learned a new SECLABEL{} construct to label device
2733 nodes with a specific security label when they appear. For
2734 now, only SECLABEL{selinux} is supported, but the syntax is
2735 prepared for additional security frameworks.
2737 * udev gained a new scheme to configure link-level attributes
2738 from files in /etc/systemd/network/*.link. These files can
2739 match against MAC address, device path, driver name and type,
2740 and will apply attributes like the naming policy, link speed,
2741 MTU, duplex settings, Wake-on-LAN settings, MAC address, MAC
2742 address assignment policy (randomized, ...).
2744 * The configuration of network interface naming rules for
2745 "permanent interface names" has changed: a new NamePolicy=
2746 setting in the [Link] section of .link files determines the
2747 priority of possible naming schemes (onboard, slot, mac,
2748 path). The default value of this setting is determined by
2749 /usr/lib/net/links/99-default.link. Old
2750 80-net-name-slot.rules udev configuration file has been
2751 removed, so local configuration overriding this file should
2752 be adapated to override 99-default.link instead.
2754 * When the User= switch is used in a unit file, also
2755 initialize $SHELL= based on the user database entry.
2757 * systemd no longer depends on libdbus. All communication is
2758 now done with sd-bus, systemd's low-level bus library
2761 * kdbus support has been added to PID 1 itself. When kdbus is
2762 enabled, this causes PID 1 to set up the system bus and
2763 enable support for a new ".busname" unit type that
2764 encapsulates bus name activation on kdbus. It works a little
2765 bit like ".socket" units, except for bus names. A new
2766 generator has been added that converts classic dbus1 service
2767 activation files automatically into native systemd .busname
2770 * sd-bus: add a light-weight vtable implementation that allows
2771 defining objects on the bus with a simple static const
2772 vtable array of its methods, signals and properties.
2774 * systemd will not generate or install static dbus
2775 introspection data anymore to /usr/share/dbus-1/interfaces,
2776 as the precise format of these files is unclear, and
2777 nothing makes use of it.
2779 * A proxy daemon is now provided to proxy clients connecting
2780 via classic D-Bus AF_UNIX sockets to kdbus, to provide full
2781 compatibility with classic D-Bus.
2783 * A bus driver implementation has been added that supports the
2784 classic D-Bus bus driver calls on kdbus, also for
2785 compatibility purposes.
2787 * A new API "sd-event.h" has been added that implements a
2788 minimal event loop API built around epoll. It provides a
2789 couple of features that direct epoll usage is lacking:
2790 prioritization of events, scales to large numbers of timer
2791 events, per-event timer slack (accuracy), system-wide
2792 coalescing of timer events, exit handlers, watchdog
2793 supervision support using systemd's sd_notify() API, child
2796 * A new API "sd-rntl.h" has been added that provides an API
2797 around the route netlink interface of the kernel, similar in
2798 style to "sd-bus.h".
2800 * A new API "sd-dhcp-client.h" has been added that provides a
2801 small DHCPv4 client-side implementation. This is used by
2804 * There is a new kernel command line option
2805 "systemd.restore_state=0|1". When set to "0", none of the
2806 systemd tools will restore saved runtime state to hardware
2807 devices. More specifically, the rfkill and backlight states
2810 * The FsckPassNo= compatibility option in mount/service units
2811 has been removed. The fstab generator will now add the
2812 necessary dependencies automatically, and does not require
2813 PID1's support for that anymore.
2815 * journalctl gained a new switch, --list-boots, that lists
2816 recent boots with their times and boot IDs.
2818 * The various tools like systemctl, loginctl, timedatectl,
2819 busctl, systemd-run, ... have gained a new switch "-M" to
2820 connect to a specific, local OS container (as direct
2821 connection, without requiring SSH). This works on any
2822 container that is registered with machined, such as those
2823 created by libvirt-lxc or nspawn.
2825 * systemd-run and systemd-analyze also gained support for "-H"
2826 to connect to remote hosts via SSH. This is particularly
2827 useful for systemd-run because it enables queuing of jobs
2828 onto remote systems.
2830 * machinectl gained a new command "login" to open a getty
2831 login in any local container. This works with any container
2832 that is registered with machined (such as those created by
2833 libvirt-lxc or nspawn), and which runs systemd inside.
2835 * machinectl gained a new "reboot" command that may be used to
2836 trigger a reboot on a specific container that is registered
2837 with machined. This works on any container that runs an init
2838 system of some kind.
2840 * systemctl gained a new "list-timers" command to print a nice
2841 listing of installed timer units with the times they elapse
2844 * Alternative reboot() parameters may now be specified on the
2845 "systemctl reboot" command line and are passed to the
2846 reboot() system call.
2848 * systemctl gained a new --job-mode= switch to configure the
2849 mode to queue a job with. This is a more generic version of
2850 --fail, --irreversible, and --ignore-dependencies, which are
2851 still available but not advertised anymore.
2853 * /etc/systemd/system.conf gained new settings to configure
2854 various default timeouts of units, as well as the default
2855 start limit interval and burst. These may still be overridden
2858 * PID1 will now export on the bus profile data of the security
2859 policy upload process (such as the SELinux policy upload to
2862 * journald: when forwarding logs to the console, include
2863 timestamps (following the setting in
2864 /sys/module/printk/parameters/time).
2866 * OnCalendar= in timer units now understands the special
2867 strings "yearly" and "annually". (Both are equivalent)
2869 * The accuracy of timer units is now configurable with the new
2870 AccuracySec= setting. It defaults to 1min.
2872 * A new dependency type JoinsNamespaceOf= has been added that
2873 allows running two services within the same /tmp and network
2874 namespace, if PrivateNetwork= or PrivateTmp= are used.
2876 * A new command "cat" has been added to systemctl. It outputs
2877 the original unit file of a unit, and concatenates the
2878 contents of additional "drop-in" unit file snippets, so that
2879 the full configuration is shown.
2881 * systemctl now supports globbing on the various "list-xyz"
2882 commands, like "list-units" or "list-sockets", as well as on
2883 those commands which take multiple unit names.
2885 * journalctl's --unit= switch gained support for globbing.
2887 * All systemd daemons now make use of the watchdog logic so
2888 that systemd automatically notices when they hang.
2890 * If the $container_ttys environment variable is set,
2891 getty-generator will automatically spawn a getty for each
2892 listed tty. This is useful for container managers to request
2893 login gettys to be spawned on as many ttys as needed.
2895 * %h, %s, %U specifier support is not available anymore when
2896 used in unit files for PID 1. This is because NSS calls are
2897 not safe from PID 1. They stay available for --user
2898 instances of systemd, and as special case for the root user.
2900 * loginctl gained a new "--no-legend" switch to turn off output
2903 * The "sd-login.h" API gained three new calls:
2904 sd_session_is_remote(), sd_session_get_remote_user(),
2905 sd_session_get_remote_host() to query information about
2908 * The udev hardware database now also carries vendor/product
2909 information of SDIO devices.
2911 * The "sd-daemon.h" API gained a new sd_watchdog_enabled() to
2912 determine whether watchdog notifications are requested by
2915 * Socket-activated per-connection services now include a
2916 short description of the connection parameters in the
2919 * tmpfiles gained a new "--boot" option. When this is not used,
2920 only lines where the command character is not suffixed with
2921 "!" are executed. When this option is specified, those
2922 options are executed too. This partitions tmpfiles
2923 directives into those that can be safely executed at any
2924 time, and those which should be run only at boot (for
2925 example, a line that creates /run/nologin).
2927 * A new API "sd-resolve.h" has been added which provides a simple
2928 asynchronous wrapper around glibc NSS host name resolution
2929 calls, such as getaddrinfo(). In contrast to glibc's
2930 getaddrinfo_a(), it does not use signals. In contrast to most
2931 other asynchronous name resolution libraries, this one does
2932 not reimplement DNS, but reuses NSS, so that alternate
2933 host name resolution systems continue to work, such as mDNS,
2934 LDAP, etc. This API is based on libasyncns, but it has been
2935 cleaned up for inclusion in systemd.
2937 * The APIs "sd-journal.h", "sd-login.h", "sd-id128.h",
2938 "sd-daemon.h" are no longer found in individual libraries
2939 libsystemd-journal.so, libsystemd-login.so,
2940 libsystemd-id128.so, libsystemd-daemon.so. Instead, we have
2941 merged them into a single library, libsystemd.so, which
2942 provides all symbols. The reason for this is cyclic
2943 dependencies, as these libraries tend to use each other's
2944 symbols. So far, we have managed to workaround that by linking
2945 a copy of a good part of our code into each of these
2946 libraries again and again, which, however, makes certain
2947 things hard to do, like sharing static variables. Also, it
2948 substantially increases footprint. With this change, there
2949 is only one library for the basic APIs systemd
2950 provides. Also, "sd-bus.h", "sd-memfd.h", "sd-event.h",
2951 "sd-rtnl.h", "sd-resolve.h", "sd-utf8.h" are found in this
2952 library as well, however are subject to the --enable-kdbus
2953 switch (see below). Note that "sd-dhcp-client.h" is not part
2954 of this library (this is because it only consumes, never
2955 provides, services of/to other APIs). To make the transition
2956 easy from the separate libraries to the unified one, we
2957 provide the --enable-compat-libs compile-time switch which
2958 will generate stub libraries that are compatible with the
2959 old ones but redirect all calls to the new one.
2961 * All of the kdbus logic and the new APIs "sd-bus.h",
2962 "sd-memfd.h", "sd-event.h", "sd-rtnl.h", "sd-resolve.h",
2963 and "sd-utf8.h" are compile-time optional via the
2964 "--enable-kdbus" switch, and they are not compiled in by
2965 default. To make use of kdbus, you have to explicitly enable
2966 the switch. Note however, that neither the kernel nor the
2967 userspace API for all of this is considered stable yet. We
2968 want to maintain the freedom to still change the APIs for
2969 now. By specifying this build-time switch, you acknowledge
2970 that you are aware of the instability of the current
2973 * Also, note that while kdbus is pretty much complete,
2974 it lacks one thing: proper policy support. This means you
2975 can build a fully working system with all features; however,
2976 it will be highly insecure. Policy support will be added in
2977 one of the next releases, at the same time that we will
2978 declare the APIs stable.
2980 * When the kernel command line argument "kdbus" is specified,
2981 systemd will automatically load the kdbus.ko kernel module. At
2982 this stage of development, it is only useful for testing kdbus
2983 and should not be used in production. Note: if "--enable-kdbus"
2984 is specified, and the kdbus.ko kernel module is available, and
2985 "kdbus" is added to the kernel command line, the entire system
2986 runs with kdbus instead of dbus-daemon, with the above mentioned
2987 problem of missing the system policy enforcement. Also a future
2988 version of kdbus.ko or a newer systemd will not be compatible with
2989 each other, and will unlikely be able to boot the machine if only
2990 one of them is updated.
2992 * systemctl gained a new "import-environment" command which
2993 uploads the caller's environment (or parts thereof) into the
2994 service manager so that it is inherited by services started
2995 by the manager. This is useful to upload variables like
2996 $DISPLAY into the user service manager.
2998 * A new PrivateDevices= switch has been added to service units
2999 which allows running a service with a namespaced /dev
3000 directory that does not contain any device nodes for
3001 physical devices. More specifically, it only includes devices
3002 such as /dev/null, /dev/urandom, and /dev/zero which are API
3005 * logind has been extended to support behaviour like VT
3006 switching on seats that do not support a VT. This makes
3007 multi-session available on seats that are not the first seat
3008 (seat0), and on systems where kernel support for VTs has
3009 been disabled at compile-time.
3011 * If a process holds a delay lock for system sleep or shutdown
3012 and fails to release it in time, we will now log its
3013 identity. This makes it easier to identify processes that
3014 cause slow suspends or power-offs.
3016 * When parsing /etc/crypttab, support for a new key-slot=
3017 option as supported by Debian is added. It allows indicating
3018 which LUKS slot to use on disk, speeding up key loading.
3020 * The sd_journald_sendv() API call has been checked and
3021 officially declared to be async-signal-safe so that it may
3022 be invoked from signal handlers for logging purposes.
3024 * Boot-time status output is now enabled automatically after a
3025 short timeout if boot does not progress, in order to give
3026 the user an indication what she or he is waiting for.
3028 * The boot-time output has been improved to show how much time
3029 remains until jobs expire.
3031 * The KillMode= switch in service units gained a new possible
3032 value "mixed". If set, and the unit is shut down, then the
3033 initial SIGTERM signal is sent only to the main daemon
3034 process, while the following SIGKILL signal is sent to
3035 all remaining processes of the service.
3037 * When a scope unit is registered, a new property "Controller"
3038 may be set. If set to a valid bus name, systemd will send a
3039 RequestStop() signal to this name when it would like to shut
3040 down the scope. This may be used to hook manager logic into
3041 the shutdown logic of scope units. Also, scope units may now
3042 be put in a special "abandoned" state, in which case the
3043 manager process which created them takes no further
3044 responsibilities for it.
3046 * When reading unit files, systemd will now verify
3047 the access mode of these files, and warn about certain
3048 suspicious combinations. This has been added to make it
3049 easier to track down packaging bugs where unit files are
3050 marked executable or world-writable.
3052 * systemd-nspawn gained a new "--setenv=" switch to set
3053 container-wide environment variables. The similar option in
3054 systemd-activate was renamed from "--environment=" to
3055 "--setenv=" for consistency.
3057 * systemd-nspawn has been updated to create a new kdbus domain
3058 for each container that is invoked, thus allowing each
3059 container to have its own set of system and user buses,
3060 independent of the host.
3062 * systemd-nspawn gained a new --drop-capability= switch to run
3063 the container with less capabilities than the default. Both
3064 --drop-capability= and --capability= now take the special
3065 string "all" for dropping or keeping all capabilities.
3067 * systemd-nspawn gained new switches for executing containers
3068 with specific SELinux labels set.
3070 * systemd-nspawn gained a new --quiet switch to not generate
3071 any additional output but the container's own console
3074 * systemd-nspawn gained a new --share-system switch to run a
3075 container without PID namespacing enabled.
3077 * systemd-nspawn gained a new --register= switch to control
3078 whether the container is registered with systemd-machined or
3079 not. This is useful for containers that do not run full
3080 OS images, but only specific apps.
3082 * systemd-nspawn gained a new --keep-unit which may be used
3083 when invoked as the only program from a service unit, and
3084 results in registration of the unit service itself in
3085 systemd-machined, instead of a newly opened scope unit.
3087 * systemd-nspawn gained a new --network-interface= switch for
3088 moving arbitrary interfaces to the container. The new
3089 --network-veth switch creates a virtual Ethernet connection
3090 between host and container. The new --network-bridge=
3091 switch then allows assigning the host side of this virtual
3092 Ethernet connection to a bridge device.
3094 * systemd-nspawn gained a new --personality= switch for
3095 setting the kernel personality for the container. This is
3096 useful when running a 32-bit container on a 64-bit host. A
3097 similar option Personality= is now also available for service
3100 * logind will now also track a "Desktop" identifier for each
3101 session which encodes the desktop environment of it. This is
3102 useful for desktop environments that want to identify
3103 multiple running sessions of itself easily.
3105 * A new SELinuxContext= setting for service units has been
3106 added that allows setting a specific SELinux execution
3107 context for a service.
3109 * Most systemd client tools will now honour $SYSTEMD_LESS for
3110 settings of the "less" pager. By default, these tools will
3111 override $LESS to allow certain operations to work, such as
3112 jump-to-the-end. With $SYSTEMD_LESS, it is possible to
3113 influence this logic.
3115 * systemd's "seccomp" hook-up has been changed to make use of
3116 the libseccomp library instead of using its own
3117 implementation. This has benefits for portability among
3120 * For usage together with SystemCallFilter=, a new
3121 SystemCallErrorNumber= setting has been introduced that
3122 allows configuration of a system error number to be returned
3123 on filtered system calls, instead of immediately killing the
3124 process. Also, SystemCallArchitectures= has been added to
3125 limit access to system calls of a particular architecture
3126 (in order to turn off support for unused secondary
3127 architectures). There is also a global
3128 SystemCallArchitectures= setting in system.conf now to turn
3129 off support for non-native system calls system-wide.
3131 * systemd requires a kernel with a working name_to_handle_at(),
3132 please see the kernel config requirements in the README file.
3134 Contributions from: Adam Williamson, Alex Jia, Anatol Pomozov,
3135 Ansgar Burchardt, AppleBloom, Auke Kok, Bastien Nocera,
3136 Chengwei Yang, Christian Seiler, Colin Guthrie, Colin Walters,
3137 Cristian Rodríguez, Daniel Buch, Daniele Medri, Daniel J
3138 Walsh, Daniel Mack, Dan McGee, Dave Reisner, David Coppa,
3139 David Herrmann, David Strauss, Djalal Harouni, Dmitry Pisklov,
3140 Elia Pinto, Florian Weimer, George McCollister, Goffredo
3141 Baroncelli, Greg Kroah-Hartman, Hendrik Brueckner, Igor
3142 Zhbanov, Jan Engelhardt, Jan Janssen, Jason A. Donenfeld,
3143 Jason St. John, Jasper St. Pierre, Jóhann B. Guðmundsson, Jose
3144 Ignacio Naranjo, Karel Zak, Kay Sievers, Kristian Høgsberg,
3145 Lennart Poettering, Lubomir Rintel, Lukas Nykryn, Lukasz
3146 Skalski, Łukasz Stelmach, Luke Shumaker, Mantas Mikulėnas,
3147 Marc-Antoine Perennou, Marcel Holtmann, Marcos Felipe Rasia de
3148 Mello, Marko Myllynen, Martin Pitt, Matthew Monaco, Michael
3149 Marineau, Michael Scherer, Michał Górny, Michal Sekletar,
3150 Michele Curti, Oleksii Shevchuk, Olivier Brunel, Patrik Flykt,
3151 Pavel Holica, Raudi, Richard Marko, Ronny Chevalier, Sébastien
3152 Luttringer, Sergey Ptashnick, Shawn Landden, Simon Peeters,
3153 Stefan Beller, Susant Sahani, Sylvain Plantefeve, Sylvia Else,
3154 Tero Roponen, Thomas Bächler, Thomas Hindoe Paaboel Andersen,
3155 Tom Gundersen, Umut Tezduyar Lindskog, Unai Uribarri, Václav
3156 Pavlín, Vincent Batts, WaLyong Cho, William Giokas, Yang
3157 Zhiyong, Yin Kangkai, Yuxuan Shui, Zbigniew Jędrzejewski-Szmek
3159 -- Berlin, 2014-02-20
3163 * logind has gained support for facilitating privileged input
3164 and drm device access for unprivileged clients. This work is
3165 useful to allow Wayland display servers (and similar
3166 programs, such as kmscon) to run under the user's ID and
3167 access input and drm devices which are normally
3168 protected. When this is used (and the kernel is new enough)
3169 logind will "mute" IO on the file descriptors passed to
3170 Wayland as long as it is in the background and "unmute" it
3171 if it returns into the foreground. This allows secure
3172 session switching without allowing background sessions to
3173 eavesdrop on input and display data. This also introduces
3174 session switching support if VT support is turned off in the
3175 kernel, and on seats that are not seat0.
3177 * A new kernel command line option luks.options= is understood