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