Merge pull request #7996 from poettering/v237-prepare

preparation for v237
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2018-01-25 17:41:25 +03:00
committed by GitHub
13 changed files with 13121 additions and 8719 deletions

View File

@@ -142,3 +142,10 @@ Lukáš Říha <cedel@centrum.cz>
Alan Robertson <aroberts@zen.iomart.com> <alanjrobertson@gmail.com>
Martin Steuer <martinsteuer@gmx.de>
Matthias-Christian Ott <ott@mirix.org> <ott@users.noreply.github.com>
Larry Bernstone <lbernstone@gmail.com>
Michał Szczepański <skrzatu@hotmail.com> <skrzatu@gmail.com>
Tomasz Bachorski <tomasz.bachorski@x7f.io> <34866781+nulsoh@users.noreply.github.com>
Zachary Winnerman <33329648+winnerman-pythian@users.noreply.github.com>
Vladislav Vishnyakov <split7fire@yandex.ru>
Robert Kolchmeyer <rkolchmeyer@google.com> <rkolchmeyer@users.noreply.github.com>
George Gaydarov <git@gg7.io> <gg7@users.noreply.github.com>

137
NEWS
View File

@@ -19,6 +19,143 @@ CHANGES WITH 237 in spe:
don't exist yet, and only then the argument string is written to the
file.
* A new environment variable $SYSTEMD_OFFLINE is now understood by
systemctl. It takes a boolean argument. If on, systemctl assumes it
operates on an "offline" OS tree, and will not attempt to talk to the
service manager. Previously, this mode was implicitly enabled if a
chroot() environment was detected, and this new environment variable
now provides explicit control.
* .path and .socket units may now be created transiently,
too. Previously only service, mount, automount and timer units were
supported as transient units. The systemd-run tool has been updated
to expose this new functionality, you may hence use it now to bind
arbitrary commands to path or socket activation on-the-fly from the
command line. Moreover, for the unit types already supporting
transient operation most properties are now hooked up.
* The systemd-mount command gained support for a new --owner= parameter
which takes a user name, which is then resolved and included in uid=
and gid= mount options string of the file system to mount.
* A new unit condition ConditionControlGroupController= has been added
that checks whether a specific cgroup controller is available.
* Unit files, udev's .link files, and systemd-networkd's .netdev and
.network files all gained support for a new condition
ConditionKernelVersion= for checking against specific kernel
versions.
* In systemd-networkd, the [IPVLAN] section in .netdev files gained
support for configuring device flags in the Flags= setting In the
same files, the [Tunnel] section gained support for configuring
AllowLocalRemote=. The [Route] section in .network files gained
support for configuring InitialCongestionWindow=,
InitialAdvertisedReceiveWindow= and QuickAck=. The [DHCP] section now
understands RapidCommit=.
* systemd-networkd's DHCPv6 support gained support for Prefix
Delegation.
* sd-bus gained support for a new "watch-bind" feature. When this
feature is enabled, an sd_bus connection may be set up to connect to
an AF_UNIX socket in the file system as soon as it is created. This
functionality is useful for writing early-boot services that
automatically connect to the system bus as soon as it is started,
without ugly time-based polling. systemd-networkd and
systemd-resolved have been updated to make use of this
functionality. busctl exposes this functionality in a new
--watch-bind= command line switch.
* sd-bus will now optionally synthesize a local "Connected" signal as
soon as a D-Bus connection is set up fully. This message mirrors the
already existing "Disconnected" signal which is synthesized when the
connection is terminated. This signal is generally useful but
particularly handy in combination with the "watch-bind" feature
described above. Synthesizing of this message has to be requested
explicitly through the new API call sd_bus_set_connected_signal(). In
addition a new call sd_bus_is_ready() has been added that checks
wether a connection is fully set up (i.e. between the "Connected" and
"Disconnected" signals).
* sd-bus gained two new calls sd_bus_request_name_async() and
sd_bus_release_name_async() for asynchronously registering bus
names. Similar, there is now sd_bus_add_match_async() for installing
a signal match asynchronously. All of systemd's own services have
been updated to make use of these calls. Doing these operations
asynchronously has two benefits: it reduces the risk of deadlocks in
case of cyclic dependencies between bus services, and it speeds up
service initialization since synchronization points for bus
round-trips are removed.
* sd-bus gained two new calls sd_bus_match_signal() and
sd_bus_match_signal_async(), which are similar to sd_bus_add_match()
and sd_bus_add_match_async() but instead of taking a D-Bus match
string take match fields as normal function parameters.
* sd-bus gained two new calls sd_bus_set_sender() and
sd_bus_message_set_sender() for setting the sender name of outgoing
messages (either for all outgoing messages or for just one specific
one). These calls are only useful in direct connections as on
brokered connections the broker fills in the sender anyway,
overwriting whatever the client filled in.
* sd-event gained a new pseudo-handle that may be specified on all API
calls where an "sd_event*" object is expected: SD_EVENT_DEFAULT. When
used this refers to the default event loop object of the calling
thread. Note however that this does not implicitly allocate one —
which has to be done prior by using sd_event_default(). Similar
sd-bus gained a three new pseudo-handles SD_BUS_DEFAULT,
SD_BUS_DEFAULT_USER, SD_BUS_DEFAULT_SYSTEM that may be used to refer
to the default bus of the specified type of the calling thread. Here
too this does not implicitly allocate bus connection objects, this
has to be done prior with sd_bus_default() and friends.
* sd-event gained a new call pair
sd_event_source_{get|set}_io_fd_own(). This may be used to optionally
automatically close the file descriptor an IO event source watches
when the event source is destroyed.
* systemd-networkd gained support for natively configuring WireGuard
connections.
* Already in previous versions systemd synthesized user records both
for the "nobody" (UID 65534) and "root" (UID 0) users in nss-systemd
and internally. In order to simplify distribution-wide renames of the
"nobody" user (like it is planned in Fedora: nfsnobody → nobody), a
new transitional flag file has been added: if
/etc/systemd/dont-synthesize-nobody exists synthesizing of the 65534
user and group record within the systemd codebase is disabled.
* systemd-notify gained a new --uid= option for selecting the source
user/UID to use for notification messages sent to the service
manager.
* There's now a "systemd-analyze service-watchdogs" command for turning
on or off the per-service watchdogs system-wide (i.e. the concept you
configure in WatchdogSec=), for debugging purposes. There's also a
kernel command line option systemd.service_watchdogs= for controlling
the same.
Contributions from: Adam Duskett, Alan Jenkins, Alexander Kuleshov,
Alexis Deruelle, Armin Widegreen, bleep_blop, Bruce A. Johnson, Chris
Down, Colin Walters, Dimitri John Ledkov, Dmitry Rozhkov, Ewout van
Mansom, Felipe Sateler, Franck Bui, Frantisek Sumsal, George Gaydarov,
Gianluca Boiano, Hans-Christian Noren Egtvedt, Hans de Goede, Henrik
Grindal Bakken, Jan Alexander Steffens, Jan Klötzke, jdkbx, Jérémy
Rosen, Jerónimo Borque, John Lin, John Paul Herold, Jonathan Rudenberg,
Jörg Thalheim, Ken (Bitsko) MacLeod, Larry Bernstone, Lennart
Poettering, Lucas Werkmeister, Maciej S. Szmigiero, Marek Čermák,
Martin Pitt, Mathieu Malaterre, Matthew Thode, Matthias-Christian Ott,
Max Harmathy, Michael Biebl, Michal Koutný, Michal Sekletar, Michał
Szczepański, Mike Gilbert, Nathaniel McCallum, Olaf Hering, Olivier
Schwander, Patrik Flykt, Paul Cercueil, Peter Hutterer, Piotr Drąg,
Reverend Homer, Robert Kolchmeyer, Samuel Dionne-Riel, Sergey
Ptashnick, Shawn Landden, Susant Sahani, Sylvain Plantefève, Thomas
Huth, Tomasz Bachorski, Vladislav Vishnyakov, Wieland Hoffmann, Yu
Watanabe, Zachary Winnerman, Zbigniew Jędrzejewski-Szmek, Дамјан
Георгиевски, Дилян Палаузов
— Berlin, 2018-XX-XX
CHANGES WITH 236:

18
TODO
View File

@@ -24,14 +24,13 @@ Janitorial Clean-ups:
Features:
* maybe rework get_user_creds() to query the user database if $SHELL is used
for root, but only then.
* there should be path_hash_ops and we should use it in tmpfiles' hashmap object to deal with identical but differently spelt paths
* rework pid watching logic, allow any number of units watch the same pid
* be stricter with fds we receive for the fdstore: close them asynchronously
* be stricter with pid file and notify pids: don't allow them to be outside of cgroup, except if sender is privileged
* calenderspec: add support for week numbers and day numbers within a
year. This would allow us to define "bi-weekly" triggers safely.
@@ -57,8 +56,6 @@ Features:
* implement transient socket unit.
* make systemd-run create transient path and socket unit.
* make use of ethtool veth peer info in machined, for automatically finding out
host-side interface pointing to the container.
@@ -167,9 +164,6 @@ Features:
O_NONBLOCK on it. That way people can control if and when to block for
logging.
* tighten sd_notify() MAINPID= checks a bit: don't accept foreign PIDs (i.e.
PIDs not managed by the service manager)
* hostnamed: populate form factor data from a new hwdb database, so that old
yogas can be recognized as "convertible" too, even if they predate the DMI
"convertible" form factor
@@ -319,10 +313,6 @@ Features:
* docs: bring http://www.freedesktop.org/wiki/Software/systemd/MyServiceCantGetRealtime up to date
* mounting and unmounting mount points manually with different source
devices will result in collected on all devices used.
http://lists.freedesktop.org/archives/systemd-devel/2015-April/030225.html
* add a job mode that will fail if a transaction would mean stopping
running units. Use this in timedated to manage the NTP service
state.
@@ -614,8 +604,6 @@ Features:
* exec: when deinitializating a tty device fix the perms and group, too, not only when initializing. Set access mode/gid to 0620/tty.
* service: watchdog logic: for testing purposes allow ping, but do not require pong
* journal:
- consider introducing implicit _TTY= + _PPID= + _EUID= + _EGID= + _FSUID= + _FSGID= fields
- import and delete pstore filesystem content at startup

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
--- 20-acpi-vendor.hwdb.base 2017-12-14 15:57:48.154005635 +0100
+++ 20-acpi-vendor.hwdb 2017-12-14 15:57:48.160005689 +0100
--- 20-acpi-vendor.hwdb.base 2018-01-25 13:07:40.178983802 +0100
+++ 20-acpi-vendor.hwdb 2018-01-25 13:07:40.183983802 +0100
@@ -3,6 +3,8 @@
# Data imported from:
# http://www.uefi.org/uefi-pnp-export

File diff suppressed because it is too large Load Diff

View File

@@ -48422,6 +48422,93 @@ usb:v1519*
usb:v1519p0020*
ID_MODEL_FROM_DATABASE=HSIC Device
usb:v151F*
ID_VENDOR_FROM_DATABASE=Opal Kelly Incorporated
usb:v151Fp0020*
ID_MODEL_FROM_DATABASE=XEM3001v1
usb:v151Fp0021*
ID_MODEL_FROM_DATABASE=XEM3001v2
usb:v151Fp0022*
ID_MODEL_FROM_DATABASE=XEM3010
usb:v151Fp0023*
ID_MODEL_FROM_DATABASE=XEM3005
usb:v151Fp0028*
ID_MODEL_FROM_DATABASE=XEM3050
usb:v151Fp002B*
ID_MODEL_FROM_DATABASE=XEM5010
usb:v151Fp002C*
ID_MODEL_FROM_DATABASE=XEM6001
usb:v151Fp002D*
ID_MODEL_FROM_DATABASE=XEM6010-LX45
usb:v151Fp002E*
ID_MODEL_FROM_DATABASE=XEM6010-LX150
usb:v151Fp0030*
ID_MODEL_FROM_DATABASE=XEM6006-LX16
usb:v151Fp0033*
ID_MODEL_FROM_DATABASE=XEM6002-LX9
usb:v151Fp0034*
ID_MODEL_FROM_DATABASE=XEM7001-A15
usb:v151Fp0036*
ID_MODEL_FROM_DATABASE=XEM7010-A50
usb:v151Fp0037*
ID_MODEL_FROM_DATABASE=XEM7010-A200
usb:v151Fp0120*
ID_MODEL_FROM_DATABASE=ZEM4310
usb:v151Fp0121*
ID_MODEL_FROM_DATABASE=XEM6310-LX45
usb:v151Fp0122*
ID_MODEL_FROM_DATABASE=XEM6310-LX150
usb:v151Fp0123*
ID_MODEL_FROM_DATABASE=XEM6310MT-LX45T
usb:v151Fp0125*
ID_MODEL_FROM_DATABASE=XEM7350-K70T
usb:v151Fp0126*
ID_MODEL_FROM_DATABASE=XEM7350-K160T
usb:v151Fp0127*
ID_MODEL_FROM_DATABASE=XEM7350-K410T
usb:v151Fp0128*
ID_MODEL_FROM_DATABASE=XEM6310MT-LX150T
usb:v151Fp0129*
ID_MODEL_FROM_DATABASE=ZEM5305-A2
usb:v151Fp012B*
ID_MODEL_FROM_DATABASE=XEM7360-K160T
usb:v151Fp012C*
ID_MODEL_FROM_DATABASE=XEM7360-K410T
usb:v151Fp012D*
ID_MODEL_FROM_DATABASE=ZEM5310-A4
usb:v151Fp0130*
ID_MODEL_FROM_DATABASE=XEM7310-A75
usb:v151Fp0131*
ID_MODEL_FROM_DATABASE=XEM7310-A200
usb:v1520*
ID_VENDOR_FROM_DATABASE=Bitwire Corp.
@@ -55958,6 +56045,45 @@ usb:v24E1p3001*
usb:v24E1p3005*
ID_MODEL_FROM_DATABASE=Radius
usb:v2516*
ID_VENDOR_FROM_DATABASE=Cooler Master Co., Ltd.
usb:v2516p0003*
ID_MODEL_FROM_DATABASE=Storm Xornet
usb:v2516p0004*
ID_MODEL_FROM_DATABASE=Storm QuickFire Rapid Mechanical Keyboard
usb:v2516p0006*
ID_MODEL_FROM_DATABASE=Storm Recon
usb:v2516p0007*
ID_MODEL_FROM_DATABASE=Storm Sentinel Advance II
usb:v2516p0009*
ID_MODEL_FROM_DATABASE=Storm Quick Fire PRO
usb:v2516p0011*
ID_MODEL_FROM_DATABASE=Storm Quick Fire TK
usb:v2516p0017*
ID_MODEL_FROM_DATABASE=CM Storm Quick Fire Stealth
usb:v2516p0020*
ID_MODEL_FROM_DATABASE=QuickFire Rapid-i Keyboard
usb:v2516p0027*
ID_MODEL_FROM_DATABASE=CM Storm Coolermaster Novatouch TKL
usb:v2516p002D*
ID_MODEL_FROM_DATABASE=Alcor mouse
usb:v2516p0047*
ID_MODEL_FROM_DATABASE=MasterKeys Pro L
usb:v2516p9494*
ID_MODEL_FROM_DATABASE=Sirus Headset
usb:v2632*
ID_VENDOR_FROM_DATABASE=TwinMOS

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -9,8 +9,8 @@
# The latest version can be obtained from
# http://www.linux-usb.org/usb.ids
#
# Version: 2017.11.27
# Date: 2017-11-27 20:34:05
# Version: 2018.01.04
# Date: 2018-01-04 20:34:07
#
# Vendors, devices and interfaces. Please keep sorted.
@@ -16161,6 +16161,35 @@
0002 HDReye (before firmware loads)
1519 Comneon
0020 HSIC Device
151f Opal Kelly Incorporated
0020 XEM3001v1
0021 XEM3001v2
0022 XEM3010
0023 XEM3005
0028 XEM3050
002b XEM5010
002c XEM6001
002d XEM6010-LX45
002e XEM6010-LX150
0030 XEM6006-LX16
0033 XEM6002-LX9
0034 XEM7001-A15
0036 XEM7010-A50
0037 XEM7010-A200
0120 ZEM4310
0121 XEM6310-LX45
0122 XEM6310-LX150
0123 XEM6310MT-LX45T
0125 XEM7350-K70T
0126 XEM7350-K160T
0127 XEM7350-K410T
0128 XEM6310MT-LX150T
0129 ZEM5305-A2
012b XEM7360-K160T
012c XEM7360-K410T
012d ZEM5310-A4
0130 XEM7310-A75
0131 XEM7310-A200
1520 Bitwire Corp.
1524 ENE Technology Inc
6680 UTS 6680
@@ -18673,6 +18702,19 @@
24e1 Paratronic
3001 Adp-usb
3005 Radius
2516 Cooler Master Co., Ltd.
0003 Storm Xornet
0004 Storm QuickFire Rapid Mechanical Keyboard
0006 Storm Recon
0007 Storm Sentinel Advance II
0009 Storm Quick Fire PRO
0011 Storm Quick Fire TK
0017 CM Storm Quick Fire Stealth
0020 QuickFire Rapid-i Keyboard
0027 CM Storm Coolermaster Novatouch TKL
002d Alcor mouse
0047 MasterKeys Pro L
9494 Sirus Headset
2632 TwinMOS
3209 7-in-1 Card Reader
2639 Xsens

View File

@@ -16,7 +16,7 @@
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
project('systemd', 'c',
version : '236',
version : '237',
license : 'LGPLv2+',
default_options: [
'c_std=gnu99',
@@ -27,8 +27,8 @@ project('systemd', 'c',
meson_version : '>= 0.41',
)
libsystemd_version = '0.20.0'
libudev_version = '1.6.8'
libsystemd_version = '0.21.0'
libudev_version = '1.6.9'
# We need the same data in three different formats, ugh!
# Also, for hysterical reasons, we use different variable