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