NEWS revision 387abf80ad40e4a6c2f4725c8eff4d66bf110d1f
d657c51f14601d0235434ffb78cf6ac0f27cc83cLennart Poetteringsystemd System and Service Manager
c97e586d8a18db5dc505d76059ed1d9add234925Daniel MackCHANGES WITH 207:
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack * The Restart= option for services now understands a new
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack on-watchdog setting, which will restart the service
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack automatically if the service stops sending out watchdog keep
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack alive messages (as configured with WatchdogSec=).
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack * The getty generator (which is responsible for bringing up a
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack getty on configured serial consoles) will no longer only
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack start a getty on the primary kernel console but on all
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack others, too. This makes the order in which console= is
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack specified on the kernel command line less important.
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack * libsystemd-logind gained a new sd_session_get_vt() call to
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack retrieve the VT number of a session.
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack * If the option "tries=0" is set for an entry of /etc/crypttab
6fd5517b11d2c258b3c09baf571bae71b9ac98a7Zbigniew Jędrzejewski-Szmek its passphrase is queried indefinitely instead of any
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack maximum number of tries.
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering * If a service with a configure PID file terminates its PID
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering file will now be removed automatically if it still exists
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering afterwards. This should put an end to stale PID files.
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering * systemd-run will now also take relative binary path names
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack for execution and no longer insists on absolute paths.
6fd5517b11d2c258b3c09baf571bae71b9ac98a7Zbigniew Jędrzejewski-Szmek * InaccessibleDirectories= and ReadOnlyDirectories= now take
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack paths that are optionally prefixed with "-" to indicate that
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack it should not be considered a failure if they don't exist.
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack * journalctl -o (and similar commands) now understands a new
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack output mode "short-precise", it is similar to "short" but
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack shows timestamps with usec accuracy.
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack * The option "discard" (as known from Debian) is now
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack synonymous to "allow-discards" in /etc/crypttab. In fact,
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack "discard" is preferred now (since it is easier to remember
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack * Some licensing clean-ups were made, so that more code is now
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack LGPL-2.1 licensed than before.
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack * A minimal tool to save/restore the display backlight
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack brightness across reboots has been added. It will store the
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack backlight setting as late as possible at shutdown, and
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack restore it as early as possible during reboot.
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack * A logic to automatically discover and enable home and swap
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering partitions on GPT disks has been added. With this in place
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering /etc/fstab becomes optional for many setups as systemd can
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering discover certain partitions located on the root disk
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack automatically. Home partitions are recognized under their
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack GPT type ID 933ac7e12eb44f13b8440e14e2aef915. Swap
b5a684e3a10dc35a5d8f3bc0c5d0b5b481432d46Daniel Mack partitions are recognized under their GPT type ID
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack 0657fd6da4ab43c484e50933c84b4f4f.
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack * systemd will no longer pass any environment from the kernel
5e6ad75f259942c33bbb0b9bfc1e8dd5cc0d96e7Daniel Mack or initrd to system services. If you want to set an
5e6ad75f259942c33bbb0b9bfc1e8dd5cc0d96e7Daniel Mack environment for all services, do so via the kernel command
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack line systemd.setenv= assignment.
21d86c613d85a5ffb23decaf9876b9f42696e718Daniel Mack * The systemd-sysctl tool no longer natively reads the file
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering /etc/sysctl.conf. If desired, the file should be symlinked
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering from /etc/sysctl.d/99-sysctl.conf. Apart from providing
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering legacy support by a symlink rather than built-in code, it
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering also makes the otherwise hidden order of application of the
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering different files visible. (Note that this partly reverts to a
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering pre-198 application order of sysctl knobs!)
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering * The "systemctl set-log-level" and "systemctl dump" commands
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering have been moved to systemd-analyze.
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering * systemd-run learned the new --remain-after-exit switch,
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering which causes the scope unit not to be cleaned up
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering automatically after the process terminated.
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering * tmpfiles learned a new --exclude-prefix= switch to exclude
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering certain paths from operation.
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering * journald will now automatically flush all messages to disk
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering as soon as a message of the log priorities CRIT, ALERT or
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering EMERG is received.
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering Contributions from: Andrew Cook, Brandon Philips, Christian
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering Hesse, Christoph Junghans, Colin Walters, Daniel Schaal,
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering Daniel Wallace, Dave Reisner, David Herrmann, Gao feng, George
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering McCollister, Giovanni Campagna, Hannes Reinecke, Harald Hoyer,
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering Herczeg Zsolt, Holger Hans Peter Freyther, Jan Engelhardt,
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering Jesper Larsen, Kay Sievers, Khem Raj, Lennart Poettering,
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering Lukas Nykryn, Maciej Wereski, Mantas Mikulėnas, Marcel
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering Holtmann, Martin Pitt, Michael Biebl, Michael Marineau,
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering Michael Scherer, Michael Stapelberg, Michal Sekletar, Michał
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering Górny, Olivier Brunel, Ondrej Balaz, Ronny Chevalier, Shawn
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering Landden, Steven Hiscocks, Thomas Bächler, Thomas Hindoe
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering Paaboel Andersen, Tom Gundersen, Umut Tezduyar, WANG Chao,
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering William Giokas, Zbigniew Jędrzejewski-Szmek
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering -- Berlin, 2013-09-13
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart PoetteringCHANGES WITH 206:
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering * The documentation has been updated to cover the various new
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering concepts introduced with 205.
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering * Unit files now understand the new %v specifier which
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering resolves to the kernel version string as returned by "uname
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering * systemctl now supports filtering the unit list output by
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering load state, active state and sub state, using the new
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering --state= parameter.
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering * "systemctl status" will now show the results of the
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering condition checks (like ConditionPathExists= and similar) of
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering the last start attempts of the unit. They are also logged to
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering * "journalctl -b" may now be used to look for boot output of a
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering specific boot. Try "journalctl -b -1" for the previous boot,
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering but the syntax is substantially more powerful.
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering * "journalctl --show-cursor" has been added which prints the
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering cursor string the last shown log line. This may then be used
fe08a30b58bba0e04fb3e43122e0b157af5846a1Lennart Poettering with the new "journalctl --after-cursor=" switch to continue
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack browsing logs from that point on.
91d0d699121f9cf29e3ba45380ce503b8ea505feLennart Poettering * "journalctl --force" may now be used to force regeneration
91d0d699121f9cf29e3ba45380ce503b8ea505feLennart Poettering of an FSS key.
91d0d699121f9cf29e3ba45380ce503b8ea505feLennart Poettering * Creation of "dead" device nodes has been moved from udev
91d0d699121f9cf29e3ba45380ce503b8ea505feLennart Poettering into kmod and tmpfiles. Previously, udev would read the kmod
91d0d699121f9cf29e3ba45380ce503b8ea505feLennart Poettering databases to pre-generate dead device nodes based on meta
91d0d699121f9cf29e3ba45380ce503b8ea505feLennart Poettering information contained in kernel modules, so that these would
91d0d699121f9cf29e3ba45380ce503b8ea505feLennart Poettering be auto-loaded on access rather then at boot. As this
91d0d699121f9cf29e3ba45380ce503b8ea505feLennart Poettering doesn't really have much to do with the exposing actual
91d0d699121f9cf29e3ba45380ce503b8ea505feLennart Poettering kernel devices to userspace this has always been slightly
91d0d699121f9cf29e3ba45380ce503b8ea505feLennart Poettering alien in the udev codebase. Following the new scheme kmod
0879a8d316ef4e69c4f925a5384cfa145eaf2b36Daniel Mack will now generate a runtime snippet for tmpfiles from the
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack module meta information and it now is tmpfiles' job to the
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack create the nodes. This also allows overriding access and
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack other parameters for the nodes using the usual tmpfiles
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack facilities. As side effect this allows us to remove the
c97e586d8a18db5dc505d76059ed1d9add234925Daniel Mack CAP_SYS_MKNOD capability bit from udevd entirely.
c9912c5eafa03fdf53e569eaf2e89d7e0932975bDavid Herrmann * logind's device ACLs may now be applied to these "dead"
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering devices nodes too, thus finally allowing managed access to
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering devices such as /dev/snd/sequencer whithout loading the
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering backing module right-away.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * A new RPM macro has been added that may be used to apply
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering tmpfiles configuration during package installation.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * systemd-detect-virt and ConditionVirtualization= now can
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering detect User-Mode-Linux machines (UML).
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * journald will now implicitly log the effective capabilities
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering set of processes in the message metadata.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * systemd-cryptsetup has gained support for TrueCrypt volumes.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * The initrd interface has been simplified (more specifically,
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering support for passing performance data via environment
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering variables and fsck results via files in /run has been
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering removed). These features were non-essential, and are
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering nowadays available in a much nicer way by having systemd in
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering the initrd serialize its state and have the hosts systemd
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering deserialize it again.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * The udev "keymap" data files and tools to apply keyboard
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering specific mappings of scan to key codes, and force-release
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering scan code lists have been entirely replaced by a udev
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering "keyboard" builtin and a hwdb data file.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * systemd will now honour the kernel's "quiet" command line
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering argument also during late shutdown, resulting in a
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering completely silent shutdown when used.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * There's now an option to control the SO_REUSEPORT socket
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering option in .socket units.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * Instance units will now automatically get a per-template
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering subslice of system.slice unless something else is explicitly
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering configured. For example, instances of sshd@.service will now
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering implicitly be placed in system-sshd.slice rather than
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * Test coverage support may now be enabled at build time.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Contributions from: Dave Reisner, Frederic Crozat, Harald
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Hoyer, Holger Hans Peter Freyther, Jan Engelhardt, Jan
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Janssen, Jason St. John, Jesper Larsen, Kay Sievers, Lennart
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Poettering, Lukas Nykryn, Maciej Wereski, Martin Pitt, Michael
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Olbrich, Ramkumar Ramachandra, Ross Lagerwall, Shawn Landden,
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Thomas H.P. Andersen, Tom Gundersen, Tomasz Torcz, William
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Giokas, Zbigniew Jędrzejewski-Szmek
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering -- Berlin, 2013-07-23
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart PoetteringCHANGES WITH 205:
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * Two new unit types have been introduced:
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Scope units are very similar to service units, however, are
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering created out of pre-existing processes -- instead of PID 1
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering forking off the processes. By using scope units it is
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering possible for system services and applications to group their
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering own child processes (worker processes) in a powerful way
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering which then maybe used to organize them, or kill them
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering together, or apply resource limits on them.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Slice units may be used to partition system resources in an
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering hierarchial fashion and then assign other units to them. By
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering default there are now three slices: system.slice (for all
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering system services), user.slice (for all user sessions),
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering machine.slice (for VMs and containers).
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Slices and scopes have been introduced primarily in
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering context of the work to move cgroup handling to a
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering single-writer scheme, where only PID 1
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * There's a new concept of "transient" units. In contrast to
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering normal units these units are created via an API at runtime,
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering not from configuration from disk. More specifically this
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering means it is now possible to run arbitrary programs as
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering independent services, with all execution parameters passed
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering in via bus APIs rather than read from disk. Transient units
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering make systemd substantially more dynamic then it ever was,
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering and useful as a general batch manager.
c626bf1d306735a2442800c03ec10cf55442af55Daniel Mack * logind has been updated to make use of scope and slice units
c626bf1d306735a2442800c03ec10cf55442af55Daniel Mack for managing user sessions. As a user logs in he will get
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering his own private slice unit, to which all sessions are added
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering as scope units. We also added support for automatically
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering adding an instance of user@.service for the user into the
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering slice. Effectively logind will no longer create cgroup
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering hierarchies on its own now, it will defer entirely to PID 1
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering for this by means of scope, service and slice units. Since
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering user sessions this way become entities managed by PID 1
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering the output of "systemctl" is now a lot more comprehensive.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * A new mini-daemon "systemd-machined" has been added which
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering may be used by virtualization managers to register local
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering VMs/containers. nspawn has been updated accordingly, and
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering libvirt will be updated shortly. machined will collect a bit
c9912c5eafa03fdf53e569eaf2e89d7e0932975bDavid Herrmann of meta information about the VMs/containers, and assign
47f5a38cdf98a220d6a0d4eb11a710a0a42ae5c4Lennart Poettering them their own scope unit (see above). The collected
47f5a38cdf98a220d6a0d4eb11a710a0a42ae5c4Lennart Poettering meta-data is then made available via the "machinectl" tool,
47f5a38cdf98a220d6a0d4eb11a710a0a42ae5c4Lennart Poettering and exposed in "ps" and similar tools. machined/machinectl
47f5a38cdf98a220d6a0d4eb11a710a0a42ae5c4Lennart Poettering is compile-time optional.
47f5a38cdf98a220d6a0d4eb11a710a0a42ae5c4Lennart Poettering * As discussed earlier, the low-level cgroup configuration
2f77decc5ba25d0463f137aa7f64ce6684917cf1Lennart Poettering options ControlGroup=, ControlGroupModify=,
2f77decc5ba25d0463f137aa7f64ce6684917cf1Lennart Poettering ControlGroupPersistent=, ControlGroupAttribute= have been
2f77decc5ba25d0463f137aa7f64ce6684917cf1Lennart Poettering removed. Please use high-level attribute settings instead as
2f77decc5ba25d0463f137aa7f64ce6684917cf1Lennart Poettering well as slice units.
2f77decc5ba25d0463f137aa7f64ce6684917cf1Lennart Poettering * A new bus call SetUnitProperties() has been added to alter
2f77decc5ba25d0463f137aa7f64ce6684917cf1Lennart Poettering various runtime parameters of a unit. This is primarily
23d08d1b2bfd7f4b3c0a9408c9ccd65c3fb80fc2David Herrmann useful to alter cgroup parameters dynamically in a nice way,
c9912c5eafa03fdf53e569eaf2e89d7e0932975bDavid Herrmann but will be extended later on to make more properties
23d08d1b2bfd7f4b3c0a9408c9ccd65c3fb80fc2David Herrmann modifiable at runtime. systemctl gained a new set-properties
c9912c5eafa03fdf53e569eaf2e89d7e0932975bDavid Herrmann command that wraps this call.
ec5249a27adb1ffbcd41f2c771e19c3353819456Daniel Mack * A new tool "systemd-run" has been added which can be used to
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering run arbitrary command lines as transient services or scopes,
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering while configuring a number of settings via the command
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering line. This tool is currently very basic, however already
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering very useful. We plan to extend this tool to even allow
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering queuing of execution jobs with time triggers from the
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering command line, similar in fashion to "at".
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * nspawn will now inform the user explicitly that kernels with
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering audit enabled break containers, and suggest the user to turn
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * Support for detecting the IMA and AppArmor security
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering frameworks with ConditionSecurity= has been added.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * journalctl gained a new "-k" switch for showing only kernel
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering messages, mimicking dmesg output; in addition to "--user"
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering and "--system" switches for showing only user's own logs
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering and system logs.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * systemd-delta can now show information about drop-in
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering snippets extending unit files.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * libsystemd-bus has been substantially updated but is still
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering not available as public API.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * systemd will now look for the "debug" argument on the kernel
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering command line and enable debug logging, similar to
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering "systemd.log_level=debug" already did before.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * "systemctl set-default", "systemctl get-default" has been
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering added to configure the default.target symlink, which
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering controls what to boot into by default.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * "systemctl set-log-level" has been added as a convenient
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering way to raise and lower systemd logging threshold.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * "systemd-analyze plot" will now show the time the various
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering generators needed for execution, as well as information
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering about the unit file loading.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * libsystemd-journal gained a new sd_journal_open_files() call
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering for opening specific journal files. journactl also gained a
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering new switch to expose this new functionality. Previously we
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering only supported opening all files from a directory, or all
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering files from the system, as opening individual files only is
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering racy due to journal file rotation.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * systemd gained the new DefaultEnvironment= setting in
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering /etc/systemd/system.conf to set environment variables for
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * If a privileged process logs a journal message with the
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering OBJECT_PID= field set, then journald will automatically
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering augment this with additional OBJECT_UID=, OBJECT_GID=,
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering OBJECT_COMM=, OBJECT_EXE=, ... fields. This is useful if
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering system services want to log events about specific client
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering processes. journactl/systemctl has been updated to make use
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering of this information if all log messages regarding a specific
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering unit is requested.
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Contributions from: Auke Kok, Chengwei Yang, Colin Walters,
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Cristian Rodríguez, Daniel Albers, Daniel Wallace, Dave
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Reisner, David Coppa, David King, David Strauss, Eelco
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Dolstra, Gabriel de Perthuis, Harald Hoyer, Jan Alexander
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Steffens, Jan Engelhardt, Jan Janssen, Jason St. John, Johan
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Heikkilä, Karel Zak, Karol Lewandowski, Kay Sievers, Lennart
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Poettering, Lukas Nykryn, Mantas Mikulėnas, Marius Vollmer,
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering Martin Pitt, Michael Biebl, Michael Olbrich, Michael Tremer,
e1439a1472c5f691733b8ef10e702beac2496a63David Herrmann Michal Schmidt, Michał Bartoszkiewicz, Nirbheek Chauhan,
e1439a1472c5f691733b8ef10e702beac2496a63David Herrmann Pierre Neidhardt, Ross Burton, Ross Lagerwall, Sean McGovern,
ec5249a27adb1ffbcd41f2c771e19c3353819456Daniel Mack Thomas Hindoe Paaboel Andersen, Tom Gundersen, Umut Tezduyar,
11811e856b0c63439d45edc9c9834ad427e1bb6aDavid Herrmann Václav Pavlín, Zachary Cook, Zbigniew Jędrzejewski-Szmek,
11811e856b0c63439d45edc9c9834ad427e1bb6aDavid Herrmann Łukasz Stelmach, 장동준
10fa421cd2abdc2ae1a07f7c13bfaa4ee6d6de4fDavid HerrmannCHANGES WITH 204:
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering * The Python bindings gained some minimal support for the APIs
5e8d4254f916eb7115ae14de42e7eccf6bc83786Lennart Poettering exposed by libsystemd-logind.
10fa421cd2abdc2ae1a07f7c13bfaa4ee6d6de4fDavid Herrmann * ConditionSecurity= gained support for detecting SMACK. Since
11811e856b0c63439d45edc9c9834ad427e1bb6aDavid Herrmann this condition already supports SELinux and AppArmor we only
11811e856b0c63439d45edc9c9834ad427e1bb6aDavid Herrmann miss IMA for this. Patches welcome!
11811e856b0c63439d45edc9c9834ad427e1bb6aDavid Herrmann Contributions from: Karol Lewandowski, Lennart Poettering,
11811e856b0c63439d45edc9c9834ad427e1bb6aDavid Herrmann Zbigniew Jędrzejewski-Szmek
e57eaef8a187762ca92838c24b9b6460878a800cDavid HerrmannCHANGES WITH 203:
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann * systemd-nspawn will now create /etc/resolv.conf if
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann necessary, before bind-mounting the host's file onto it.
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann * systemd-nspawn will now store meta information about a
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann container on the container's cgroup as extended attribute
01608bc86a104423d192364f9534b83d0c75db7fKay Sievers fields, including the root directory.
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann * The cgroup hierarchy has been reworked in many ways. All
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann objects any of the components systemd creates in the cgroup
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann tree are now suffixed. More specifically, user sessions are
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann now placed in cgroups suffixed with ".session", users in
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack cgroups suffixed with ".user", and nspawn containers in
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack cgroups suffixed with ".nspawn". Furthermore, all cgroup
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack names are now escaped in a simple scheme to avoid collision
37d54b938faeefd0a5a74f9197a33d78bbb8d6bfDaniel Mack of userspace object names with kernel filenames. This work
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack is preparation for making these objects relocatable in the
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack cgroup tree, in order to allow easy resource partitioning of
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack these objects without causing naming conflicts.
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack * systemctl list-dependencies gained the new switches
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack --plain, --reverse, --after and --before.
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack * systemd-inhibit now shows the process name of processes that
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack have taken an inhibitor lock.
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack * nss-myhostname will now also resolve "localhost"
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack implicitly. This makes /etc/hosts an optional file and
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack nicely handles that on IPv6 ::1 maps to both "localhost" and
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack the local hostname.
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack * libsystemd-logind.so gained a new call
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack sd_get_machine_names() to enumerate running containers and
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack VMs (currently only supported by very new libvirt and
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack nspawn). sd_login_monitor can now be used to watch
931618d08c64083ff7b29c494f482c40a5b05608Daniel Mack VMs/containers coming and going.
f5f113f66692abaf72e83698cb7b4f3690b90cf8David Herrmann * .include is not allowed recursively anymore, and only in
f5f113f66692abaf72e83698cb7b4f3690b90cf8David Herrmann unit files. Usually it is better to use drop-in snippets in
f5f113f66692abaf72e83698cb7b4f3690b90cf8David Herrmann .d/*.conf anyway, as introduced with systemd 198.
01608bc86a104423d192364f9534b83d0c75db7fKay Sievers * systemd-analyze gained a new "critical-chain" command that
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann determines the slowest chain of units run during system
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann boot-up. It is very useful for tracking down where
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann optimizing boot time is the most beneficial.
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann * systemd will no longer allow manipulating service paths in
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann the name=systemd:/system cgroup tree using ControlGroup= in
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann units. (But is still fine with it in all other dirs.)
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann * There's a new systemd-nspawn@.service service file that may
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann be used to easily run nspawn containers as system
e4e66993951e9e349e8008fa7c81184b6e4ae385David Herrmann services. With the container's root directory in
e4e66993951e9e349e8008fa7c81184b6e4ae385David Herrmann /var/lib/container/foobar it is now sufficient to run
e4e66993951e9e349e8008fa7c81184b6e4ae385David Herrmann "systemctl start systemd-nspawn@foobar.service" to boot it.
e4e66993951e9e349e8008fa7c81184b6e4ae385David Herrmann * systemd-cgls gained a new parameter "--machine" to list only
e4e66993951e9e349e8008fa7c81184b6e4ae385David Herrmann the processes within a certain container.
e4e66993951e9e349e8008fa7c81184b6e4ae385David Herrmann * ConditionSecurity= now can check for "apparmor". We still
e4e66993951e9e349e8008fa7c81184b6e4ae385David Herrmann are lacking checks for SMACK and IMA for this condition
e4e66993951e9e349e8008fa7c81184b6e4ae385David Herrmann check though. Patches welcome!
e57eaef8a187762ca92838c24b9b6460878a800cDavid Herrmann * A new configuration file /etc/systemd/sleep.conf has been
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann added that may be used to configure which kernel operation
5541c88977e63215e74b7517fb33cb27e5a04f17David Herrmann systemd is supposed to execute when "suspend", "hibernate"
861b02ebd6ec997a6880824960ba8903bac74f7dKay Sievers or "hybrid-sleep" is requested. This makes the new kernel
861b02ebd6ec997a6880824960ba8903bac74f7dKay Sievers "freeze" state accessible to the user.
861b02ebd6ec997a6880824960ba8903bac74f7dKay Sievers * ENV{SYSTEMD_WANTS} in udev rules will now implicitly escape
861b02ebd6ec997a6880824960ba8903bac74f7dKay Sievers the passed argument if applicable.
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann Contributions from: Auke Kok, Colin Guthrie, Colin Walters,
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann Cristian Rodríguez, Daniel Buch, Daniel Wallace, Dave Reisner,
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann Evangelos Foutras, Greg Kroah-Hartman, Harald Hoyer, Josh
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann Triplett, Kay Sievers, Lennart Poettering, Lukas Nykryn,
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann MUNEDA Takahiro, Mantas Mikulėnas, Mirco Tischler, Nathaniel
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann Chen, Nirbheek Chauhan, Ronny Chevalier, Ross Lagerwall, Tom
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann Gundersen, Umut Tezduyar, Ville Skyttä, Zbigniew
5541c88977e63215e74b7517fb33cb27e5a04f17David Herrmann Jędrzejewski-Szmek
5541c88977e63215e74b7517fb33cb27e5a04f17David HerrmannCHANGES WITH 202:
9b361114f568e839784a3aeba5c1df5a95e86832Daniel Mack * The output of 'systemctl list-jobs' got some polishing. The
9b361114f568e839784a3aeba5c1df5a95e86832Daniel Mack '--type=' argument may now be passed more than once. A new
9b361114f568e839784a3aeba5c1df5a95e86832Daniel Mack command 'systemctl list-sockets' has been added which shows
9b361114f568e839784a3aeba5c1df5a95e86832Daniel Mack a list of kernel sockets systemd is listening on with the
9b361114f568e839784a3aeba5c1df5a95e86832Daniel Mack socket units they belong to, plus the units these socket
9b361114f568e839784a3aeba5c1df5a95e86832Daniel Mack units activate.
9b361114f568e839784a3aeba5c1df5a95e86832Daniel Mack * The experimental libsystemd-bus library got substantial
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann updates to work in conjunction with the (also experimental)
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann kdbus kernel project. It works well enough to exchange
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann messages with some sophistication. Note that kdbus is not
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann ready yet, and the library is mostly an elaborate test case
5541c88977e63215e74b7517fb33cb27e5a04f17David Herrmann for now, and not installable.
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann * systemd gained a new unit 'systemd-static-nodes.service'
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann that generates static device nodes earlier during boot, and
2d1ca11270e66777c90a449096203afebc37ec9cDavid Herrmann can run in conjunction with udev.
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann * libsystemd-login gained a new call sd_pid_get_user_unit()
2d1ca11270e66777c90a449096203afebc37ec9cDavid Herrmann to retrieve the user systemd unit a process is running
0db83ad7334809a6605501e24bad55f3b652c072David Herrmann in. This is useful for systems where systemd is used as
0f0467e63b0e0688ae9edb1512c1a2637d62ddb4Martin Pitt session manager.
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering * systemd-nspawn now places all containers in the new /machine
5f92d24fa85d6652c4754e3b3b2a3393026bd0b9Kay Sievers top-level cgroup directory in the name=systemd
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering hierarchy. libvirt will soon do the same, so that we get a
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering uniform separation of /system, /user and /machine for system
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering services, user processes and containers/virtual
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering machines. This new cgroup hierarchy is also useful to stick
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering stable names to specific container instances, which can be
0aee49d5fba2b2ec94e5c069d937004858a04b4fThomas Hindoe Paaboel Andersen recognized later this way (this name may be controlled
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering via systemd-nspawn's new -M switch). libsystemd-login also
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering gained a new call sd_pid_get_machine_name() to retrieve the
5f92d24fa85d6652c4754e3b3b2a3393026bd0b9Kay Sievers name of the container/VM a specific process belongs to.
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering * bootchart can now store its data in the journal.
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering * libsystemd-journal gained a new call
c65514649680e5d5ee6a118db6e5b20438cb1710Ronny Chevalier sd_journal_add_conjunction() for AND expressions to the
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering matching logic. This can be used to express more complex
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering logical expressions.
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering * journactl can now take multiple --unit= and --user-unit=
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering * The cryptsetup logic now understands the "luks.key=" kernel
0f0467e63b0e0688ae9edb1512c1a2637d62ddb4Martin Pitt command line switch for specifying a file to read the
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering decryption key from. Also, if a configured key file is not
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering found the tool will now automatically fall back to prompting
0aee49d5fba2b2ec94e5c069d937004858a04b4fThomas Hindoe Paaboel Andersen * Python systemd.journal module was updated to wrap recently
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering added functions from libsystemd-journal. The interface was
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering changed to bring the low level interface in s.j._Reader
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering closer to the C API, and the high level interface in
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering s.j.Reader was updated to wrap and convert all data about
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering Contributions from: Anatol Pomozov, Auke Kok, Harald Hoyer,
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering Henrik Grindal Bakken, Josh Triplett, Kay Sievers, Lennart
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering Poettering, Lukas Nykryn, Mantas Mikulėnas Marius Vollmer,
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering Martin Jansa, Martin Pitt, Michael Biebl, Michal Schmidt,
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering Mirco Tischler, Pali Rohar, Simon Peeters, Steven Hiscocks,
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering Tom Gundersen, Zbigniew Jędrzejewski-Szmek
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart PoetteringCHANGES WITH 201:
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering * journalctl --update-catalog now understands a new --root=
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering option to operate on catalogs found in a different root
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering * During shutdown after systemd has terminated all running
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering services a final killing loop kills all remaining left-over
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering processes. We will now print the name of these processes
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering when we send SIGKILL to them, since this usually indicates a
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering * If /etc/crypttab refers to password files stored on
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering configured mount points automatic dependencies will now be
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering generated to ensure the specific mount is established first
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering before the key file is attempted to be read.
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering * 'systemctl status' will now show information about the
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering network sockets a socket unit is listening on.
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering * 'systemctl status' will also shown information about any
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering drop-in configuration file for units. (Drop-In configuration
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering files in this context are files such as
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering /etc/systemd/systemd/foobar.service.d/*.conf)
470e72d4081c7d0fd74666b7a45358d5ee2abee1Lennart Poettering * systemd-cgtop now optionally shows summed up CPU times of
b912e251812bb65bed1d545d9748f5b0918f1559Lennart Poettering cgroups. Press '%' while running cgtop to switch between
b912e251812bb65bed1d545d9748f5b0918f1559Lennart Poettering percentage and absolute mode. This is useful to determine
b912e251812bb65bed1d545d9748f5b0918f1559Lennart Poettering which cgroups use up the most CPU time over the entire
b912e251812bb65bed1d545d9748f5b0918f1559Lennart Poettering runtime of the system. systemd-cgtop has also been updated
b912e251812bb65bed1d545d9748f5b0918f1559Lennart Poettering to be 'pipeable' for processing with further shell tools.
b912e251812bb65bed1d545d9748f5b0918f1559Lennart Poettering * 'hostnamectl set-hostname' will now allow setting of FQDN
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * The formatting and parsing of time span values has been
f7a73a2558bceffd983eb7642680e718cd981122David Herrmann changed. The parser now understands fractional expressions
f7a73a2558bceffd983eb7642680e718cd981122David Herrmann such as "5.5h". The formatter will now output fractional
f7a73a2558bceffd983eb7642680e718cd981122David Herrmann expressions for all time spans under 1min, i.e. "5.123456s"
f7a73a2558bceffd983eb7642680e718cd981122David Herrmann rather than "5s 123ms 456us". For time spans under 1s
f7a73a2558bceffd983eb7642680e718cd981122David Herrmann millisecond values are shown, for those under 1ms
f7a73a2558bceffd983eb7642680e718cd981122David Herrmann microsecond values are shown. This should greatly improve
f7a73a2558bceffd983eb7642680e718cd981122David Herrmann all time-related output of systemd.
f7a73a2558bceffd983eb7642680e718cd981122David Herrmann * libsystemd-login and libsystemd-journal gained new
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering functions for querying the poll() events mask and poll()
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering timeout value for integration into arbitrary event
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * localectl gained the ability to list available X11 keymaps
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering (models, layouts, variants, options).
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * 'systemd-analyze dot' gained the ability to filter for
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering specific units via shell-style globs, to create smaller,
29d1fcb4a3c921a3d4490353474e9775f7b13b0eZbigniew Jędrzejewski-Szmek more useful graphs. I.e. it's now possible to create simple
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering graphs of all the dependencies between only target units, or
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering of all units that Avahi has dependencies with.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Contributions from: Cristian Rodríguez, Dr. Tilmann Bubeck,
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Harald Hoyer, Holger Hans Peter Freyther, Kay Sievers, Kelly
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Anderson, Koen Kooi, Lennart Poettering, Maksim Melnikau,
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Marc-Antoine Perennou, Marius Vollmer, Martin Pitt, Michal
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Schmidt, Oleksii Shevchuk, Ronny Chevalier, Simon McVittie,
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Steven Hiscocks, Thomas Weißschuh, Umut Tezduyar, Václav
29d1fcb4a3c921a3d4490353474e9775f7b13b0eZbigniew Jędrzejewski-Szmek Pavlín, Zbigniew Jędrzejewski-Szmek, Łukasz Stelmach
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart PoetteringCHANGES WITH 200:
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * The boot-time readahead implementation for rotating media
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering will now read the read-ahead data in multiple passes which
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering consist of all read requests made in equidistant time
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering intervals. This means instead of strictly reading read-ahead
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering data in its physical order on disk we now try to find a
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering middle ground between physical and access time order.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * /etc/os-release files gained a new BUILD_ID= field for usage
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering on operating systems that provide continuous builds of OS
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Contributions from: Auke Kok, Eelco Dolstra, Kay Sievers,
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Lennart Poettering, Lukas Nykryn, Martin Pitt, Václav Pavlín
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering William Douglas, Zbigniew Jędrzejewski-Szmek
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart PoetteringCHANGES WITH 199:
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * systemd-python gained an API exposing libsystemd-daemon.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * The SMACK setup logic gained support for uploading CIPSO
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering security policy.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * Behaviour of PrivateTmp=, ReadWriteDirectories=,
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering ReadOnlyDirectories= and InaccessibleDirectories= has
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering changed. The private /tmp and /var/tmp directories are now
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering shared by all processes of a service (which means
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering ExecStartPre= may now leave data in /tmp that ExecStart= of
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering the same service can still access). When a service is
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering stopped its temporary directories are immediately deleted
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering (normal clean-up with tmpfiles is still done in addition to
1579dd2c9b8f97e5ec4016d3928d73fea160e55aLennart Poettering * By default, systemd will now set a couple of sysctl
1579dd2c9b8f97e5ec4016d3928d73fea160e55aLennart Poettering variables in the kernel: the safe sysrq options are turned
1579dd2c9b8f97e5ec4016d3928d73fea160e55aLennart Poettering on, IP route verification is turned on, and source routing
1579dd2c9b8f97e5ec4016d3928d73fea160e55aLennart Poettering disabled. The recently added hardlink and softlink
1579dd2c9b8f97e5ec4016d3928d73fea160e55aLennart Poettering protection of the kernel is turned on. These settings should
1579dd2c9b8f97e5ec4016d3928d73fea160e55aLennart Poettering be reasonably safe, and good defaults for all new systems.
1579dd2c9b8f97e5ec4016d3928d73fea160e55aLennart Poettering * The predictable network naming logic may now be turned off
1579dd2c9b8f97e5ec4016d3928d73fea160e55aLennart Poettering with a new kernel command line switch: net.ifnames=0.
1579dd2c9b8f97e5ec4016d3928d73fea160e55aLennart Poettering * A new libsystemd-bus module has been added that implements a
1579dd2c9b8f97e5ec4016d3928d73fea160e55aLennart Poettering pretty complete D-Bus client library. For details see:
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering http://lists.freedesktop.org/archives/systemd-devel/2013-March/009797.html
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * journald will now explicitly flush the journal files to disk
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering at the latest 5min after each write. The file will then also
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering be marked offline until the next write. This should increase
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering reliability in case of a crash. The synchronization delay
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering can be configured via SyncIntervalSec= in journald.conf.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * There's a new remote-fs-setup.target unit that can be used
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering to pull in specific services when at least one remote file
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering system is to be mounted.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * There are new targets timers.target and paths.target as
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering canonical targets to pull user timer and path units in
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering from. This complements sockets.target with a similar
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering purpose for socket units.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * libudev gained a new call udev_device_set_attribute_value()
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering to set sysfs attributes of a device.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * The udev daemon now sets the default number of worker
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering processes executed in parallel based on the number of available
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering CPUs instead of the amount of available RAM. This is supposed
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering to provide a more reliable default and limit a too aggressive
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering paralellism for setups with 1000s of devices connected.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Contributions from: Auke Kok, Colin Walters, Cristian
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Rodríguez, Daniel Buch, Dave Reisner, Frederic Crozat, Hannes
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Reinecke, Harald Hoyer, Jan Alexander Steffens, Jan
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Engelhardt, Josh Triplett, Kay Sievers, Lennart Poettering,
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Mantas Mikulėnas, Martin Pitt, Mathieu Bridon, Michael Biebl,
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Michal Schmidt, Michal Sekletar, Miklos Vajna, Nathaniel Chen,
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Oleksii Shevchuk, Ozan Çağlayan, Thomas Hindoe Paaboel
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Andersen, Tollef Fog Heen, Tom Gundersen, Umut Tezduyar,
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Zbigniew Jędrzejewski-Szmek
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart PoetteringCHANGES WITH 198:
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * Configuration of unit files may now be extended via drop-in
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering files without having to edit/override the unit files
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering themselves. More specifically, if the administrator wants to
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering change one value for a service file foobar.service he can
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering now do so by dropping in a configuration snippet into
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering /etc/systemd/system/foobar.service.d/*.conf. The unit logic
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering will load all these snippets and apply them on top of the
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering main unit configuration file, possibly extending or
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering overriding its settings. Using these drop-in snippets is
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering generally nicer than the two earlier options for changing
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering unit files locally: copying the files from
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering /usr/lib/systemd/system/ to /etc/systemd/system/ and editing
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering them there; or creating a new file in /etc/systemd/system/
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering that incorporates the original one via ".include". Drop-in
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering snippets into these .d/ directories can be placed in any
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering directory systemd looks for units in, and the usual
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering overriding semantics between /usr/lib, /etc and /run apply
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * Most unit file settings which take lists of items can now be
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering reset by assigning the empty string to them. For example,
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering normally, settings such as Environment=FOO=BAR append a new
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering environment variable assignment to the environment block,
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering each time they are used. By assigning Environment= the empty
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering string the environment block can be reset to empty. This is
1579dd2c9b8f97e5ec4016d3928d73fea160e55aLennart Poettering particularly useful with the .d/*.conf drop-in snippets
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering mentioned above, since this adds the ability to reset list
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering settings from vendor unit files via these drop-ins.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * systemctl gained a new "list-dependencies" command for
1a2d5fbe7efa04181a2d5518bc510b84b280baf9David Herrmann listing the dependencies of a unit recursively.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * Inhibitors are now honored and listed by "systemctl
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering suspend", "systemctl poweroff" (and similar) too, not only
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering GNOME. These commands will also list active sessions by
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * Resource limits (as exposed by the various control group
1a2d5fbe7efa04181a2d5518bc510b84b280baf9David Herrmann controllers) can now be controlled dynamically at runtime
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering for all units. More specifically, you can now use a command
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering like "systemctl set-cgroup-attr foobar.service cpu.shares
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering 2000" to alter the CPU shares a specific service gets. These
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering settings are stored persistently on disk, and thus allow the
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering administrator to easily adjust the resource usage of
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering services with a few simple commands. This dynamic resource
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering management logic is also available to other programs via the
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering bus. Almost any kernel cgroup attribute and controller is
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * systemd-vconsole-setup will now copy all font settings to
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering all allocated VTs, where it previously applied them only to
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering the foreground VT.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * libsystemd-login gained the new sd_session_get_tty() API
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * This release drops support for a few legacy or
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering distribution-specific LSB facility names when parsing init
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering scripts: $x-display-manager, $mail-transfer-agent,
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering $mail-transport-agent, $mail-transfer-agent, $smtp,
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering $null. Also, the mail-transfer-agent.target unit backing
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering this has been removed. Distributions which want to retain
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering compatibility with this should carry the burden for
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering supporting this themselves and patch support for these back
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering in, if they really need to. Also, the facilities $syslog and
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering $local_fs are now ignored, since systemd does not support
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering early-boot LSB init scripts anymore, and these facilities
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering are implied anyway for normal services. syslog.target has
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering also been removed.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * There are new bus calls on PID1's Manager object for
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering cancelling jobs, and removing snapshot units. Previously,
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering both calls were only available on the Job and Snapshot
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering objects themselves.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * systemd-journal-gatewayd gained SSL support.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * The various "environment" files, such as /etc/locale.conf
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering now support continuation lines with a backslash ("\") as
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering last character in the line, similar in style (but different)
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering to how this is supported in shells.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * For normal user processes the _SYSTEMD_USER_UNIT= field is
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering now implicitly appended to every log entry logged. systemctl
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering has been updated to filter by this field when operating on a
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering user systemd instance.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * nspawn will now implicitly add the CAP_AUDIT_WRITE and
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering CAP_AUDIT_CONTROL capabilities to the capabilities set for
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering the container. This makes it easier to boot unmodified
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering Fedora systems in a container, which however still requires
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering audit=0 to be passed on the kernel command line. Auditing in
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering kernel and userspace is unfortunately still too broken in
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering context of containers, hence we recommend compiling it out
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering of the kernel or using audit=0. Hopefully this will be fixed
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering one day for good in the kernel.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * nspawn gained the new --bind= and --bind-ro= parameters to
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering bind mount specific directories from the host into the
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * nspawn will now mount its own devpts file system instance
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering into the container, in order not to leak pty devices from
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering the host into the container.
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering * systemd will now read the firmware boot time performance
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering information from the EFI variables, if the used boot loader
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering supports this, and takes it into account for boot performance
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering analysis via "systemd-analyze". This is currently supported
481a0aa2c9803a62cda413b8a1d05571957bb4b5Lennart Poettering only in conjunction with Gummiboot, but could be supported
39315f9f8dd5a16b4561c5efffc6114c75835011Lennart Poettering by other boot loaders too. For details see:
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering http://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * A new generator has been added that automatically mounts the
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering EFI System Partition (ESP) to /boot, if that directory
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering exists, is empty, and no other file system has been
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering configured to be mounted there.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * logind will now send out PrepareForSleep(false) out
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering unconditionally, after coming back from suspend. This may be
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering used by applications as asynchronous notification for
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering system resume events.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * "systemctl unlock-sessions" has been added, that allows
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering unlocking the screens of all user sessions at once, similar
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering how "systemctl lock-sessions" already locked all users
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering sessions. This is backed by a new D-Bus call UnlockSessions().
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * "loginctl seat-status" will now show the master device of a
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering seat. (i.e. the device of a seat that needs to be around for
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering the seat to be considered available, usually the graphics
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * tmpfiles gained a new "X" line type, that allows
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering configuration of files and directories (with wildcards) that
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering shall be excluded from automatic cleanup ("aging").
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * udev default rules set the device node permissions now only
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering at "add" events, and do not change them any longer with a
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering later "change" event.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * The log messages for lid events and power/sleep keypresses
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering now carry a message ID.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * We now have a substantially larger unit test suite, but this
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering continues to be work in progress.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * udevadm hwdb gained a new --root= parameter to change the
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering root directory to operate relative to.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * logind will now issue a background sync() request to the kernel
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering early at shutdown, so that dirty buffers are flushed to disk early
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering instead of at the last moment, in order to optimize shutdown
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering times a little.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * A new bootctl tool has been added that is an interface for
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering certain boot loader operations. This is currently a preview
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering and is likely to be extended into a small mechanism daemon
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering like timedated, localed, hostnamed, and can be used by
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering graphical UIs to enumerate available boot options, and
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering request boot into firmware operations.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * systemd-bootchart has been relicensed to LGPLv2.1+ to match
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering the rest of the package. It also has been updated to work
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering correctly in initrds.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * Policykit previously has been runtime optional, and is now
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering also compile time optional via a configure switch.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * systemd-analyze has been reimplemented in C. Also "systemctl
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering dot" has moved into systemd-analyze.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * "systemctl status" with no further parameters will now print
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering the status of all active or failed units.
94e5ba370aa12b47571f08112986d0b91935dee9Torstein Husebø * Operations such as "systemctl start" can now be executed
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering with a new mode "--irreversible" which may be used to queue
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering operations that cannot accidentally be reversed by a later
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering job queuing. This is by default used to make shutdown
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering requests more robust.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * The Python API of systemd now gained a new module for
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering reading journal files.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * A new tool kernel-install has been added that can install
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering kernel images according to the Boot Loader Specification:
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * Boot time console output has been improved to provide
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering animated boot time output for hanging jobs.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * A new tool systemd-activate has been added which can be used
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering to test socket activation with, directly from the command
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering line. This should make it much easier to test and debug
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering socket activation in daemons.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * journalctl gained a new "--reverse" (or -r) option to show
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering journal output in reverse order (i.e. newest line first).
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * journalctl gained a new "--pager-end" (or -e) option to jump
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering to immediately jump to the end of the journal in the
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering pager. This is only supported in conjunction with "less".
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * journalctl gained a new "--user-unit=" option, that works
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering similar to "--unit=" but filters for user units rather than
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * A number of unit files to ease adoption of systemd in
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering initrds has been added. This moves some minimal logic from
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering the various initrd implementations into systemd proper.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * The journal files are now owned by a new group
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering "systemd-journal", which exists specifically to allow access
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering to the journal, and nothing else. Previously, we used the
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering "adm" group for that, which however possibly covers more
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering than just journal/log file access. This new group is now
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering already used by systemd-journal-gatewayd to ensure this
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering daemon gets access to the journal files and as little else
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering as possible. Note that "make install" will also set FS ACLs
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering up for /var/log/journal to give "adm" and "wheel" read
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering access to it, in addition to "systemd-journal" which owns
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering the journal files. We recommend that packaging scripts also
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering add read access to "adm" + "wheel" to /var/log/journal, and
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering all existing/future journal files. To normal users and
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering administrators little changes, however packagers need to
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering ensure to create the "systemd-journal" system group at
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering package installation time.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * The systemd-journal-gatewayd now runs as unprivileged user
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering systemd-journal-gateway:systemd-journal-gateway. Packaging
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering scripts need to create these system user/group at
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering installation time.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * timedated now exposes a new boolean property CanNTP that
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering indicates whether a local NTP service is available or not.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * systemd-detect-virt will now also detect xen PVs
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * The pstore file system is now mounted by default, if it is
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * In addition to the SELinux and IMA policies we will now also
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering load SMACK policies at early boot.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Contributions from: Adel Gadllah, Aleksander Morgado, Auke
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Kok, Ayan George, Bastien Nocera, Colin Walters, Daniel Buch,
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Daniel Wallace, Dave Reisner, David Herrmann, David Strauss,
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Eelco Dolstra, Enrico Scholz, Frederic Crozat, Harald Hoyer,
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Jan Janssen, Jonathan Callen, Kay Sievers, Lennart Poettering,
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Lukas Nykryn, Mantas Mikulėnas, Marc-Antoine Perennou, Martin
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Pitt, Mauro Dreissig, Max F. Albrecht, Michael Biebl, Michael
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Olbrich, Michal Schmidt, Michal Sekletar, Michal Vyskocil,
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Michał Bartoszkiewicz, Mirco Tischler, Nathaniel Chen, Nestor
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Ovroy, Oleksii Shevchuk, Paul W. Frields, Piotr Drąg, Rob
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Clark, Ryan Lortie, Simon McVittie, Simon Peeters, Steven
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Hiscocks, Thomas Hindoe Paaboel Andersen, Tollef Fog Heen, Tom
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Gundersen, Umut Tezduyar, William Giokas, Zbigniew
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Jędrzejewski-Szmek, Zeeshan Ali (Khattak)
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart PoetteringCHANGES WITH 197:
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * Timer units now support calendar time events in addition to
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering monotonic time events. That means you can now trigger a unit
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering based on a calendar time specification such as "Thu,Fri
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering 2013-*-1,5 11:12:13" which refers to 11:12:13 of the first
94e5ba370aa12b47571f08112986d0b91935dee9Torstein Husebø or fifth day of any month of the year 2013, given that it is
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering a thursday or friday. This brings timer event support
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering considerably closer to cron's capabilities. For details on
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering the supported calendar time specification language see
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * udev now supports a number of different naming policies for
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering network interfaces for predictable names, and a combination
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering of these policies is now the default. Please see this wiki
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering document for details:
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * Auke Kok's bootchart implementation has been added to the
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering systemd tree. It's an optional component that can graph the
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering boot in quite some detail. It's one of the best bootchart
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering implementations around and minimal in its code and
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * nss-myhostname has been integrated into the systemd source
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering tree. nss-myhostname guarantees that the local hostname
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering always stays resolvable via NSS. It has been a weak
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering requirement of systemd-hostnamed since a long time, and
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering since its code is actually trivial we decided to just
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering include it in systemd's source tree. It can be turned off
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering with a configure switch.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * The read-ahead logic is now capable of properly detecting
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering whether a btrfs file system is on SSD or rotating media, in
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering order to optimize the read-ahead scheme. Previously, it was
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering only capable of detecting this on traditional file systems
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * In udev, additional device properties are now read from the
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering IAB in addition to the OUI database. Also, Bluetooth company
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering identities are attached to the devices as well.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * In service files %U may be used as specifier that is
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering replaced by the configured user name of the service.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * nspawn may now be invoked without a controlling TTY. This
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering makes it suitable for invocation as its own service. This
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering may be used to set up a simple containerized server system
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering using only core OS tools.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * systemd and nspawn can now accept socket file descriptors
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering when they are started for socket activation. This enables
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering implementation of socket activated nspawn
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering containers. i.e. think about autospawning an entire OS image
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering when the first SSH or HTTP connection is received. We expect
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering that similar functionality will also be added to libvirt-lxc
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * journalctl will now suppress ANSI color codes when
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering presenting log data.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * systemctl will no longer show control group information for
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering a unit if a the control group is empty anyway.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * logind can now automatically suspend/hibernate/shutdown the
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering system on idle.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * /etc/machine-info and hostnamed now also expose the chassis
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering type of the system. This can be used to determine whether
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering the local system is a laptop, desktop, handset or
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering tablet. This information may either be configured by the
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering user/vendor or is automatically determined from ACPI and DMI
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering information if possible.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * A number of PolicyKit actions are now bound together with
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering "imply" rules. This should simplify creating UIs because
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering many actions will now authenticate similar ones as well.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * Unit files learnt a new condition ConditionACPower= which
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering may be used to conditionalize a unit depending on whether an
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering AC power source is connected or not, of whether the system
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering is running on battery power.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * systemctl gained a new "is-failed" verb that may be used in
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering shell scripts and suchlike to check whether a specific unit
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering is in the "failed" state.
7edecf218e5884ec8d1549707b4c7a0572c2d93bThomas Hindoe Paaboel Andersen * The EnvironmentFile= setting in unit files now supports file
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering globbing, and can hence be used to easily read a number of
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering environment files at once.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * systemd will no longer detect and recognize specific
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering distributions. All distribution-specific #ifdeffery has been
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering removed, systemd is now fully generic and
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering distribution-agnostic. Effectively, not too much is lost as
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering a lot of the code is still accessible via explicit configure
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering switches. However, support for some distribution specific
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering legacy configuration file formats has been dropped. We
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering recommend distributions to simply adopt the configuration
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering files everybody else uses now and convert the old
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering configuration from packaging scripts. Most distributions
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering already did that. If that's not possible or desirable,
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering distributions are welcome to forward port the specific
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering pieces of code locally from the git history.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * When logging a message about a unit systemd will now always
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering log the unit name in the message meta data.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * localectl will now also discover system locale data that is
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering not stored in locale archives, but directly unpacked.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * logind will no longer unconditionally use framebuffer
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering devices as seat masters, i.e. as devices that are required
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering to be existing before a seat is considered preset. Instead,
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering it will now look for all devices that are tagged as
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering "seat-master" in udev. By default framebuffer devices will
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering be marked as such, but depending on local systems other
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering devices might be marked as well. This may be used to
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering integrate graphics cards using closed source drivers (such
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering as NVidia ones) more nicely into logind. Note however, that
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering we recommend using the open source NVidia drivers instead,
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering and no udev rules for the closed-source drivers will be
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering shipped from us upstream.
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Contributions from: Adam Williamson, Alessandro Crismani, Auke
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Kok, Colin Walters, Daniel Wallace, Dave Reisner, David
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Herrmann, David Strauss, Dimitrios Apostolou, Eelco Dolstra,
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Eric Benoit, Giovanni Campagna, Hannes Reinecke, Henrik
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Grindal Bakken, Hermann Gausterer, Kay Sievers, Lennart
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Poettering, Lukas Nykryn, Mantas Mikulėnas, Marcel Holtmann,
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Martin Pitt, Matthew Monaco, Michael Biebl, Michael Terry,
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Michal Schmidt, Michal Sekletar, Michał Bartoszkiewicz, Oleg
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Samarin, Pekka Lundstrom, Philip Nilsson, Ramkumar
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Ramachandra, Richard Yao, Robert Millan, Sami Kerola, Shawn
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Landden, Thomas Hindoe Paaboel Andersen, Thomas Jarosch,
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Tollef Fog Heen, Tom Gundersen, Umut Tezduyar, Zbigniew
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering Jędrzejewski-Szmek
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart PoetteringCHANGES WITH 196:
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering * udev gained support for loading additional device properties
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering from an indexed database that is keyed by vendor/product IDs
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering and similar device identifiers. For the beginning this
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering "hwdb" is populated with data from the well-known PCI and
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering USB database, but also includes PNP, ACPI and OID data. In
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering the longer run this indexed database shall grow into
615aaf412c441e67c7cad2e5ae966b03fca1fae7Lennart Poettering becoming the one central database for non-essential
11ea2781eea4b912d2feb26785ece475e504c57bLennart Poettering userspace device metadata. Previously, data from the PCI/USB
d2c643c662e2cb3b6d1445c17c80b4b2998d5c61Lennart Poettering database was only attached to select devices, since the
d2c643c662e2cb3b6d1445c17c80b4b2998d5c61Lennart Poettering lookup was a relatively expensive operation due to O(n) time
d2c643c662e2cb3b6d1445c17c80b4b2998d5c61Lennart Poettering complexity (with n being the number of entries in the
d2c643c662e2cb3b6d1445c17c80b4b2998d5c61Lennart Poettering database). Since this is now O(1), we decided to add in this
d2c643c662e2cb3b6d1445c17c80b4b2998d5c61Lennart Poettering data for all devices where this is available, by
d2c643c662e2cb3b6d1445c17c80b4b2998d5c61Lennart Poettering default. Note that the indexed database needs to be rebuilt
d2c643c662e2cb3b6d1445c17c80b4b2998d5c61Lennart Poettering when new data files are installed. To achieve this you need
d2c643c662e2cb3b6d1445c17c80b4b2998d5c61Lennart Poettering to update your packaging scripts to invoke "udevadm hwdb
d2c643c662e2cb3b6d1445c17c80b4b2998d5c61Lennart Poettering --update" after installation of hwdb data files. For
d2c643c662e2cb3b6d1445c17c80b4b2998d5c61Lennart Poettering RPM-based distributions we introduced the new
d2c643c662e2cb3b6d1445c17c80b4b2998d5c61Lennart Poettering %udev_hwdb_update macro for this purpose.
d2c643c662e2cb3b6d1445c17c80b4b2998d5c61Lennart Poettering * The Journal gained support for the "Message Catalog", an
d2c643c662e2cb3b6d1445c17c80b4b2998d5c61Lennart Poettering indexed database to link up additional information with
11ea2781eea4b912d2feb26785ece475e504c57bLennart Poettering journal entries. For further details please check:
11ea2781eea4b912d2feb26785ece475e504c57bLennart Poettering http://www.freedesktop.org/wiki/Software/systemd/catalog
11ea2781eea4b912d2feb26785ece475e504c57bLennart Poettering The indexed message catalog database also needs to be
11ea2781eea4b912d2feb26785ece475e504c57bLennart Poettering rebuilt after installation of message catalog files. Use
11ea2781eea4b912d2feb26785ece475e504c57bLennart Poettering "journalctl --update-catalog" for this. For RPM-based
d2c643c662e2cb3b6d1445c17c80b4b2998d5c61Lennart Poettering distributions we introduced the %journal_catalog_update
d2c643c662e2cb3b6d1445c17c80b4b2998d5c61Lennart Poettering macro for this purpose.
d2c643c662e2cb3b6d1445c17c80b4b2998d5c61Lennart Poettering * The Python Journal bindings gained support for the standard
11ea2781eea4b912d2feb26785ece475e504c57bLennart Poettering Python logging framework.
d4f5a1f47dbd04f26f2ddf951c97c4cb0ebbbe62David Herrmann * The Journal API gained new functions for checking whether
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering the underlying file system of a journal file is capable of
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering properly reporting file change notifications, or whether
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering applications that want to reflect journal changes "live"
c7683ffb53da4ad4334cc9f813e39cffed7e0d0bEvgeny Vereshchagin need to recheck journal files continuously in appropriate
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering time intervals.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * It is now possible to set the "age" field for tmpfiles
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering entries to 0, indicating that files matching this entry
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering shall always be removed when the directories are cleaned up.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * coredumpctl gained a new "gdb" verb which invokes gdb
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering right-away on the selected coredump.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * There's now support for "hybrid sleep" on kernels that
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering support this, in addition to "suspend" and "hibernate". Use
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering "systemctl hybrid-sleep" to make use of this.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * logind's HandleSuspendKey= setting (and related settings)
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering now gained support for a new "lock" setting to simply
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering request the screen lock on all local sessions, instead of
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering actually executing a suspend or hibernation.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * systemd will now mount the EFI variables file system by
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * Socket units now gained support for configuration of the
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering SMACK security label.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * timedatectl will now output the time of the last and next
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering daylight saving change.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * We dropped support for various legacy and distro-specific
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering concepts, such as insserv, early-boot SysV services
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering (i.e. those for non-standard runlevels such as 'b' or 'S')
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering or ArchLinux /etc/rc.conf support. We recommend the
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering distributions who still need support this to either continue
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering to maintain the necessary patches downstream, or find a
122676c9d9737f8591429fd5ffc9b454a994741dLennart Poettering different solution. (Talk to us if you have questions!)
122676c9d9737f8591429fd5ffc9b454a994741dLennart Poettering * Various systemd components will now bypass PolicyKit checks
122676c9d9737f8591429fd5ffc9b454a994741dLennart Poettering for root and otherwise handle properly if PolicyKit is not
122676c9d9737f8591429fd5ffc9b454a994741dLennart Poettering found to be around. This should fix most issues for
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering PolicyKit-less systems. Quite frankly this should have been
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering this way since day one. It is absolutely our intention to
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering make systemd work fine on PolicyKit-less systems, and we
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering consider it a bug if something doesn't work as it should if
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering PolicyKit is not around.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * For embedded systems it is now possible to build udev and
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering systemd without blkid and/or kmod support.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * "systemctl switch-root" is now capable of switching root
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering more than once. I.e. in addition to transitions from the
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering initrd to the host OS it is now possible to transition to
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering further OS images from the host. This is useful to implement
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering offline updating tools.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * Various other additions have been made to the RPM macros
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering shipped with systemd. Use %udev_rules_update() after
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering installing new udev rules files. %_udevhwdbdir,
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering %_udevrulesdir, %_journalcatalogdir, %_tmpfilesdir,
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering %_sysctldir are now available which resolve to the right
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering directories for packages to place various data files in.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * journalctl gained the new --full switch (in addition to
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering --all, to disable ellipsation for long messages.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Contributions from: Anders Olofsson, Auke Kok, Ben Boeckel,
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Colin Walters, Cosimo Cecchi, Daniel Wallace, Dave Reisner,
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Eelco Dolstra, Holger Hans Peter Freyther, Kay Sievers,
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Chun-Yi Lee, Lekensteyn, Lennart Poettering, Mantas Mikulėnas,
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Marti Raudsepp, Martin Pitt, Mauro Dreissig, Michael Biebl,
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Michal Schmidt, Michal Sekletar, Miklos Vajna, Nis Martensen,
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Oleksii Shevchuk, Olivier Brunel, Ramkumar Ramachandra, Thomas
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Bächler, Thomas Hindoe Paaboel Andersen, Tom Gundersen, Tony
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Camuso, Umut Tezduyar, Zbigniew Jędrzejewski-Szmek
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart PoetteringCHANGES WITH 195:
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * journalctl gained new --since= and --until= switches to
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering filter by time. It also now supports nice filtering for
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering units via --unit=/-u.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * Type=oneshot services may use ExecReload= and do the
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * The journal daemon now supports time-based rotation and
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering vacuuming, in addition to the usual disk-space based
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * The journal will now index the available field values for
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering each field name. This enables clients to show pretty drop
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering downs of available match values when filtering. The bash
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering completion of journalctl has been updated
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering accordingly. journalctl gained a new switch -F to list all
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering values a certain field takes in the journal database.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * More service events are now written as structured messages
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering to the journal, and made recognizable via message IDs.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * The timedated, localed and hostnamed mini-services which
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering previously only provided support for changing time, locale
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering and hostname settings from graphical DEs such as GNOME now
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering also have a minimal (but very useful) text-based client
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering utility each. This is probably the nicest way to changing
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering these settings from the command line now, especially since
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering it lists available options and is fully integrated with bash
d4f5a1f47dbd04f26f2ddf951c97c4cb0ebbbe62David Herrmann * There's now a new tool "systemd-coredumpctl" to list and
d4f5a1f47dbd04f26f2ddf951c97c4cb0ebbbe62David Herrmann extract coredumps from the journal.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * We now install a README each in /var/log/ and
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering /etc/rc.d/init.d explaining where the system logs and init
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering scripts went. This hopefully should help folks who go to
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering that dirs and look into the otherwise now empty void and
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering scratch their heads.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * When user-services are invoked (by systemd --user) the
17c29493dc5c4c3ca886adfdc632d297c5eb06ebRonny Chevalier $MANAGERPID env var is set to the PID of systemd.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * SIGRTMIN+24 when sent to a --user instance will now result
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering in immediate termination of systemd.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * gatewayd received numerous feature additions such as a
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering "follow" mode, for live syncing and filtering.
997b2b438c2d272e3bc8df6e4b42dba3b70cb056Josh Triplett * browse.html now allows filtering and showing detailed
997b2b438c2d272e3bc8df6e4b42dba3b70cb056Josh Triplett information on specific entries. Keyboard navigation and
997b2b438c2d272e3bc8df6e4b42dba3b70cb056Josh Triplett mouse screen support has been added.
997b2b438c2d272e3bc8df6e4b42dba3b70cb056Josh Triplett Server-Sent-Events as output.
997b2b438c2d272e3bc8df6e4b42dba3b70cb056Josh Triplett * The SysV init script compatibility logic will now
997b2b438c2d272e3bc8df6e4b42dba3b70cb056Josh Triplett heuristically determine whether a script supports the
997b2b438c2d272e3bc8df6e4b42dba3b70cb056Josh Triplett "reload" verb, and only then make this available as
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering "systemctl reload".
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * "systemctl status --follow" has been removed, use "journalctl
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * journald.conf's RuntimeMinSize=, PersistentMinSize= settings
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering have been removed since they are hardly useful to be
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * And I'd like to take the opportunity to specifically mention
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Zbigniew for his great contributions. Zbigniew, you rock!
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Contributions from: Andrew Eikum, Christian Hesse, Colin
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Guthrie, Daniel J Walsh, Dave Reisner, Eelco Dolstra, Ferenc
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Wágner, Kay Sievers, Lennart Poettering, Lukas Nykryn, Mantas
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Mikulėnas, Martin Mikkelsen, Martin Pitt, Michael Olbrich,
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Michael Stapelberg, Michal Schmidt, Sebastian Ott, Thomas
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Bächler, Umut Tezduyar, Will Woods, Wulf C. Krueger, Zbigniew
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Jędrzejewski-Szmek, Сковорода Никита Андреевич
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart PoetteringCHANGES WITH 194:
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * If /etc/vconsole.conf is non-existent or empty we will no
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering longer load any console font or key map at boot by
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering default. Instead the kernel defaults will be left
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering intact. This is definitely the right thing to do, as no
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering configuration should mean no configuration, and hard-coding
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering font names that are different on all archs is probably a bad
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering idea. Also, the kernel default key map and font should be
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering good enough for most cases anyway, and mostly identical to
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering the userspace fonts/key maps we previously overloaded them
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering with. If distributions want to continue to default to a
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering non-kernel font or key map they should ship a default
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering /etc/vconsole.conf with the appropriate contents.
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Contributions from: Colin Walters, Daniel J Walsh, Dave
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Reisner, Kay Sievers, Lennart Poettering, Lukas Nykryn, Tollef
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering Fog Heen, Tom Gundersen, Zbigniew Jędrzejewski-Szmek
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart PoetteringCHANGES WITH 193:
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering * journalctl gained a new --cursor= switch to show entries
13e92f3966552091085982f4ebdeb38721f04a30Lennart Poettering starting from the specified location in the journal.
13e92f3966552091085982f4ebdeb38721f04a30Lennart Poettering * We now enforce a size limit on journal entry fields exported
13e92f3966552091085982f4ebdeb38721f04a30Lennart Poettering with "-o json" in journalctl. Fields larger than 4K will be
13e92f3966552091085982f4ebdeb38721f04a30Lennart Poettering assigned null. This can be turned off with --all.
13e92f3966552091085982f4ebdeb38721f04a30Lennart Poettering * An (optional) journal gateway daemon is now available as
13e92f3966552091085982f4ebdeb38721f04a30Lennart Poettering "systemd-journal-gatewayd.service". This service provides
13e92f3966552091085982f4ebdeb38721f04a30Lennart Poettering access to the journal via HTTP and JSON. This functionality
13e92f3966552091085982f4ebdeb38721f04a30Lennart Poettering will be used to implement live log synchronization in both
13e92f3966552091085982f4ebdeb38721f04a30Lennart Poettering pull and push modes, but has various other users too, such
7da81d33c147f4d6397efa1fdd08ba0a40c9c457Lennart Poettering as easy log access for debugging of embedded devices. Right
7da81d33c147f4d6397efa1fdd08ba0a40c9c457Lennart Poettering now it is already useful to retrieve the journal via HTTP:
7da81d33c147f4d6397efa1fdd08ba0a40c9c457Lennart Poettering # systemctl start systemd-journal-gatewayd.service
7da81d33c147f4d6397efa1fdd08ba0a40c9c457Lennart Poettering This will download the journal contents in a
13e92f3966552091085982f4ebdeb38721f04a30Lennart Poettering /var/log/messages compatible format. The same as JSON:
f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1Lennart Poettering # curl -H"Accept: application/json" http://localhost:19531/entries
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek This service is also accessible via a web browser where a
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering single static HTML5 app is served that uses the JSON logic
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering to enable the user to do some basic browsing of the
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering journal. This will be extended later on. Here's an example
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering screenshot of this app in its current state:
a65b82457735df2ef58736a55846f400124a8dc0Zbigniew Jędrzejewski-Szmek http://0pointer.de/public/journal-gatewayd
a65b82457735df2ef58736a55846f400124a8dc0Zbigniew Jędrzejewski-Szmek Contributions from: Kay Sievers, Lennart Poettering, Robert
a65b82457735df2ef58736a55846f400124a8dc0Zbigniew Jędrzejewski-Szmek Milasan, Tom Gundersen
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-SzmekCHANGES WITH 192:
4bdc60cb6fab336d455abbbd269e5bfccf760c91Lennart Poettering * The bash completion logic is now available for journalctl
4bdc60cb6fab336d455abbbd269e5bfccf760c91Lennart Poettering * We don't mount the "cpuset" controller anymore together with
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek "cpu" and "cpuacct", as "cpuset" groups generally cannot be
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering started if no parameters are assigned to it. "cpuset" hence
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering broke code that assumed it it could create "cpu" groups and
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek just start them.
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek * journalctl -f will now subscribe to terminal size changes,
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek and line break accordingly.
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek Contributions from: Dave Reisner, Kay Sievers, Lennart
4ffd29fda1a2621d8f1711ccaad723d327fef93aLennart Poettering Poettering, Lukas Nykrynm, Mirco Tischler, Václav Pavlín
4ffd29fda1a2621d8f1711ccaad723d327fef93aLennart PoetteringCHANGES WITH 191:
4ffd29fda1a2621d8f1711ccaad723d327fef93aLennart Poettering * nspawn will now create a symlink /etc/localtime in the
4ffd29fda1a2621d8f1711ccaad723d327fef93aLennart Poettering container environment, copying the host's timezone
4ffd29fda1a2621d8f1711ccaad723d327fef93aLennart Poettering setting. Previously this has been done via a bind mount, but
4ffd29fda1a2621d8f1711ccaad723d327fef93aLennart Poettering since symlinks cannot be bind mounted this has now been
4ffd29fda1a2621d8f1711ccaad723d327fef93aLennart Poettering changed to create/update the appropriate symlink.
4ffd29fda1a2621d8f1711ccaad723d327fef93aLennart Poettering * journalctl -n's line number argument is now optional, and
4ffd29fda1a2621d8f1711ccaad723d327fef93aLennart Poettering will default to 10 if omitted.
4ffd29fda1a2621d8f1711ccaad723d327fef93aLennart Poettering * journald will now log the maximum size the journal files may
4ffd29fda1a2621d8f1711ccaad723d327fef93aLennart Poettering take up on disk. This is particularly useful if the default
4ffd29fda1a2621d8f1711ccaad723d327fef93aLennart Poettering built-in logic of determining this parameter from the file
4ffd29fda1a2621d8f1711ccaad723d327fef93aLennart Poettering system size is used. Use "systemctl status
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek systemd-journald.service" to see this information.
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek * The multi-seat X wrapper tool has been stripped down. As X
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek is now capable of enumerating graphics devices via udev in a
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek seat-aware way the wrapper is not strictly necessary
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek anymore. A stripped down temporary stop-gap is still shipped
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek until the upstream display managers have been updated to
81c7dd897c6af68e66b58e97abce676641edc197Lennart Poettering fully support the new X logic. Expect this wrapper to be
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek removed entirely in one of the next releases.
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering * HandleSleepKey= in logind.conf has been split up into
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering HandleSuspendKey= and HandleHibernateKey=. The old setting
090771492f155cebe7075171530e96c1cd515d71Lennart Poettering is not available anymore. X11 and the kernel are
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek distuingishing between these keys and we should too. This
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek also means the inhibition lock for these keys has been split
ba8df74bb643c0f7c343fef78bba3661b0f9c31cKay Sievers Contributions from: Dave Airlie, Eelco Dolstra, Lennart
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering Poettering, Lukas Nykryn, Václav Pavlín
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-SzmekCHANGES WITH 190:
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek * Whenever a unit changes state we'll now log this to the
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek journal and show along the unit's own log output in
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek "systemctl status".
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek * ConditionPathIsMountPoint= can now properly detect bind
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek mount points too. (Previously, a bind mount of one file
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering system to another place in the same file system could not be
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek detected as mount, since they shared struct stat's st_dev
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek * We will now mount the cgroup controllers cpu, cpuacct,
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering cpuset and the controllers net_cls, net_prio together by
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek * nspawn containers will now have a virtualized boot
c4ac990007cd0069bb7e76ec15dd731320f382fdLennart Poettering ID. (i.e. /proc/sys/kernel/random/boot_id is now mounted
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek over with a randomized ID at container initialization). This
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek has the effect of making "journalctl -b" do the right thing
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek * The JSON output journal serialization has been updated not
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek to generate "endless" list objects anymore, but rather one
b62a309a47dd11e11729616767421397b6ca7053Zbigniew Jędrzejewski-Szmek JSON object per line. This is more in line how most JSON
ba8df74bb643c0f7c343fef78bba3661b0f9c31cKay Sievers parsers expect JSON objects. The new output mode
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering "json-pretty" has been added to provide similar output, but
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering neatly aligned for readability by humans.
e6c253e363dee77ef7e5c5f44c4ca55cded3fd47Michal Schmidt * We dropped all explicit sync() invocations in the shutdown
e6c253e363dee77ef7e5c5f44c4ca55cded3fd47Michal Schmidt code. The kernel does this implicitly anyway in the kernel
e6c253e363dee77ef7e5c5f44c4ca55cded3fd47Michal Schmidt reboot() syscall. halt(8)'s -n option is now a compatibility
ba8df74bb643c0f7c343fef78bba3661b0f9c31cKay Sievers * We now support virtualized reboot() in containers, as
e6c253e363dee77ef7e5c5f44c4ca55cded3fd47Michal Schmidt supported by newer kernels. We will fall back to exit() if
e6c253e363dee77ef7e5c5f44c4ca55cded3fd47Michal Schmidt CAP_SYS_REBOOT is not available to the container. Also,
e6c253e363dee77ef7e5c5f44c4ca55cded3fd47Michal Schmidt nspawn makes use of this now and will actually reboot the
e6c253e363dee77ef7e5c5f44c4ca55cded3fd47Michal Schmidt container if the containerized OS asks for that.
e6c253e363dee77ef7e5c5f44c4ca55cded3fd47Michal Schmidt * journalctl will only show local log output by default
4bdc60cb6fab336d455abbbd269e5bfccf760c91Lennart Poettering now. Use --merge (-m) to show remote log output, too.
4bdc60cb6fab336d455abbbd269e5bfccf760c91Lennart Poettering * libsystemd-journal gained the new sd_journal_get_usage()
4bdc60cb6fab336d455abbbd269e5bfccf760c91Lennart Poettering call to determine the current disk usage of all journal
4bdc60cb6fab336d455abbbd269e5bfccf760c91Lennart Poettering files. This is exposed in the new "journalctl --disk-usage"
4bdc60cb6fab336d455abbbd269e5bfccf760c91Lennart Poettering * journald gained a new configuration setting SplitMode= in
4bdc60cb6fab336d455abbbd269e5bfccf760c91Lennart Poettering journald.conf which may be used to control how user journals
4bdc60cb6fab336d455abbbd269e5bfccf760c91Lennart Poettering are split off. See journald.conf(5) for details.
4bdc60cb6fab336d455abbbd269e5bfccf760c91Lennart Poettering * A new condition type ConditionFileNotEmpty= has been added.
4bdc60cb6fab336d455abbbd269e5bfccf760c91Lennart Poettering * tmpfiles' "w" lines now support file globbing, to write
4bdc60cb6fab336d455abbbd269e5bfccf760c91Lennart Poettering multiple files at once.
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering * We added Python bindings for the journal submission
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering APIs. More Python APIs for a number of selected APIs will
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering likely follow. Note that we intend to add native bindings
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering only for the Python language, as we consider it common
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering enough to deserve bindings shipped within systemd. There are
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering various projects outside of systemd that provide bindings
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering for languages such as PHP or Lua.
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering * Many conditions will now resolve specifiers such as %i. In
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering addition, PathChanged= and related directives of .path units
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering now support specifiers as well.
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering * There's now a new RPM macro definition for the system preset
d4474c41ca3854db1b7a7b30765bb59fc570e1c4Tom Gundersen dir: %_presetdir.
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering * journald will now warn if it can't forward a message to the
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering syslog daemon because it's socket is full.
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering * timedated will no longer write or process /etc/timezone,
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering except on Debian. As we do not support late mounted /usr
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering anymore /etc/localtime always being a symlink is now safe,
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering and hence the information in /etc/timezone is not necessary
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering * logind will now always reserve one VT for a text getty (VT6
78b6b7ceb2c76a3e29aeaa4b00c257be0706bffcLennart Poettering by default). Previously if more than 6 X sessions where
3769415e6573da64fb80e31f4bb3f850cd99031eTimofey Titovets started they took up all the VTs with auto-spawned gettys,
3769415e6573da64fb80e31f4bb3f850cd99031eTimofey Titovets so that no text gettys were available anymore.
3769415e6573da64fb80e31f4bb3f850cd99031eTimofey Titovets * udev will now automatically inform the btrfs kernel logic
3769415e6573da64fb80e31f4bb3f850cd99031eTimofey Titovets about btrfs RAID components showing up. This should make
3769415e6573da64fb80e31f4bb3f850cd99031eTimofey Titovets simple hotplug based btrfs RAID assembly work.
fae9332b140ffa3c1b04c80ac4cd3f2796e8cf3cLennart Poettering * PID 1 will now increase its RLIMIT_NOFILE to 64K by default
fae9332b140ffa3c1b04c80ac4cd3f2796e8cf3cLennart Poettering (but not for its children which will stay at the kernel
fae9332b140ffa3c1b04c80ac4cd3f2796e8cf3cLennart Poettering default). This should allow setups with a lot more listening
fae9332b140ffa3c1b04c80ac4cd3f2796e8cf3cLennart Poettering * systemd will now always pass the configured timezone to the
cfa1571b7f5a45927f76e54790974183a273d17aLennart Poettering kernel at boot. timedated will do the same when the timezone
cfa1571b7f5a45927f76e54790974183a273d17aLennart Poettering * logind's inhibition logic has been updated. By default,
cfa1571b7f5a45927f76e54790974183a273d17aLennart Poettering logind will now handle the lid switch, the power and sleep
cfa1571b7f5a45927f76e54790974183a273d17aLennart Poettering keys all the time, even in graphical sessions. If DEs want
cfa1571b7f5a45927f76e54790974183a273d17aLennart Poettering to handle these events on their own they should take the new
cfa1571b7f5a45927f76e54790974183a273d17aLennart Poettering handle-power-key, handle-sleep-key and handle-lid-switch
7e63dd1015c9ac6fc2042e45b0a87a3f9f8b9336Lennart Poettering inhibitors during their runtime. A simple way to achiveve
7e63dd1015c9ac6fc2042e45b0a87a3f9f8b9336Lennart Poettering that is to invoke the DE wrapped in an invocation of:
7e63dd1015c9ac6fc2042e45b0a87a3f9f8b9336Lennart Poettering systemd-inhibit --what=handle-power-key:handle-sleep-key:handle-lid-switch ...
d4474c41ca3854db1b7a7b30765bb59fc570e1c4Tom Gundersen * Access to unit operations is now checked via SELinux taking
d4474c41ca3854db1b7a7b30765bb59fc570e1c4Tom Gundersen the unit file label and client process label into account.
d4474c41ca3854db1b7a7b30765bb59fc570e1c4Tom Gundersen * systemd will now notify the administrator in the journal
d4474c41ca3854db1b7a7b30765bb59fc570e1c4Tom Gundersen when he over-mounts a non-empty directory.
3b187c5cee0a9584d7c31e10f9fe008b94cf6d58Lennart Poettering * There are new specifiers that are resolved in unit files,
3b187c5cee0a9584d7c31e10f9fe008b94cf6d58Lennart Poettering for the host name (%H), the machine ID (%m) and the boot ID
3b187c5cee0a9584d7c31e10f9fe008b94cf6d58Lennart Poettering Contributions from: Allin Cottrell, Auke Kok, Brandon Philips,
3b187c5cee0a9584d7c31e10f9fe008b94cf6d58Lennart Poettering Colin Guthrie, Colin Walters, Daniel J Walsh, Dave Reisner,
3b187c5cee0a9584d7c31e10f9fe008b94cf6d58Lennart Poettering Eelco Dolstra, Jan Engelhardt, Kay Sievers, Lennart
3b187c5cee0a9584d7c31e10f9fe008b94cf6d58Lennart Poettering Poettering, Lucas De Marchi, Lukas Nykryn, Mantas Mikulėnas,
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering Martin Pitt, Matthias Clasen, Michael Olbrich, Pierre Schmitz,
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering Shawn Landden, Thomas Hindoe Paaboel Andersen, Tom Gundersen,
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering Václav Pavlín, Yin Kangkai, Zbigniew Jędrzejewski-Szmek
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart PoetteringCHANGES WITH 189:
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering * Support for reading structured kernel messages from
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering /dev/kmsg has now been added and is enabled by default.
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering * Support for reading kernel messages from /proc/kmsg has now
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering been removed. If you want kernel messages in the journal
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering make sure to run a recent kernel (>= 3.5) that supports
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering reading structured messages from /dev/kmsg (see
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering above). /proc/kmsg is now exclusive property of classic
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering syslog daemons again.
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering * The libudev API gained the new
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering udev_device_new_from_device_id() call.
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering * The logic for file system namespace (ReadOnlyDirectory=,
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering ReadWriteDirectoy=, PrivateTmp=) has been reworked not to
13e92f3966552091085982f4ebdeb38721f04a30Lennart Poettering require pivot_root() anymore. This means fewer temporary
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering directories are created below /tmp for this feature.
4b08dd87eebb4b634bdd5708ac1ba68dcee205b3Lennart Poettering * nspawn containers will now see and receive all submounts
b72ddf0f4f552dd53d6404b6ddbc9f17d02b8e12Kay Sievers made on the host OS below the root file system of the
b72ddf0f4f552dd53d6404b6ddbc9f17d02b8e12Kay Sievers * Forward Secure Sealing is now supported for Journal files,
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering which provide cryptographical sealing of journal files so
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering that attackers cannot alter log history anymore without this
b72ddf0f4f552dd53d6404b6ddbc9f17d02b8e12Kay Sievers being detectable. Lennart will soon post a blog story about
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering this explaining it in more detail.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * There are two new service settings RestartPreventExitStatus=
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering and SuccessExitStatus= which allow configuration of exit
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering status (exit code or signal) which will be excepted from the
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering restart logic, resp. consider successful.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * journalctl gained the new --verify switch that can be used
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering to check the integrity of the structure of journal files and
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering (if Forward Secure Sealing is enabled) the contents of
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering journal files.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * nspawn containers will now be run with /dev/stdin, /dev/fd/
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering and similar symlinks pre-created. This makes running shells
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering as container init process a lot more fun.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * The fstab support can now handle PARTUUID= and PARTLABEL=
5f02e26ca7c039837dbaea63f3d3664fe45c26b9Thomas Hindoe Paaboel Andersen * A new ConditionHost= condition has been added to match
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering against the hostname (with globs) and machine ID. This is
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering useful for clusters where a single OS image is used to
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering provision a large number of hosts which shall run slightly
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering different sets of services.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * Services which hit the restart limit will now be placed in a
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering failure state.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering Contributions from: Bertram Poettering, Dave Reisner, Huang
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering Hang, Kay Sievers, Lennart Poettering, Lukas Nykryn, Martin
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering Pitt, Simon Peeters, Zbigniew Jędrzejewski-Szmek
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart PoetteringCHANGES WITH 188:
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * When running in --user mode systemd will now become a
daa05349dfefb12638c96e034c11be613bdc39b7Ansgar Burchardt subreaper (PR_SET_CHILD_SUBREAPER). This should make the ps
daa05349dfefb12638c96e034c11be613bdc39b7Ansgar Burchardt tree a lot more organized.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * A new PartOf= unit dependency type has been introduced that
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering may be used to group services in a natural way.
5f02e26ca7c039837dbaea63f3d3664fe45c26b9Thomas Hindoe Paaboel Andersen * "systemctl enable" may now be used to enable instances of
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * journalctl now prints error log levels in red, and
a1a4a25e7f6b515d0c8c25257714299853f261aaDaniel Mack warning/notice log levels in bright white. It also supports
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering filtering by log level now.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * cgtop gained a new -n switch (similar to top), to configure
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering the maximum number of iterations to run for. It also gained
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering -b, to run in batch mode (accepting no input).
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * The suffix ".service" may now be omitted on most systemctl
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering command lines involving service unit names.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * There's a new bus call in logind to lock all sessions, as
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering well as a loginctl verb for it "lock-sessions".
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * libsystemd-logind.so gained a new call sd_journal_perror()
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering that works similar to libc perror() but logs to the journal
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering and encodes structured information about the error number.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * /etc/crypttab entries now understand the new keyfile-size=
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * shutdown(8) now can send a (configurable) wall message when
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering a shutdown is cancelled.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * The mount propagation mode for the root file system will now
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering default to "shared", which is useful to make containers work
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering nicely out-of-the-box so that they receive new mounts from
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering the host. This can be undone locally by running "mount
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering --make-rprivate /" if needed.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * The prefdm.service file has been removed. Distributions
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering should maintain this unit downstream if they intend to keep
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering it around. However, we recommend writing normal unit files
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering for display managers instead.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * Since systemd is a crucial part of the OS we will now
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering default to a number of compiler switches that improve
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering security (hardening) such as read-only relocations, stack
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering protection, and suchlike.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * The TimeoutSec= setting for services is now split into
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering TimeoutStartSec= and TimeoutStopSec= to allow configuration
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering of individual time outs for the start and the stop phase of
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering Contributions from: Artur Zaprzala, Arvydas Sidorenko, Auke
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering Kok, Bryan Kadzban, Dave Reisner, David Strauss, Harald Hoyer,
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering Jim Meyering, Kay Sievers, Lennart Poettering, Mantas
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering Mikulėnas, Martin Pitt, Michal Schmidt, Michal Sekletar, Peter
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering Alfredsen, Shawn Landden, Simon Peeters, Terence Honles, Tom
01da80b1aa0e21f8785d467afc295e37fd00ffa1Lennart Poettering Gundersen, Zbigniew Jędrzejewski-Szmek
01da80b1aa0e21f8785d467afc295e37fd00ffa1Lennart PoetteringCHANGES WITH 187:
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * The journal and id128 C APIs are now fully documented as man
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * Extra safety checks have been added when transitioning from
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering the initial RAM disk to the main system to avoid accidental
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * /etc/crypttab entries now understand the new keyfile-offset=
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * systemctl -t can now be used to filter by unit load state.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * The journal C API gained the new sd_journal_wait() call to
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering make writing synchronous journal clients easier.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * journalctl gained the new -D switch to show journals from a
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering specific directory.
265684034fac5f2674723ab7ace55b2485a1b29fTom Gundersen * journalctl now displays a special marker between log
265684034fac5f2674723ab7ace55b2485a1b29fTom Gundersen messages of two different boots.
265684034fac5f2674723ab7ace55b2485a1b29fTom Gundersen * The journal is now explicitly flushed to /var via a service
265684034fac5f2674723ab7ace55b2485a1b29fTom Gundersen systemd-journal-flush.service, rather than implicitly simply
265684034fac5f2674723ab7ace55b2485a1b29fTom Gundersen by seeing /var/log/journal to be writable.
265684034fac5f2674723ab7ace55b2485a1b29fTom Gundersen * journalctl (and the journal C APIs) can now match for much
265684034fac5f2674723ab7ace55b2485a1b29fTom Gundersen more complex expressions, with alternatives and
265684034fac5f2674723ab7ace55b2485a1b29fTom Gundersen disjunctions.
265684034fac5f2674723ab7ace55b2485a1b29fTom Gundersen * When transitioning from the initial RAM disk to the main
265684034fac5f2674723ab7ace55b2485a1b29fTom Gundersen system we will now kill all processes in a killing spree to
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering ensure no processes stay around by accident.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * Three new specifiers may be used in unit files: %u, %h, %s
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering resolve to the user name, user home directory resp. user
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering shell. This is useful for running systemd user instances.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * We now automatically rotate journal files if their data
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering object hash table gets a fill level > 75%. We also size the
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering hash table based on the configured maximum file size. This
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering together should lower hash collisions drastically and thus
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering speed things up a bit.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * journalctl gained the new "--header" switch to introspect
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering header data of journal files.
5f02e26ca7c039837dbaea63f3d3664fe45c26b9Thomas Hindoe Paaboel Andersen * A new setting SystemCallFilters= has been added to services
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering which may be used to apply blacklists or whitelists to
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering system calls. This is based on SECCOMP Mode 2 of Linux 3.5.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * nspawn gained a new --link-journal= switch (and quicker: -j)
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering to link the container journal with the host. This makes it
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering very easy to centralize log viewing on the host for all
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering guests while still keeping the journal files separated.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * Many bugfixes and optimizations
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering Contributions from: Auke Kok, Eelco Dolstra, Harald Hoyer, Kay
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering Sievers, Lennart Poettering, Malte Starostik, Paul Menzel, Rex
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering Tsai, Shawn Landden, Tom Gundersen, Ville Skyttä, Zbigniew
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering Jędrzejewski-Szmek
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart PoetteringCHANGES WITH 186:
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * Several tools now understand kernel command line arguments,
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering which are only read when run in an initial RAM disk. They
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering usually follow closely their normal counterparts, but are
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering prefixed with rd.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * There's a new tool to analyze the readahead files that are
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering automatically generated at boot. Use:
01da80b1aa0e21f8785d467afc295e37fd00ffa1Lennart Poettering /usr/lib/systemd/systemd-readahead analyze /.readahead
01da80b1aa0e21f8785d467afc295e37fd00ffa1Lennart Poettering * We now provide an early debug shell on tty9 if this enabled. Use:
01da80b1aa0e21f8785d467afc295e37fd00ffa1Lennart Poettering * All plymouth related units have been moved into the Plymouth
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering package. Please make sure to upgrade your Plymouth version
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * systemd-tmpfiles now supports getting passed the basename of
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering a configuration file only, in which case it will look for it
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering in all appropriate directories automatically.
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * udevadm info now takes a /dev or /sys path as argument, and
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering does the right thing. Example:
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering * systemctl now prints a warning if a unit is stopped but a
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering unit that might trigger it continues to run. Example: a
b2ca0d63277b10c9382d5bcfcdf320dbb712511bLennart Poettering service is stopped but the socket that activates it is left
3dff3e00e044e2d53c76fa842b9a4759d4a50e69Kay Sievers * "systemctl status" will now mention if the log output was
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering shortened due to rotation since a service has been started.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * The journal API now exposes functions to determine the
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering "cutoff" times due to rotation.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * journald now understands SIGUSR1 and SIGUSR2 for triggering
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering immediately flushing of runtime logs to /var if possible,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering resp. for triggering immediate rotation of the journal
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * It is now considered an error if a service is attempted to
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering be stopped that is not loaded.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * XDG_RUNTIME_DIR now uses numeric UIDs instead of usernames.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * systemd-analyze now supports Python 3
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * tmpfiles now supports cleaning up directories via aging
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering where the first level dirs are always kept around but
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering directories beneath it automatically aged. This is enabled
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering by prefixing the age field with '~'.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * Seat objects now expose CanGraphical, CanTTY properties
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering which is required to deal with very fast bootups where the
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering display manager might be running before the graphics drivers
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering completed initialization.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * Seat objects now expose a State property.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * We now include RPM macros for service enabling/disabling
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering based on the preset logic. We recommend RPM based
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering distributions to make use of these macros if possible. This
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering makes it simpler to reuse RPM spec files across
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering distributions.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * We now make sure that the collected systemd unit name is
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering always valid when services log to the journal via
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * There's a new man page kernel-command-line(7) detailing all
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering command line options we understand.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * The fstab generator may now be disabled at boot by passing
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering fstab=0 on the kernel command line.
3dff3e00e044e2d53c76fa842b9a4759d4a50e69Kay Sievers * A new kernel command line option modules-load= is now understood
3dff3e00e044e2d53c76fa842b9a4759d4a50e69Kay Sievers to load a specific kernel module statically, early at boot.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * Unit names specified on the systemctl command line are now
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering automatically escaped as needed. Also, if file system or
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering device paths are specified they are automatically turned
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering into the appropriate mount or device unit names. Example:
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering systemctl status /home
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering systemctl status /dev/sda
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * The SysVConsole= configuration option has been removed from
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * The SysV search path is no longer exported on the D-Bus
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Manager object.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * The Names= option is been removed from unit file parsing.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * There's a new man page bootup(7) detailing the boot process.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * Every unit and every generator we ship with systemd now
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering comes with full documentation. The self-explanatory boot is
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * A couple of services gained "systemd-" prefixes in their
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering name if they wrap systemd code, rather than only external
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering code. Among them fsck@.service which is now
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering systemd-fsck@.service.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * The HaveWatchdog property has been removed from the D-Bus
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Manager object.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * systemd.confirm_spawn= on the kernel command line should now
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering work sensibly.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * There's a new man page crypttab(5) which details all options
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering we actually understand.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * systemd-nspawn gained a new --capability= switch to pass
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering additional capabilities to the container.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * timedated will now read known NTP implementation unit names
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering from /usr/lib/systemd/ntp-units.d/*.list,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering systemd-timedated-ntp.target has been removed.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * journalctl gained a new switch "-b" that lists log data of
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering the current boot only.
ce1dde29b92d1399ce502e0f7db790a99d14841fThomas Hindoe Paaboel Andersen * The notify socket is in the abstract namespace again, in
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering order to support daemons which chroot() at start-up.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * There is a new Storage= configuration option for journald
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering which allows configuration of where log data should go. This
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering also provides a way to disable journal logging entirely, so
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering that data collected is only forwarded to the console, the
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering kernel log buffer or another syslog implementation.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * Many bugfixes and optimizations
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Contributions from: Auke Kok, Colin Guthrie, Dave Reisner,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering David Strauss, Eelco Dolstra, Kay Sievers, Lennart Poettering,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Lukas Nykryn, Michal Schmidt, Michal Sekletar, Paul Menzel,
ce1dde29b92d1399ce502e0f7db790a99d14841fThomas Hindoe Paaboel Andersen Shawn Landden, Tom Gundersen
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart PoetteringCHANGES WITH 185:
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * "systemctl help <unit>" now shows the man page if one is
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * Several new man pages have been added.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * MaxLevelStore=, MaxLevelSyslog=, MaxLevelKMsg=,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering MaxLevelConsole= can now be specified in
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering journald.conf. These options allow reducing the amount of
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering data stored on disk or forwarded by the log level.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * TimerSlackNSec= can now be specified in system.conf for
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering PID1. This allows system-wide power savings.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Contributions from: Dave Reisner, Kay Sievers, Lauri Kasanen,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Lennart Poettering, Malte Starostik, Marc-Antoine Perennou,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Matthias Clasen
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart PoetteringCHANGES WITH 184:
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * logind is now capable of (optionally) handling power and
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering sleep keys as well as the lid switch.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * journalctl now understands the syntax "journalctl
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering /usr/bin/avahi-daemon" to get all log output of a specific
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * CapabilityBoundingSet= in system.conf now also influences
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering the capability bound set of usermode helpers of the kernel.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Contributions from: Daniel Drake, Daniel J. Walsh, Gert
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Michael Kulyk, Harald Hoyer, Jean Delvare, Kay Sievers,
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Lennart Poettering, Matthew Garrett, Matthias Clasen, Paul
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering Menzel, Shawn Landden, Tero Roponen, Tom Gundersen
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart PoetteringCHANGES WITH 183:
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * Note that we skipped 139 releases here in order to set the
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering new version to something that is greater than both udev's
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering and systemd's most recent version number.
ce1dde29b92d1399ce502e0f7db790a99d14841fThomas Hindoe Paaboel Andersen * udev: all udev sources are merged into the systemd source tree now.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering All future udev development will happen in the systemd tree. It
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering is still fully supported to use the udev daemon and tools without
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering systemd running, like in initramfs or other init systems. Building
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering udev though, will require the *build* of the systemd tree, but
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering udev can be properly *run* without systemd.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * udev: /lib/udev/devices/ are not read anymore; systemd-tmpfiles
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering should be used to create dead device nodes as workarounds for broken
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * udev: RUN+="socket:..." and udev_monitor_new_from_socket() is
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering no longer supported. udev_monitor_new_from_netlink() needs to be
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering used to subscribe to events.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * udev: when udevd is started by systemd, processes which are left
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering behind by forking them off of udev rules, are unconditionally cleaned
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering up and killed now after the event handling has finished. Services or
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering daemons must be started as systemd services. Services can be
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering pulled-in by udev to get started, but they can no longer be directly
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering forked by udev rules.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * udev: the daemon binary is called systemd-udevd now and installed
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering in /usr/lib/systemd/. Standalone builds or non-systemd systems need
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering to adapt to that, create symlink, or rename the binary after building
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * libudev no longer provides these symbols:
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering udev_monitor_from_socket()
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering udev_queue_get_failed_list_entry()
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering udev_get_{dev,sys,run}_path()
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering The versions number was bumped and symbol versioning introduced.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * systemd-loginctl and systemd-journalctl have been renamed
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering to loginctl and journalctl to match systemctl.
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering * The config files: /etc/systemd/systemd-logind.conf and
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering /etc/systemd/systemd-journald.conf have been renamed to
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering logind.conf and journald.conf. Package updates should rename
24a2bf4c9b0917231dd4f9b4289eabd46c382d3fLennart Poettering the files to the new names on upgrade.
3058e017fced6d5c8712e10c8c1477421bc1e960Thadeu Lima de Souza Cascardo * For almost all files the license is now LGPL2.1+, changed
3058e017fced6d5c8712e10c8c1477421bc1e960Thadeu Lima de Souza Cascardo from the previous GPL2.0+. Exceptions are some minor stuff
3058e017fced6d5c8712e10c8c1477421bc1e960Thadeu Lima de Souza Cascardo of udev (which will be changed to LGPL2.1 eventually, too),
3058e017fced6d5c8712e10c8c1477421bc1e960Thadeu Lima de Souza Cascardo and the MIT licensed sd-daemon.[ch] library that is suitable
3058e017fced6d5c8712e10c8c1477421bc1e960Thadeu Lima de Souza Cascardo to be used as drop-in files.
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * systemd and logind now handle system sleep states, in
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering particular suspending and hibernating.
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * logind now implements a sleep/shutdown/idle inhibiting logic
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering suitable for a variety of uses. Soonishly Lennart will blog
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering about this in more detail.
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * var-run.mount and var-lock.mount are no longer provided
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering (which prevously bind mounted these directories to their new
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering places). Distributions which have not converted these
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering directories to symlinks should consider stealing these files
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering from git history and add them downstream.
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * We introduced the Documentation= field for units and added
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering this to all our shipped units. This is useful to make it
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering easier to explore the boot and the purpose of the various
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * All smaller setup units (such as
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering systemd-vconsole-setup.service) now detect properly if they
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering are run in a container and are skipped when
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering appropriate. This guarantees an entirely noise-free boot in
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering Linux container environments such as systemd-nspawn.
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * A framework for implementing offline system updates is now
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering integrated, for details see:
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering http://freedesktop.org/wiki/Software/systemd/SystemUpdates
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * A new service type Type=idle is available now which helps us
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering avoiding ugly interleaving of getty output and boot status
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering * There's now a system-wide CapabilityBoundingSet= option to
c7435cc9115f5c8166433fd5ece028c06360ecd1Lennart Poettering globally reduce the set of capabilities for the
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers system. This is useful to drop CAP_SYS_MKNOD, CAP_SYS_RAWIO,
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers CAP_NET_RAW, CAP_SYS_MODULE, CAP_SYS_TIME, CAP_SYS_PTRACE or
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers even CAP_NET_ADMIN system-wide for secure systems.
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers * There are now system-wide DefaultLimitXXX= options to
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers globally change the defaults of the various resource limits
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers for all units started by PID 1.
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers * Harald Hoyer's systemd test suite has been integrated into
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers systemd which allows easy testing of systemd builds in qemu
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers and nspawn. (This is really awesome! Ask us for details!)
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt * The fstab parser is now implemented as generator, not inside
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers of PID 1 anymore.
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers * systemctl will now warn you if .mount units generated from
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers /etc/fstab are out of date due to changes in fstab that
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering haven't been read by systemd yet.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * systemd is now suitable for usage in initrds. Dracut has
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering already been updated to make use of this. With this in place
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering initrds get a slight bit faster but primarily are much
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering easier to introspect and debug since "systemctl status" in
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering the host system can be used to introspect initrd services,
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt and the journal from the initrd is kept around too.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * systemd-delta has been added, a tool to explore differences
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering between user/admin configuration and vendor defaults.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * PrivateTmp= now affects both /tmp and /var/tmp.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Boot time status messages are now much prettier and feature
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering proper english language. Booting up systemd has never been
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Read-ahead pack files now include the inode number of all
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering files to pre-cache. When the inode changes the pre-caching
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering is not attempted. This should be nicer to deal with updated
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering packages which might result in changes of read-ahead
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * We now temporaritly lower the kernel's read_ahead_kb variable
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering when collecting read-ahead data to ensure the kernel's
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering built-in read-ahead does not add noise to our measurements
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering of necessary blocks to pre-cache.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * There's now RequiresMountsFor= to add automatic dependencies
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering for all mounts necessary for a specific file system path.
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt * MountAuto= and SwapAuto= have been removed from
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering system.conf. Mounting file systems at boot has to take place
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering in systemd now.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * nspawn now learned a new switch --uuid= to set the machine
cd14eda3212f9109c98a77cd5fee4168010d80daLennart Poettering ID on the command line.
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt * nspawn now learned the -b switch to automatically search
cd14eda3212f9109c98a77cd5fee4168010d80daLennart Poettering for an init system.
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt * vt102 is now the default TERM for serial TTYs, upgraded from
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * systemd-logind now works on VT-less systems.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * The build tree has been reorganized. The individual
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering components now have directories of their own.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * A new condition type ConditionPathIsReadWrite= is now available.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * nspawn learned the new -C switch to create cgroups for the
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering container in other hierarchies.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * We now have support for hardware watchdogs, configurable in
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * The scheduled shutdown logic now has a public API.
45df8656ebb1b0559a75993d1508fc61c2d39829Jan Engelhardt * We now mount /tmp as tmpfs by default, but this can be
71449cafa1f3aecad6fc755ae5e571eddf0bbd02Kay Sievers masked and /etc/fstab can override it.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Since udisks doesn't make use of /media anymore we are not
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering mounting a tmpfs on it anymore.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * journalctl gained a new --local switch to only interleave
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering locally generated journal files.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * We can now load the IMA policy at boot automatically.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * The GTK tools have been split off into a systemd-ui.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Contributions from: Andreas Schwab, Auke Kok, Ayan George,
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Colin Guthrie, Daniel Mack, Dave Reisner, David Ward, Elan
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Ruusamäe, Frederic Crozat, Gergely Nagy, Guillermo Vidal,
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Hannes Reinecke, Harald Hoyer, Javier Jardón, Kay Sievers,
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Lennart Poettering, Lucas De Marchi, Léo Gillot-Lamure,
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Marc-Antoine Perennou, Martin Pitt, Matthew Monaco, Maxim
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering A. Mikityanskiy, Michael Biebl, Michael Olbrich, Michal
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Schmidt, Nis Martensen, Patrick McCarty, Roberto Sassu, Shawn
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Landden, Sjoerd Simons, Sven Anders, Tollef Fog Heen, Tom
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart PoetteringCHANGES WITH 44:
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * This is mostly a bugfix release
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Support optional initialization of the machine ID from the
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering KVM or container configured UUID.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Support immediate reboots with "systemctl reboot -ff"
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Show /etc/os-release data in systemd-analyze output
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Many bugfixes for the journal, including endianness fixes and
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering ensuring that disk space enforcement works
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * sd-login.h is C++ comptaible again
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Extend the /etc/os-release format on request of the Debian
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * We now refuse non-UTF8 strings used in various configuration
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering and unit files. This is done to ensure we don't pass invalid
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering data over D-Bus or expose it elsewhere.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Register Mimo USB Screens as suitable for automatic seat
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Read SELinux client context from journal clients in a race
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Reorder configuration file lookup order. /etc now always
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering overrides /run in order to allow the administrator to always
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering and unconditionally override vendor supplied or
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering automatically generated data.
cc98b3025eeb89addb76a27390cb2baca4eab8b9Torstein Husebø * The various user visible bits of the journal now have man
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering pages. We still lack man pages for the journal API calls
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * We now ship all man pages in HTML format again in the
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Contributions from: Dave Reisner, Dirk Eibach, Frederic
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Crozat, Harald Hoyer, Kay Sievers, Lennart Poettering, Marti
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Raudsepp, Michal Schmidt, Shawn Landden, Tero Roponen, Thierry
8d0e0ddda6501479eb69164687c83c1a7667b33aJan EngelhardtCHANGES WITH 43:
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * This is mostly a bugfix release
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * systems lacking /etc/os-release are no longer supported.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Various functionality updates to libsystemd-login.so
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt * Track class of PAM logins to distuingish greeters from
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering normal user logins.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering Contributions from: Kay Sievers, Lennart Poettering, Michael
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart PoetteringCHANGES WITH 42:
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * This is an important bugfix release for v41.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Building man pages is now optional which should be useful
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering for those building systemd from git but unwilling to install
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Watchdog support for supervising services is now usable. In
daa05349dfefb12638c96e034c11be613bdc39b7Ansgar Burchardt a future release support for hardware watchdogs
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt (i.e. /dev/watchdog) will be added building on this.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * Service start rate limiting is now configurable and can be
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering turned off per service. When a start rate limit is hit a
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering reboot can automatically be triggered.
04e91da2cfdfb7153218be7a77c885f1c23d3fd7Lennart Poettering * New CanReboot(), CanPowerOff() bus calls in systemd-logind.
4c0d13bdd5ef971a3003899064af1717c8960beeLennart Poettering Contributions from: Benjamin Franzke, Bill Nottingham,
4c0d13bdd5ef971a3003899064af1717c8960beeLennart Poettering Frederic Crozat, Lennart Poettering, Michael Olbrich, Michal
4c0d13bdd5ef971a3003899064af1717c8960beeLennart Poettering Schmidt, Michał Górny, Piotr Drąg
4c0d13bdd5ef971a3003899064af1717c8960beeLennart PoetteringCHANGES WITH 41:
dc1d6c02fcf55bb7dac918d0ed3bd3e2a3d67525Lennart Poettering * The systemd binary is installed /usr/lib/systemd/systemd now;
dc1d6c02fcf55bb7dac918d0ed3bd3e2a3d67525Lennart Poettering An existing /sbin/init symlink needs to be adapted with the
dc1d6c02fcf55bb7dac918d0ed3bd3e2a3d67525Lennart Poettering package update.
dc1d6c02fcf55bb7dac918d0ed3bd3e2a3d67525Lennart Poettering * The code that loads kernel modules has been ported to invoke
dc1d6c02fcf55bb7dac918d0ed3bd3e2a3d67525Lennart Poettering libkmod directly, instead of modprobe. This means we do not
dc1d6c02fcf55bb7dac918d0ed3bd3e2a3d67525Lennart Poettering support systems with module-init-tools anymore.
dc1d6c02fcf55bb7dac918d0ed3bd3e2a3d67525Lennart Poettering * Watchdog support is now already useful, but still not
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * A new kernel command line option systemd.setenv= is
69beda1f75070b36d0562e4050cd567bf2da5a87Kay Sievers understood to set system wide environment variables
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering dynamically at boot.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * We now limit the set of capabilities of systemd-journald.
c9679c652b3c31f2510e8805d81630680ebc7e95Lennart Poettering * We now set SIGPIPE to ignore by default, since it only is
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering useful in shell pipelines, and has little use in general
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt code. This can be disabled with IgnoreSIPIPE=no in unit
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering Contributions from: Benjamin Franzke, Kay Sievers, Lennart
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering Poettering, Michael Olbrich, Michal Schmidt, Tom Gundersen,
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering William Douglas
69beda1f75070b36d0562e4050cd567bf2da5a87Kay SieversCHANGES WITH 40:
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt * This is mostly a bugfix release
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt * We now expose the reason why a service failed in the
c9679c652b3c31f2510e8805d81630680ebc7e95Lennart Poettering "Result" D-Bus property.
69beda1f75070b36d0562e4050cd567bf2da5a87Kay Sievers * Rudimentary service watchdog support (will be completed over
69beda1f75070b36d0562e4050cd567bf2da5a87Kay Sievers the next few releases.)
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * When systemd forks off in order execute some service we will
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering now immediately changes its argv[0] to reflect which process
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering it will execute. This is useful to minimize the time window
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering with a generic argv[0], which makes bootcharts more useful
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek Contributions from: Alvaro Soliverez, Chris Paulson-Ellis, Kay
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering Sievers, Lennart Poettering, Michael Olbrich, Michal Schmidt,
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering Mike Kazantsev, Ray Strode
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * This is mostly a test release, but incorporates many
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt * New systemd-cgtop tool to show control groups by their
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering resource usage.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * Linking against libacl for ACLs is optional again. If
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering disabled, support tracking device access for active logins
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek goes becomes unavailable, and so does access to the user
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek journals by the respective users.
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek * If a group "adm" exists, journal files are automatically
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering owned by them, thus allow members of this group full access
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering to the system journal as well as all user journals.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * The journal now stores the SELinux context of the logging
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering client for all entries.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * Add C++ inclusion guards to all public headers
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * New output mode "cat" in the journal to print only text
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering messages, without any meta data like date or time.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * Include tiny X server wrapper as a temporary stop-gap to
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering teach XOrg udev display enumeration. This is used by display
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering managers such as gdm, and will go away as soon as XOrg
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering learned native udev hotplugging for display devices.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * Add new systemd-cat tool for executing arbitrary programs
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering with STDERR/STDOUT connected to the journal. Can also act as
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering BSD logger replacement, and does so by default.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * Optionally store all locally generated coredumps in the
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering journal along with meta data.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * systemd-tmpfiles learnt four new commands: n, L, c, b, for
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering writing short strings to files (for usage for /sys), and for
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering creating symlinks, character and block device nodes.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * New unit file option ControlGroupPersistent= to make cgroups
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering persistent, following the mechanisms outlined in
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering http://www.freedesktop.org/wiki/Software/systemd/PaxControlGroups
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * Support multiple local RTCs in a sane way
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * No longer monopolize IO when replaying readahead data on
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering rotating disks, since we might starve non-file-system IO to
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering death, since fanotify() will not see accesses done by blkid,
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * Don't show kernel threads in systemd-cgls anymore, unless
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering requested with new -k switch.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering Contributions from: Dan Horák, Kay Sievers, Lennart
68dd0956ef9d607e6ff9aea15883a2c290a33c2aTom Gundersen Poettering, Michal Schmidt
68dd0956ef9d607e6ff9aea15883a2c290a33c2aTom GundersenCHANGES WITH 38:
68dd0956ef9d607e6ff9aea15883a2c290a33c2aTom Gundersen * This is mostly a test release, but incorporates many
499b604b21c02ee64c8590a76d7900d64d7a5cb7Zbigniew Jędrzejewski-Szmek * The git repository moved to:
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering git://anongit.freedesktop.org/systemd/systemd
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * First release with the journal
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering http://0pointer.de/blog/projects/the-journal.html
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering * The journal replaces both systemd-kmsg-syslogd and
8d0e0ddda6501479eb69164687c83c1a7667b33aJan Engelhardt systemd-stdout-bridge.
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering * New sd_pid_get_unit() API call in libsystemd-logind
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering * Many systemadm clean-ups
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * Introduce remote-fs-pre.target which is ordered before all
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering remote mounts and may be used to start services before all
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering remote mounts.
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * Added Mageia support
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering * Add bash completion for systemd-loginctl
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering * Actively monitor PID file creation for daemons which exit in
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering the parent process before having finished writing the PID
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering file in the daemon process. Daemons which do this need to be
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering fixed (i.e. PID file creation must have finished before the
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering parent exits), but we now react a bit more gracefully to them.
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering * Add colourful boot output, mimicking the well-known output
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering of existing distributions.
8e7acf67b278e47cff0f849780365f8b1a824189Lennart Poettering * New option PassCredentials= for socket units, for
6936cd8926b6935364874b3701e86fe823e8c4ceLennart Poettering compatibility with a recent kernel ABI breakage.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * /etc/rc.local is now hooked in via a generator binary, and
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering thus will no longer act as synchronization point during
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * systemctl list-unit-files now supports --root=.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * systemd-tmpfiles now understands two new commands: z, Z for
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering relabelling files according to the SELinux database. This is
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering useful to apply SELinux labels to specific files in /sys,
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering among other things.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * Output of SysV services is now forwarded to both the console
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering and the journal by default, not only just the console.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * New man pages for all APIs from libsystemd-login.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * The build tree got reorganized and a the build system is a
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering lot more modular allowing embedded setups to specifically
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering select the components of systemd they are interested in.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * Support for Linux systems lacking the kernel VT subsystem is
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * configure's --with-rootdir= got renamed to
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering --with-rootprefix= to follow the naming used by udev and
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * Unless specified otherwise we'll now install to /usr instead
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * Processes with '@' in argv[0][0] are now excluded from the
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering final shut-down killing spree, following the logic explained
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering http://www.freedesktop.org/wiki/Software/systemd/RootStorageDaemons
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * All processes remaining in a service cgroup when we enter
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering the START or START_PRE states are now killed with
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering SIGKILL. That means it is no longer possible to spawn
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering background processes from ExecStart= lines (which was never
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering supported anyway, and bad style).
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering * New PropagateReloadTo=/PropagateReloadFrom= options to bind
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering reloading of units together.
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering Contributions from: Bill Nottingham, Daniel J. Walsh, Dave
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering Reisner, Dexter Morgan, Gregs Gregs, Jonathan Nieder, Kay
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering Sievers, Lennart Poettering, Michael Biebl, Michal Schmidt,
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering Michał Górny, Ran Benita, Thomas Jarosch, Tim Waugh, Tollef
51c61cda1a542c9e999bfdc6aab4a029c0ae7f5aLennart Poettering Fog Heen, Tom Gundersen, Zbigniew Jędrzejewski-Szmek