]> git.ipfire.org Git - thirdparty/systemd.git/blob - NEWS
build-sys: prepare release 184
[thirdparty/systemd.git] / NEWS
1 systemd System and Service Manager
2
3 CHANGES WITH 184:
4 * logind is now capable of (optionally) handling power and
5 sleep keys as well as the lid switch.
6
7 * journalctl now understands the syntax "journalctl
8 /usr/bin/avahi-daemon" to get all log output of a specific
9 daemon.
10
11 * CapabilityBoundingSet= in system.conf now also influences
12 the capability bound set of usermode helpers of the kernel.
13
14 Contributions from: Daniel Drake, Daniel J. Walsh, Gert
15 Michael Kulyk, Harald Hoyer, Jean Delvare, Kay Sievers,
16 Lennart Poettering, Matthew Garrett, Matthias Clasen, Paul
17 Menzel, Shawn Landden, Tero Roponen, Tom Gundersen
18
19 CHANGES WITH 183:
20 * Note that we skipped 139 releases here in order to set the
21 new version to something that is greater than both udev's
22 and systemd's most recent version number.
23
24 * udev: all udev sources are merged into the systemd source tree now.
25 All future udev development will happen in the systemd tree. It
26 is still fully supported to use the udev daemon and tools without
27 systemd running, like in initramfs or other init systems. Building
28 udev though, will require the *build* of the systemd tree, but
29 udev can be properly *run* without systemd.
30
31 * udev: /lib/udev/devices/ are not read anymore; systemd-tmpfiles
32 should be used to create dead device nodes as workarounds for broken
33 subsystems.
34
35 * udev: RUN+="socket:..." and udev_monitor_new_from_socket() is
36 no longer supported. udev_monitor_new_from_netlink() needs to be
37 used to subscribe to events.
38
39 * udev: when udevd is started by systemd, processes which are left
40 behind by forking them off of udev rules, are unconditionally cleaned
41 up and killed now after the event handling has finished. Services or
42 daemons must be started as systemd services. Services can be
43 pulled-in by udev to get started, but they can no longer be directly
44 forked by udev rules.
45
46 * udev: the daemon binary is called systemd-udevd now and installed
47 in /usr/lib/systemd/. Standalone builds or non-systemd systems need
48 to adapt to that, create symlink, or rename the binary after building
49 it.
50
51 * libudev no longer provides these symbols:
52 udev_monitor_from_socket()
53 udev_queue_get_failed_list_entry()
54 udev_get_{dev,sys,run}_path()
55 The versions number was bumped and symbol versioning introduced.
56
57 * systemd-loginctl and systemd-journalctl have been renamed
58 to loginctl and journalctl to match systemctl.
59
60 * The config files: /etc/systemd/systemd-logind.conf and
61 /etc/systemd/systemd-journald.conf have been renamed to
62 logind.conf and journald.conf. Package updates should rename
63 the files to the new names on upgrade.
64
65 * For almost all files the license is now LGPL2.1+, changed
66 from the previous GPL2.0+. Exceptions are some minor stuff
67 of udev (which will be changed to LGPL2.1 eventually, too),
68 and the MIT licensed sd-daemon.[ch] library that is suitable
69 to be used as drop-in files.
70
71 * systemd and logind now handle system sleep states, in
72 particulary suspending and hibernating.
73
74 * logind now implements a sleep/shutdown/idle inhibiting logic
75 suitable for a variety of uses. Soonishly Lennart will blog
76 about this in more detail.
77
78 * var-run.mount and var-lock.mount are no longer provided
79 (which prevously bind mounted these directories to their new
80 places). Distributions which have not converted these
81 directories to symlinks should consider stealing these files
82 from git history and add them downstream.
83
84 * We introduced the Documentation= field for units and added
85 this to all our shipped units. This is useful to make it
86 easier to explore the boot and the purpose of the various
87 units.
88
89 * All smaller setup units (such as
90 systemd-vconsole-setup.service) now detect properly if they
91 are run in a container and are skipped when
92 appropriate. This guarantees an entirely noise-free boot in
93 Linux container environments such as systemd-nspawn.
94
95 * A framework for implementing offline system updates is now
96 integrated, for details see:
97 http://freedesktop.org/wiki/Software/systemd/SystemUpdates
98
99 * A new service type Type=idle is available now which helps us
100 avoiding ugly interleaving of getty output and boot status
101 messages.
102
103 * There's now a system-wide CapabilityBoundingSet= option to
104 globally reduce the set of capabilities for the
105 system. This is useful to drop CAP_SYS_MKNOD, CAP_SYS_RAWIO,
106 CAP_NET_RAW, CAP_SYS_MODULE, CAP_SYS_TIME, CAP_SYS_PTRACE or
107 even CAP_NET_ADMIN system-wide for secure systems.
108
109 * There are now system-wide DefaultLimitXXX= options to
110 globally change the defaults of the various resource limits
111 for all units started by PID 1.
112
113 * Harald Hoyer's systemd test suite has been integrated into
114 systemd which allows easy testing of systemd builds in qemu
115 and nspawn. (This is really awesome! Ask us for details!)
116
117 * The fstab parser is now implemented as generator, not inside
118 of PID 1 anymore.
119
120 * systemctl will now warn you if .mount units generated from
121 /etc/fstab are out of date due to changes in fstab that
122 haven't been read by systemd yet.
123
124 * systemd is now suitable for usage in initrds. Dracut has
125 already been updated to make use of this. With this in place
126 initrds get a slight bit faster but primarily are much
127 easier to introspect and debug since "systemctl status" in
128 the host system can be used to introspect initrd services,
129 and the journal from the initrd is kept around too.
130
131 * systemd-delta has been added, a tool to explore differences
132 between user/admin configuration and vendor defaults.
133
134 * PrivateTmp= now affects both /tmp and /var/tmp.
135
136 * Boot time status messages are now much prettier and feature
137 proper english language. Booting up systemd has never been
138 so sexy.
139
140 * Read-ahead pack files now include the inode number of all
141 files to pre-cache. When the inode changes the pre-caching
142 is not attempted. This should be nicer to deal with updated
143 packages which might result in changes of read-ahead
144 patterns.
145
146 * We now temporaritly lower the kernel's read_ahead_kb variable
147 when collecting read-ahead data to ensure the kernel's
148 built-in read-ahead does not add noise to our measurements
149 of necessary blocks to pre-cache.
150
151 * There's now RequiresMountsFor= to add automatic dependencies
152 for all mounts necessary for a specific file system path.
153
154 * MountAuto= and SwapAuto= have been removed from
155 system.conf. Mounting file systems at boot has to take place
156 in systemd now.
157
158 * nspawn now learned a new switch --uuid= to set the machine
159 ID on the command line.
160
161 * nspawn now learned the -b switch to automatically search
162 for an init system.
163
164 * vt102 is now the default TERM for serial TTYs, upgraded from
165 vt100.
166
167 * systemd-logind now works on VT-less systems.
168
169 * The build tree has been reorganized. The individual
170 components now have directories of their own.
171
172 * A new condition type ConditionPathIsReadWrite= is now available.
173
174 * nspawn learned the new -C switch to create cgroups for the
175 container in other hierarchies.
176
177 * We now have support for hardware watchdogs, configurable in
178 system.conf.
179
180 * The scheduled shutdown logic now has a public API.
181
182 * We now mount /tmp as tmpfs by default, but this can be
183 masked and /etc/fstab can override it.
184
185 * Since udisks doesn't make use of /media anymore we are not
186 mounting a tmpfs on it anymore.
187
188 * journalctl gained a new --local switch to only interleave
189 locally generated journal files.
190
191 * We can now load the IMA policy at boot automatically.
192
193 * The GTK tools have been split off into a systemd-ui.
194
195 Contributions from: Andreas Schwab, Auke Kok, Ayan George,
196 Colin Guthrie, Daniel Mack, Dave Reisner, David Ward, Elan
197 Ruusamäe, Frederic Crozat, Gergely Nagy, Guillermo Vidal,
198 Hannes Reinecke, Harald Hoyer, Javier Jardón, Kay Sievers,
199 Lennart Poettering, Lucas De Marchi, Léo Gillot-Lamure,
200 Marc-Antoine Perennou, Martin Pitt, Matthew Monaco, Maxim
201 A. Mikityanskiy, Michael Biebl, Michael Olbrich, Michal
202 Schmidt, Nis Martensen, Patrick McCarty, Roberto Sassu, Shawn
203 Landden, Sjoerd Simons, Sven Anders, Tollef Fog Heen, Tom
204 Gundersen
205
206 CHANGES WITH 44:
207 * This is mostly a bugfix release
208
209 * Support optional initialization of the machine ID from the
210 KVM or container configured UUID.
211
212 * Support immediate reboots with "systemctl reboot -ff"
213
214 * Show /etc/os-release data in systemd-analyze output
215
216 * Many bugfixes for the journal, including endianess fixes and
217 ensuring that disk space enforcement works
218
219 * sd-login.h is C++ comptaible again
220
221 * Extend the /etc/os-release format on request of the Debian
222 folks
223
224 * We now refuse non-UTF8 strings used in various configuration
225 and unit files. This is done to ensure we don't pass invalid
226 data over D-Bus or expose it elsewhere.
227
228 * Register Mimo USB Screens as suitable for automatic seat
229 configuration
230
231 * Read SELinux client context from journal clients in a race
232 free fashion
233
234 * Reorder configuration file lookup order. /etc now always
235 overrides /run in order to allow the administrator to always
236 and unconditionally override vendor supplied or
237 automatically generated data.
238
239 * The various user visible bits of the journal now have man
240 pages. We still lack man pages for the journal API calls
241 however.
242
243 * We now ship all man pages in HTML format again in the
244 tarball.
245
246 Contributions from: Dave Reisner, Dirk Eibach, Frederic
247 Crozat, Harald Hoyer, Kay Sievers, Lennart Poettering, Marti
248 Raudsepp, Michal Schmidt, Shawn Landden, Tero Roponen, Thierry
249 Reding
250
251 CHANGES WITH 43:
252 * This is mostly a bugfix release
253
254 * systems lacking /etc/os-release are no longer supported.
255
256 * Various functionality updates to libsystemd-login.so
257
258 * Track class of PAM logins to distuingish greeters from
259 normal user logins.
260
261 Contributions from: Kay Sievers, Lennart Poettering, Michael
262 Biebl
263
264 CHANGES WITH 42:
265 * This is an important bugfix release for v41.
266
267 * Building man pages is now optional which should be useful
268 for those building systemd from git but unwilling to install
269 xsltproc.
270
271 * Watchdog support for supervising services is now usable. In
272 a future release support for hardware watchdogs
273 (i.e. /dev/watchdog) will be added building on this.
274
275 * Service start rate limiting is now configurable and can be
276 turned off per service. When a start rate limit is hit a
277 reboot can automatically be triggered.
278
279 * New CanReboot(), CanPowerOff() bus calls in systemd-logind.
280
281 Contributions from: Benjamin Franzke, Bill Nottingham,
282 Frederic Crozat, Lennart Poettering, Michael Olbrich, Michal
283 Schmidt, Michał Górny, Piotr Drąg
284
285 CHANGES WITH 41:
286 * The systemd binary is installed /usr/lib/systemd/systemd now;
287 An existing /sbin/init symlink needs to be adapted with the
288 package update.
289
290 * The code that loads kernel modules has been ported to invoke
291 libkmod directly, instead of modprobe. This means we do not
292 support systems with module-init-tools anymore.
293
294 * Watchdog support is now already useful, but still not
295 complete.
296
297 * A new kernel command line option systemd.setenv= is
298 understood to set system wide environment variables
299 dynamically at boot.
300
301 * We now limit the set of capabilities of systemd-journald.
302
303 * We now set SIGPIPE to ignore by default, since it only is
304 useful in shell pipelines, and has little use in general
305 code. This can be disabled with IgnoreSIPIPE=no in unit
306 files.
307
308 Contributions from: Benjamin Franzke, Kay Sievers, Lennart
309 Poettering, Michael Olbrich, Michal Schmidt, Tom Gundersen,
310 William Douglas
311
312 CHANGES WITH 40:
313 * This is mostly a bugfix release
314
315 * We now expose the reason why a service failed in the
316 "Result" D-Bus property.
317
318 * Rudimentary service watchdog support (will be completed over
319 the next few releases.)
320
321 * When systemd forks off in order execute some service we will
322 now immediately changes its argv[0] to reflect which process
323 it will execute. This is useful to minimize the time window
324 with a generic argv[0], which makes bootcharts more useful
325
326 Contributions from: Alvaro Soliverez, Chris Paulson-Ellis, Kay
327 Sievers, Lennart Poettering, Michael Olbrich, Michal Schmidt,
328 Mike Kazantsev, Ray Strode
329
330 CHANGES WITH 39:
331 * This is mostly a test release, but incorporates many
332 bugfixes.
333
334 * New systemd-cgtop tool to show control groups by their
335 resource usage.
336
337 * Linking against libacl for ACLs is optional again. If
338 disabled, support tracking device access for active logins
339 goes becomes unavailable, and so does access to the user
340 journals by the respective users.
341
342 * If a group "adm" exists, journal files are automatically
343 owned by them, thus allow members of this group full access
344 to the system journal as well as all user journals.
345
346 * The journal now stores the SELinux context of the logging
347 client for all entries.
348
349 * Add C++ inclusion guards to all public headers
350
351 * New output mode "cat" in the journal to print only text
352 messages, without any meta data like date or time.
353
354 * Include tiny X server wrapper as a temporary stop-gap to
355 teach XOrg udev display enumeration. This is used by display
356 managers such as gdm, and will go away as soon as XOrg
357 learned native udev hotplugging for display devices.
358
359 * Add new systemd-cat tool for executing arbitrary programs
360 with STDERR/STDOUT connected to the journal. Can also act as
361 BSD logger replacement, and does so by default.
362
363 * Optionally store all locally generated coredumps in the
364 journal along with meta data.
365
366 * systemd-tmpfiles learnt four new commands: n, L, c, b, for
367 writing short strings to files (for usage for /sys), and for
368 creating symlinks, character and block device nodes.
369
370 * New unit file option ControlGroupPersistent= to make cgroups
371 persistent, following the mechanisms outlined in
372 http://www.freedesktop.org/wiki/Software/systemd/PaxControlGroups
373
374 * Support multiple local RTCs in a sane way
375
376 * No longer monopolize IO when replaying readahead data on
377 rotating disks, since we might starve non-file-system IO to
378 death, since fanotify() will not see accesses done by blkid,
379 or fsck.
380
381 * Don't show kernel threads in systemd-cgls anymore, unless
382 requested with new -k switch.
383
384 Contributions from: Dan Horák, Kay Sievers, Lennart
385 Poettering, Michal Schmidt
386
387 CHANGES WITH 38:
388 * This is mostly a test release, but incorporates many
389 bugfixes.
390
391 * The git repository moved to:
392 git://anongit.freedesktop.org/systemd/systemd
393 ssh://git.freedesktop.org/git/systemd/systemd
394
395 * First release with the journal
396 http://0pointer.de/blog/projects/the-journal.html
397
398 * The journal replaces both systemd-kmsg-syslogd and
399 systemd-stdout-bridge.
400
401 * New sd_pid_get_unit() API call in libsystemd-logind
402
403 * Many systemadm clean-ups
404
405 * Introduce remote-fs-pre.target which is ordered before all
406 remote mounts and may be used to start services before all
407 remote mounts.
408
409 * Added Mageia support
410
411 * Add bash completion for systemd-loginctl
412
413 * Actively monitor PID file creation for daemons which exit in
414 the parent process before having finished writing the PID
415 file in the daemon process. Daemons which do this need to be
416 fixed (i.e. PID file creation must have finished before the
417 parent exits), but we now react a bit more gracefully to them.
418
419 * Add colourful boot output, mimicking the well-known output
420 of existing distributions.
421
422 * New option PassCredentials= for socket units, for
423 compatibility with a recent kernel ABI breakage.
424
425 * /etc/rc.local is now hooked in via a generator binary, and
426 thus will no longer act as synchronization point during
427 boot.
428
429 * systemctl list-unit-files now supports --root=.
430
431 * systemd-tmpfiles now understands two new commands: z, Z for
432 relabelling files according to the SELinux database. This is
433 useful to apply SELinux labels to specific files in /sys,
434 among other things.
435
436 * Output of SysV services is now forwarded to both the console
437 and the journal by default, not only just the console.
438
439 * New man pages for all APIs from libsystemd-login.
440
441 * The build tree got reorganized and a the build system is a
442 lot more modular allowing embedded setups to specifically
443 select the components of systemd they are interested in.
444
445 * Support for Linux systems lacking the kernel VT subsystem is
446 restored.
447
448 * configure's --with-rootdir= got renamed to
449 --with-rootprefix= to follow the naming used by udev and
450 kmod
451
452 * Unless specified otherwise we'll now install to /usr instead
453 of /usr/local by default.
454
455 * Processes with '@' in argv[0][0] are now excluded from the
456 final shut-down killing spree, following the logic explained
457 in:
458 http://www.freedesktop.org/wiki/Software/systemd/RootStorageDaemons
459
460 * All processes remaining in a service cgroup when we enter
461 the START or START_PRE states are now killed with
462 SIGKILL. That means it is no longer possible to spawn
463 background processes from ExecStart= lines (which was never
464 supported anyway, and bad style).
465
466 * New PropagateReloadTo=/PropagateReloadFrom= options to bind
467 reloading of units together.
468
469 Contributions from: Bill Nottingham, Daniel J. Walsh, Dave
470 Reisner, Dexter Morgan, Gregs Gregs, Jonathan Nieder, Kay
471 Sievers, Lennart Poettering, Michael Biebl, Michal Schmidt,
472 Michał Górny, Ran Benita, Thomas Jarosch, Tim Waugh, Tollef
473 Fog Heen, Tom Gundersen, Zbigniew Jędrzejewski-Szmek