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