1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-24 17:57:34 +03:00

NEWS: add more content to both the 225 and 226 NEWS section

This commit is contained in:
Lennart Poettering 2015-09-07 00:08:12 +02:00
parent 8c65223d47
commit 5e8d4254f9

221
NEWS
View File

@ -2,55 +2,106 @@ systemd System and Service Manager
CHANGES WITH 226: CHANGES WITH 226:
* The DHCP implementation of systemd-networkd gained a set of new * The DHCP implementation of systemd-networkd gained a set of
features: new features:
- Server and client now support transmission and reception of - The DHCP server now supports emitting DNS and NTP
timezone information. It can be configured via the newly introduced information. It may be enabled and configured via
network options 'DHCP.UseTimezone=', 'DHCPServer.EmitTimezone=', EmitDNS=, DNS=, EmitNTP=, and NTP=. If transmission of DNS
and 'DHCPServer.Timezone='. and NTP information is enabled, but no servers are
Transmission of timezone information is enabled for containers by configured, the corresponding uplink information (if there
default now. Furthermore, if systemd-timesyncd is running, it will is any) is propagated.
be updated with the received information.
- The DHCP server now supports emitting DNS and NTP information. It - Server and client now support transmission and reception
can be enabled and configured via 'EmitDNS=', 'DNS=', 'EmitNTP=', of timezone information. It can be configured via the
and 'NTP='. newly introduced network options UseTimezone=,
If transmission of DNS and NTP information is enabled, but no EmitTimezone=, and Timezone=. Transmission of timezone
specific data-set is configured, the uplink information is used. information is enabled between host and containers by
default now: the container will change its local timezone
to what the host has set.
- Lease timeouts can now be configured via 'MaxLeaseTimeSec=' and - Lease timeouts can now be configured via
'DefaultLeaseTimeSec='. MaxLeaseTimeSec= and DefaultLeaseTimeSec=.
- The DHCP server now supports improved predictability of leases. - The DHCP server improved on the stability of
Clients are more likely to get the same lease information back, leases. Clients are more likely to get the same lease
even if the server loses state. information back, even if the server loses state.
- The DHCP server supports two new configuration options to specify - The DHCP server supports two new configuration options to
the lease pool, 'PoolOffset=' and 'PoolSize='. control the lease address pool metrics, PoolOffset= and
PoolSize=.
* The encapsulation limit of tunnels in systemd-networkd can now be * The encapsulation limit of tunnels in systemd-networkd may
configured via 'EncapsulationLimit='. It allows modifying the maximum now be configured via 'EncapsulationLimit='. It allows
additional levels of encapsulation that are permitted to be prepended modifying the maximum additional levels of encapsulation
to a packet. that are permitted to be prepended to a packet.
* systemd now supports the concept of user-buses over session-buses, if * systemd now supports the concept of user buses replacing
used with dbus-1.10 (and enabled via dbus --enable-user-session). session buses, if used with dbus-1.10 (and enabled via dbus
--enable-user-session). It previously only supported this on
kdbus-enabled systems, and this release expands this to
'dbus-daemon' systems.
* systemd-networkd now supports predictable interface names for virtio * systemd-networkd now supports predictable interface names
devices. for virtio devices.
* systemd now optionally supports the unified cgroup hierarchy. If * systemd now optionally supports the new Linux kernel
enabled via the kernel command-line option "unified" control group hierarchy. If enabled via the kernel
'systemd.unified_cgroup_hierarchy=1', systemd will try to mount the command-line option 'systemd.unified_cgroup_hierarchy=1',
unified cgroup hierarchy directly on /sys/fs/cgroup. If not enabled, systemd will try to mount the unified cgroup hierarchy
or not available, systemd will fall back to legacy cgroups. directly on /sys/fs/cgroup. If not enabled, or not
Host system and containers can mix and match legacy and unified available, systemd will fall back to the legacy cgroup
hierarchies as they wish. By default, nspawn will use the same hierarchy setup, as before. Host system and containers can
hierarchy as the host. mix and match legacy and unified hierarchies as they
Please note that the unified hierarchy is an experimental kernel wish. nspawn understands the $UNIFIED_CROUP_HIERARCHY
feature and is likely to change in one of the next kernel releases. environment variable to individually select the hierarchy to
Therefore, it should not be enabled by default. use for executed containers. By default, nspawn will use the
unified hierarchy for the containers if the host uses the
unified hierarchy, and the legacy hierarchy otherwise.
Please note that at this point the unified hierarchy is an
experimental kernel feature and is likely to change in one
of the next kernel releases. Therefore, it should not be
enabled by default in downstream distributions yet. The
minimum required kernel version for the unified hierarchy to
work is 4.2. Note that when the unified hierarchy is used
for the first time delegated access to controllers is
safe. Because of this systemd-nspawn containers will get
access to controllers now, as will systemd user
sessions. This means containers and user sessions may now
manage their own resources, partitioning up what the system
grants them.
* A new special scope unit "init.scope" has been introduced
that encapsulates PID 1 of the system. It may be used to
determine resource usage and enforce resource limits on PID
1 itself. PID 1 hence moved out of the root of the control
group tree.
* The cgtop tool gained support for filtering out kernel
threads when counting tasks in a control group. Also, the
count of processes is now recursively summed up by
default. Two options -k and --recursive= have been added to
revert to old behaviour. The tool has also been updated to
work correctly in containers now.
* systemd-nspawn's --bind= and --bind-ro= options have been
extended to allow creation of non-recursive bind mounts.
* libsystemd gained two new calls sd_pid_get_cgroup() an
sd_peer_get_cgroup() which returns the control group path of
a process or peer of a connected AF_UNIX socket. This
function call is particularly useful when implementing
delegated subtrees support in the control group hierarchy.
* The "sd-event" event loop API of libsystemd now supports
correct dequeuing of real-time signals, without losing
signal events.
* When systemd requests a PolicyKit decision when managing
units it will now add additional fields to the request,
including unit name and desired operation. This enables more
powerful PolicyKit policies, that make decisions depending
on these parameters.
Contributions from: Cristian Rodríguez, Daniel Mack, David Herrmann, Contributions from: Cristian Rodríguez, Daniel Mack, David Herrmann,
Eugene Yakubovich, Evgeny Vereshchagin, Filipe Brandenburger, Jan Eugene Yakubovich, Evgeny Vereshchagin, Filipe Brandenburger, Jan
@ -63,26 +114,74 @@ CHANGES WITH 226:
CHANGES WITH 225: CHANGES WITH 225:
* machinectl gained a new verb 'shell' which opens a fresh shell on the * machinectl gained a new verb 'shell' which opens a fresh
target machine. It is similar to 'login', but spawns the shell shell on the target container or the host. It is similar to
directly. The pseudo machine '.host' now refers to the local host and the existing 'login' command of machinectl, but spawns the
is used by default. Hence, 'machinectl shell' can be used as shell directly without prompting for username or
replacement for 'su' which spawns the session as a fresh systemd password. The pseudo machine '.host' now refers to the local
unit. host and is used by default. Hence, 'machinectl shell' can
be used as replacement for 'su -' which spawns a session as
a fresh systemd unit in a way that is fully isolated from
the originating session.
* systemd-networkd learned to cope with private-zone DHCP options and * systemd-networkd learned to cope with private-zone DHCP
allows other programs to query the values. options and allows other programs to query the values.
Contributions from: Alastair Hughes, Alex Crawford, Daniel Mack, David * SELinux access control when enabling/disabling units is no
Herrmann, Dimitri John Ledkov, Eric Kostrowski, Evgeny Vereshchagin, longer enforced with this release. The previous
Felipe Sateler, HATAYAMA Daisuke, Jan Pokorný, Jan Synacek, Johnny implementation was incorrect, and a new corrected
Robeson, Karel Zak, Kay Sievers, Kefeng Wang, Lennart Poettering, Major implementation is not yet available. As unit file operations
Hayden, Marcel Holtmann, Markus Elfring, Martin Mikkelsen, Martin Pitt, are still protected via PolicyKit and D-Bus policy this is
Matt Turner, Maxim Mikityanskiy, Michael Biebl, Namhyung Kim, Nicolas not a security problem. Yet, distributions which care about
Cornu, Owen W. Taylor, Patrik Flykt, Peter Hutterer, reverendhomer, optimal SELinux support should probably not stabilize on
Richard Maw, Ronny Chevalier, Seth Jennings, Stef Walter, Susant Sahani, this release.
Thomas Blume, Thomas Hindoe Paaboel Andersen, Thomas Meyer, Tom
Gundersen, Vincent Batts, WaLyong Cho, Zbigniew Jędrzejewski-Szmek * sd-bus gained support for matches of type "arg0has=", that
test for membership of strings in string arrays sent in bus
messages.
* systemd-resolved now dumps the contents of its DNS and LLMNR
caches to the logs on reception of the SIGUSR1 signal. This
is useful to debug DNS behaviour.
* The coredumpctl tool gained a new --directory= option to
operate on journal files in a specific directory.
* "systemctl reboot" and related commands gained a new
"--message=" option which may be used to set a free-text
wall message when shutting down or rebooting the
system. This message is also logged, which is useful for
figuring out the reason for a reboot or shutdown a
posteriori.
* The "systemd-resolve-host" tool's -i switch now takes
network interface numbers as alternative to interface names.
* A new unit file setting for services has been introduced:
UtmpMode= allows configuration of how precisely systemd
handles utmp and wtmp entries for the service if this is
enabled. This allows writing services that appear similar to
user sessions in the output of the "w", "who", "last" and
"lastlog" tools.
* systemd-resolved will now locally synthesize DNS resource
records for the "localhost" and "gateway" domains as well as
the local hostname. This should ensure that clients querying
RRs via resolved will get similar results as those going via
NSS, if nss-myhostname is enabled.
Contributions from: Alastair Hughes, Alex Crawford, Daniel
Mack, David Herrmann, Dimitri John Ledkov, Eric Kostrowski,
Evgeny Vereshchagin, Felipe Sateler, HATAYAMA Daisuke, Jan
Pokorný, Jan Synacek, Johnny Robeson, Karel Zak, Kay Sievers,
Kefeng Wang, Lennart Poettering, Major Hayden, Marcel
Holtmann, Markus Elfring, Martin Mikkelsen, Martin Pitt, Matt
Turner, Maxim Mikityanskiy, Michael Biebl, Namhyung Kim,
Nicolas Cornu, Owen W. Taylor, Patrik Flykt, Peter Hutterer,
reverendhomer, Richard Maw, Ronny Chevalier, Seth Jennings,
Stef Walter, Susant Sahani, Thomas Blume, Thomas Hindoe
Paaboel Andersen, Thomas Meyer, Tom Gundersen, Vincent Batts,
WaLyong Cho, Zbigniew Jędrzejewski-Szmek
-- Berlin, 2015-08-27 -- Berlin, 2015-08-27
@ -91,9 +190,9 @@ CHANGES WITH 224:
* The systemd-efi-boot-generator functionality was merged into * The systemd-efi-boot-generator functionality was merged into
systemd-gpt-auto-generator. systemd-gpt-auto-generator.
* systemd-networkd now supports Group Policy for vxlan devices. It can * systemd-networkd now supports Group Policy for vxlan
be enabled via the new boolean configuration option called devices. It can be enabled via the new boolean configuration
'GroupPolicyExtension='. option called 'GroupPolicyExtension='.
Contributions from: Andreas Kempf, Christian Hesse, Daniel Mack, David Contributions from: Andreas Kempf, Christian Hesse, Daniel Mack, David
Herrmann, Herman Fries, Johannes Nixdorf, Kay Sievers, Lennart Herrmann, Herman Fries, Johannes Nixdorf, Kay Sievers, Lennart