]> git.ipfire.org Git - thirdparty/systemd.git/log
thirdparty/systemd.git
5 years agowireguard: reuse sd_event_source object
Yu Watanabe [Fri, 1 Mar 2019 06:41:47 +0000 (15:41 +0900)] 
wireguard: reuse sd_event_source object

5 years agowireguard: use NetworkConfigSection to manage [WireGuardPeer] sections
Yu Watanabe [Thu, 28 Feb 2019 08:12:02 +0000 (17:12 +0900)] 
wireguard: use NetworkConfigSection to manage [WireGuardPeer] sections

This also contains huge refactoring of wireguard support.

5 years agotest-network: add tests for invalid Address sections
Yu Watanabe [Fri, 1 Mar 2019 06:21:22 +0000 (15:21 +0900)] 
test-network: add tests for invalid Address sections

5 years agotest: make network_verify() public and use it in test-networkd-conf
Yu Watanabe [Fri, 1 Mar 2019 08:39:45 +0000 (17:39 +0900)] 
test: make network_verify() public and use it in test-networkd-conf

5 years agonetwork: drop sections contain invalid settings in network_verify()
Yu Watanabe [Fri, 1 Mar 2019 04:27:47 +0000 (13:27 +0900)] 
network: drop sections contain invalid settings in network_verify()

If e.g., an [Address] section has an invalid setting, then
previously assigned settings in the section is freed, and
only later settings are stored. That may cause partially broken
section stored in Network object.

This makes if an invalid setting is found, then set 'invalid' flag
instead of freeing it. And invalid sections are dropped later by
network_verify().

5 years agonetwork: make all xxx_new_static() static
Yu Watanabe [Fri, 1 Mar 2019 04:19:53 +0000 (13:19 +0900)] 
network: make all xxx_new_static() static

These functions are called from only config parsers, and the parsers are
in the same files. So, let's make them static.

5 years agonetwork: add IPv4LL route right after .network file is parsed
Yu Watanabe [Tue, 5 Mar 2019 01:51:57 +0000 (10:51 +0900)] 
network: add IPv4LL route right after .network file is parsed

Previously, the route is added when the .network config is assigned
to a Link. So, if multiple links match the .network file, the route
entry becomes duplicated in the corresponding Network object.

5 years agonetwork: move NetworkConfigSection and related functions to networkd-util.[ch]
Yu Watanabe [Thu, 28 Feb 2019 07:30:14 +0000 (16:30 +0900)] 
network: move NetworkConfigSection and related functions to networkd-util.[ch]

5 years agonetwork: use ltype to determine netdev kind in config_parse_stacked_netdev()
Yu Watanabe [Thu, 28 Feb 2019 07:18:57 +0000 (16:18 +0900)] 
network: use ltype to determine netdev kind in config_parse_stacked_netdev()

5 years agoMerge pull request #11919 from poettering/login-simplify
Lennart Poettering [Tue, 12 Mar 2019 17:33:14 +0000 (18:33 +0100)] 
Merge pull request #11919 from poettering/login-simplify

various fixes to $HOME and $SHELL validation

5 years agoupdate TODO 11919/head
Lennart Poettering [Tue, 12 Mar 2019 14:53:05 +0000 (15:53 +0100)] 
update TODO

5 years agologin: drop redundant newline
Lennart Poettering [Mon, 11 Mar 2019 17:28:06 +0000 (18:28 +0100)] 
login: drop redundant newline

5 years agouser-util: extra paranoia, make sure $SHELL can't be fucked with in suid programs
Lennart Poettering [Tue, 12 Mar 2019 14:52:06 +0000 (15:52 +0100)] 
user-util: extra paranoia, make sure $SHELL can't be fucked with in suid programs

It's better to be safe than sorry, let's not allow overriding of the
user shell in suid binaries. Similar for $USER.

5 years agoexecute: no need to synthesize $HOME for uid==0 again, get_home_dir() already does...
Lennart Poettering [Thu, 7 Mar 2019 10:00:40 +0000 (11:00 +0100)] 
execute: no need to synthesize $HOME for uid==0 again, get_home_dir() already does that

5 years agoexecute: simplify paths we set as HOME/SHELL for invoked programs
Lennart Poettering [Thu, 7 Mar 2019 10:00:13 +0000 (11:00 +0100)] 
execute: simplify paths we set as HOME/SHELL for invoked programs

5 years agouser-util: simplify paths retrieved from $HOME and $SHELL
Lennart Poettering [Thu, 7 Mar 2019 09:54:11 +0000 (10:54 +0100)] 
user-util: simplify paths retrieved from $HOME and $SHELL

Let's add some extra paranoia, after #11910

5 years agouser-util: be more strict when reading $HOME and $SHELL
Lennart Poettering [Thu, 7 Mar 2019 09:53:23 +0000 (10:53 +0100)] 
user-util: be more strict when reading $HOME and $SHELL

5 years agouser-util: paranoia — add overflow check on ERANGE loop
Lennart Poettering [Thu, 7 Mar 2019 09:52:35 +0000 (10:52 +0100)] 
user-util: paranoia — add overflow check on ERANGE loop

5 years agouser-util: use SYNTHETIC_ERRNO() where we can
Lennart Poettering [Thu, 7 Mar 2019 09:45:14 +0000 (10:45 +0100)] 
user-util: use SYNTHETIC_ERRNO() where we can

5 years agopath-util: minimize variable scope
Lennart Poettering [Thu, 7 Mar 2019 09:44:59 +0000 (10:44 +0100)] 
path-util: minimize variable scope

5 years agopath-util: check validity before normalization in path_simplify_and_warn()
Lennart Poettering [Thu, 7 Mar 2019 09:37:04 +0000 (10:37 +0100)] 
path-util: check validity before normalization in path_simplify_and_warn()

As the normalization check includes a validation check the order
matters.

5 years agouser-util: filter out invalid user record data a bit more thorougly
Lennart Poettering [Thu, 7 Mar 2019 09:32:48 +0000 (10:32 +0100)] 
user-util: filter out invalid user record data a bit more thorougly

5 years agologind: normalize home path when creating user object
Lennart Poettering [Thu, 7 Mar 2019 09:31:26 +0000 (10:31 +0100)] 
logind: normalize home path when creating user object

Triggered by: #11910

5 years agoMerge pull request #11964 from mrc0mmand/even-more-fuzzers
Zbigniew Jędrzejewski-Szmek [Tue, 12 Mar 2019 14:08:20 +0000 (15:08 +0100)] 
Merge pull request #11964 from mrc0mmand/even-more-fuzzers

fuzz: add fuzzers for calendar & time expressions

5 years agomeson: scope more git invocations with current_source_dir()
Davide Cavalca [Wed, 27 Feb 2019 16:19:07 +0000 (11:19 -0500)] 
meson: scope more git invocations with current_source_dir()

5 years agoMerge pull request #11927 from poettering/network-namespace-path
Zbigniew Jędrzejewski-Szmek [Tue, 12 Mar 2019 13:29:14 +0000 (14:29 +0100)] 
Merge pull request #11927 from poettering/network-namespace-path

Add NetworkNamespacePath= to unit files

5 years agopo: update French translation
Sylvain Plantefève [Thu, 7 Mar 2019 22:10:46 +0000 (23:10 +0100)] 
po: update French translation

5 years agoMerge pull request #11943 from yuwata/device-action-seqnum-cleanups
Zbigniew Jędrzejewski-Szmek [Tue, 12 Mar 2019 12:17:33 +0000 (13:17 +0100)] 
Merge pull request #11943 from yuwata/device-action-seqnum-cleanups

sd-device: store parsed SEQNUM and ACTION string

5 years agofuzz: add a fuzzer for time utils 11964/head
Frantisek Sumsal [Mon, 11 Mar 2019 18:57:09 +0000 (19:57 +0100)] 
fuzz: add a fuzzer for time utils

5 years agofuzz: add a fuzzer for calendarspec
Frantisek Sumsal [Mon, 11 Mar 2019 18:56:34 +0000 (19:56 +0100)] 
fuzz: add a fuzzer for calendarspec

5 years agobash-completion: also suggest units in reloading or activating
Yu Watanabe [Mon, 11 Mar 2019 04:26:29 +0000 (13:26 +0900)] 
bash-completion: also suggest units in reloading or activating

Closes #11942.

5 years agoMerge pull request #11897 from mrc0mmand/parallelize-TEST-24-UNIT-TESTS
Zbigniew Jędrzejewski-Szmek [Tue, 12 Mar 2019 10:21:06 +0000 (11:21 +0100)] 
Merge pull request #11897 from mrc0mmand/parallelize-TEST-24-UNIT-TESTS

test: parallelize tasks in TEST-24-UNIT-TESTS

5 years agolgtm: replace the query used for looking for fgets with a more general query
Evgeny Vereshchagin [Mon, 11 Mar 2019 20:05:13 +0000 (21:05 +0100)] 
lgtm: replace the query used for looking for fgets with a more general query

to make it easier to comlain about `strtok` :-)

Inspired by https://github.com/systemd/systemd/pull/11963, which, in turn,
was prompted by https://github.com/systemd/systemd/pull/11555.

5 years agoudev: fix memleak in 'udevadm trigger --settle'
Yu Watanabe [Tue, 12 Mar 2019 03:20:13 +0000 (12:20 +0900)] 
udev: fix memleak in 'udevadm trigger --settle'

Fixes #11966.

5 years agotest: wait for a while active state of .device is updated 11943/head
Yu Watanabe [Mon, 11 Mar 2019 18:53:22 +0000 (03:53 +0900)] 
test: wait for a while active state of .device is updated

5 years agoefivars: make sure efi_loader_entry_name_valid() is always compiled in
Lennart Poettering [Mon, 11 Mar 2019 14:58:52 +0000 (15:58 +0100)] 
efivars: make sure efi_loader_entry_name_valid() is always compiled in

The string validation should always be done correctly, and not fail just
because EFI is turned off. After all an EFI loader entry name string
remains properly formatted regardless if EFI is on or off...

Fixes: #11948
5 years agolibudev: use device_get_seqnum() and device_get_action()
Yu Watanabe [Sat, 9 Mar 2019 02:07:26 +0000 (11:07 +0900)] 
libudev: use device_get_seqnum() and device_get_action()

5 years agologin: use device_is_in_action()
Yu Watanabe [Sat, 9 Mar 2019 01:45:48 +0000 (10:45 +0900)] 
login: use device_is_in_action()

5 years agonetwork: use device_get_action()
Yu Watanabe [Sat, 9 Mar 2019 01:37:12 +0000 (10:37 +0900)] 
network: use device_get_action()

5 years agocore/device: use device_get_action()
Yu Watanabe [Sat, 9 Mar 2019 01:28:11 +0000 (10:28 +0900)] 
core/device: use device_get_action()

5 years agoudevadm-test: check action string earlier
Yu Watanabe [Sat, 9 Mar 2019 01:20:42 +0000 (10:20 +0900)] 
udevadm-test: check action string earlier

The string will be checked later in device_new_from_synthetic_event(),
but let's check it earlier in parse_argv().

5 years agoudevadm: use device_get_action()
Yu Watanabe [Sat, 9 Mar 2019 01:14:38 +0000 (10:14 +0900)] 
udevadm: use device_get_action()

5 years agoudev: refuse to modify SEQNUM by udev rules
Yu Watanabe [Sat, 9 Mar 2019 01:09:40 +0000 (10:09 +0900)] 
udev: refuse to modify SEQNUM by udev rules

5 years agoudevd: use device_get_action() and device_get_seqnum()
Yu Watanabe [Sat, 9 Mar 2019 01:08:03 +0000 (10:08 +0900)] 
udevd: use device_get_action() and device_get_seqnum()

5 years agoutil: introduce device_for_action()
Yu Watanabe [Sat, 9 Mar 2019 01:45:15 +0000 (10:45 +0900)] 
util: introduce device_for_action()

It will be used in later commits.

5 years agosd-device: store parsed ACTION= and SEQNUM= udev properties
Yu Watanabe [Fri, 8 Mar 2019 08:25:00 +0000 (17:25 +0900)] 
sd-device: store parsed ACTION= and SEQNUM= udev properties

5 years agoMerge pull request #11960 from mrc0mmand/more-fuzzers
Lennart Poettering [Mon, 11 Mar 2019 17:04:22 +0000 (18:04 +0100)] 
Merge pull request #11960 from mrc0mmand/more-fuzzers

fuzz: introduce more fuzzers

5 years agonetwork: introduce TripleSampling= option in CAN section
Clemens Gruber [Mon, 11 Mar 2019 14:25:20 +0000 (15:25 +0100)] 
network: introduce TripleSampling= option in CAN section

When enabled, three samples are used to determine the value of a
received bit by majority rule.

This patch adds support for the TripleSampling= option in the [CAN]
section of .network files.

5 years agotest-network: add tests for issue #11921
Yu Watanabe [Fri, 8 Mar 2019 03:34:56 +0000 (12:34 +0900)] 
test-network: add tests for issue #11921

5 years agonspawn: fix memleak uncovered by fuzzer 11960/head
Zbigniew Jędrzejewski-Szmek [Mon, 11 Mar 2019 13:27:29 +0000 (14:27 +0100)] 
nspawn: fix memleak uncovered by fuzzer

Also use TAKE_PTR as appropriate.

5 years agofuzz: add a memleak reproducer for fuzz-nspawn-settings
Frantisek Sumsal [Mon, 11 Mar 2019 11:56:10 +0000 (12:56 +0100)] 
fuzz: add a memleak reproducer for fuzz-nspawn-settings

5 years agofuzz: add nspawn-settings fuzzer
Frantisek Sumsal [Mon, 11 Mar 2019 11:43:20 +0000 (12:43 +0100)] 
fuzz: add nspawn-settings fuzzer

5 years agofuzz: add hostname-util fuzzer
Frantisek Sumsal [Mon, 11 Mar 2019 11:43:00 +0000 (12:43 +0100)] 
fuzz: add hostname-util fuzzer

5 years agofuzz: add env-file fuzzer
Frantisek Sumsal [Mon, 11 Mar 2019 11:42:26 +0000 (12:42 +0100)] 
fuzz: add env-file fuzzer

5 years agomachinectl: do not format size if freed disk space is "-1"
Yu Watanabe [Mon, 11 Mar 2019 03:51:51 +0000 (12:51 +0900)] 
machinectl: do not format size if freed disk space is "-1"

Closes #11941.

5 years agojournal-remote: do not request Content-Length if Transfer-Encoding is chunked
Yu Watanabe [Mon, 11 Mar 2019 03:27:18 +0000 (12:27 +0900)] 
journal-remote: do not request Content-Length if Transfer-Encoding is chunked

This fixes a bug introduced by 7fdb237f5473cb8fc2129e57e8a0039526dcb4fd.

Closes #11571.

5 years agofuzz: add bus-label fuzzer
Frantisek Sumsal [Sun, 10 Mar 2019 19:53:57 +0000 (20:53 +0100)] 
fuzz: add bus-label fuzzer

5 years agoimport: do not try to set selinux related attributes if selinux is disabled
Yu Watanabe [Mon, 11 Mar 2019 04:21:09 +0000 (13:21 +0900)] 
import: do not try to set selinux related attributes if selinux is disabled

Closes #11940.

5 years agoAdded support for touchpad hotkey for Lenovo Y50-70 (#11937)
StKob [Mon, 11 Mar 2019 09:50:56 +0000 (10:50 +0100)] 
Added support for touchpad hotkey for Lenovo Y50-70 (#11937)

5 years agonetwork: update logs
Yu Watanabe [Mon, 11 Mar 2019 05:30:45 +0000 (14:30 +0900)] 
network: update logs

5 years agoexecute: remove one aa profile output from context dump
Lennart Poettering [Thu, 7 Mar 2019 14:18:06 +0000 (15:18 +0100)] 
execute: remove one aa profile output from context dump

The same data is output a few lines further up already, drop one.

5 years agoFix compilation without EFI being enabled
Vesa Jääskeläinen [Sat, 9 Mar 2019 20:44:21 +0000 (22:44 +0200)] 
Fix compilation without EFI being enabled

If EFI is disabled compilation can fail with:

../src/login/logind-dbus.c: In function ‘property_get_reboot_to_boot_loader_entry’:
../src/login/logind-dbus.c:2772:29: error: implicit declaration of function ‘efi_loader_entry_name_valid’; did you mean ‘efi_loader_get_features’? [-Werror=implicit-function-declaration]
                 } else if (!efi_loader_entry_name_valid(v)) {
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                             efi_loader_get_features
../src/login/logind-dbus.c:2772:29: warning: nested extern declaration of ‘efi_loader_entry_name_valid’ [-Wnested-externs]

This adds stub for efi_loader_entry_name_valid() to enable compilation.

5 years agohwdb: label the trackpoint on IBM UltraNav keyboard as a pointing stick (#11934)
Lubomir Rintel [Sun, 10 Mar 2019 23:00:03 +0000 (00:00 +0100)] 
hwdb: label the trackpoint on IBM UltraNav keyboard as a pointing stick (#11934)

This is the TrackPoint on an older IBM-branded ThinkPad-y USB keyboard.
It needs ID_INPUT_POINTINGSTICK=1 for TrackPoint scrolling to work, and
also for the AttrTrackpointMultiplier quirk to apply in libinput
(otherwise the TrackPoint is too slooooow).

5 years agotimedate: fix emitted value when ntp client is enabled/disabled (#11951)
Yu Watanabe [Sun, 10 Mar 2019 19:44:21 +0000 (04:44 +0900)] 
timedate: fix emitted value when ntp client is enabled/disabled (#11951)

This fixes a regression originall caused by cf3872bd2 and
triggered by b4356b5720a.

Fixes #11944

5 years agofix a typo in the man page for dhcpserver
Robin Elvedi [Fri, 8 Mar 2019 18:17:21 +0000 (19:17 +0100)] 
fix a typo in the man page for dhcpserver

5 years agotest: try to determine QEMU_SMP dynamically 11897/head
Frantisek Sumsal [Tue, 5 Mar 2019 15:08:00 +0000 (16:08 +0100)] 
test: try to determine QEMU_SMP dynamically

If the QEMU_SMP value has not been explicitly set, try to determine it
from the number of online CPUs using the nproc utility. If this approach
fails, fall back to the default value QEMU_SMP=1.

This change should significantly help when running integration tests
under QEMU on multicore systems.

5 years agoMerge pull request #11922 from poettering/hostname-protect-fix
Lennart Poettering [Fri, 8 Mar 2019 16:46:42 +0000 (17:46 +0100)] 
Merge pull request #11922 from poettering/hostname-protect-fix

be a bit more conservative with enabling ProtectHostname= for everything

5 years agounits: turn of ProtectHostname= again for services hat need to know about system... 11922/head
Lennart Poettering [Thu, 7 Mar 2019 13:38:11 +0000 (14:38 +0100)] 
units: turn of ProtectHostname= again for services hat need to know about system hostname changes

ProtectHostname= turns off hostname change propagation from host to
service. This means for services that care about the hostname and need
to be able to notice changes to it it's not suitable (though it is
useful for most other cases still).

Let's turn it off hence for journald (which logs the current hostname)
for networkd (which optionally sends the current hostname to dhcp
servers) and resolved (which announces the current hostname via
llmnr/mdns).

5 years agoman: document that ProtectHostname= disables hostname change notifications
Lennart Poettering [Thu, 7 Mar 2019 13:38:07 +0000 (14:38 +0100)] 
man: document that ProtectHostname= disables hostname change notifications

5 years agocore: simplify and check validity of paths for RequiresMountsFor=
Yu Watanabe [Thu, 7 Mar 2019 06:12:10 +0000 (15:12 +0900)] 
core: simplify and check validity of paths for RequiresMountsFor=

Prompted by #11910.

5 years agoMerge pull request #11905 from poettering/catalog-fixes
Lennart Poettering [Thu, 7 Mar 2019 20:37:56 +0000 (21:37 +0100)] 
Merge pull request #11905 from poettering/catalog-fixes

various catalog fixes

5 years agoman: document NetworkNamespacePath= 11927/head
Lennart Poettering [Thu, 7 Mar 2019 20:20:36 +0000 (21:20 +0100)] 
man: document NetworkNamespacePath=

5 years agorun: make sure NetworkNamespacePath= can be used on the systemd-run cmdline
Lennart Poettering [Thu, 7 Mar 2019 15:46:25 +0000 (16:46 +0100)] 
run: make sure NetworkNamespacePath= can be used on the systemd-run cmdline

5 years agocore: support netns joining also for sockets created by .socket unit
Lennart Poettering [Thu, 7 Mar 2019 15:43:58 +0000 (16:43 +0100)] 
core: support netns joining also for sockets created by .socket unit

Similar to the cgroup magic we nowadays do when listening to sockets, to
assign them the right bpf programs, let's also do the same and join the
specified netns in the child process.

This allows people to listen in sockets in specific namespaces, or join
multiple services and socket units together to live in the same
namespace.

5 years agocore: add new setting NetworkNamespacePath= for configuring a netns by path for a...
Lennart Poettering [Thu, 7 Mar 2019 15:39:01 +0000 (16:39 +0100)] 
core: add new setting NetworkNamespacePath= for configuring a netns by path for a service

Fixes: #2741
5 years agocore: add open_netns_path() helper
Lennart Poettering [Thu, 7 Mar 2019 15:42:04 +0000 (16:42 +0100)] 
core: add open_netns_path() helper

The new call allows us to open a netns from the file system, and store
it in a "storage fd pair". It's supposed to work with setup_netns() and
allows pre-population of the netns used with one opened from the file
system.

5 years agoexecute: no need to check for NULL when function right after does anyway
Lennart Poettering [Thu, 7 Mar 2019 15:55:19 +0000 (16:55 +0100)] 
execute: no need to check for NULL when function right after does anyway

5 years agoexecute: (void)ify more
Lennart Poettering [Thu, 7 Mar 2019 15:40:06 +0000 (16:40 +0100)] 
execute: (void)ify more

5 years agoexecute: make things a tiny bit shorter
Lennart Poettering [Thu, 7 Mar 2019 15:39:45 +0000 (16:39 +0100)] 
execute: make things a tiny bit shorter

5 years agoexecute: use structured initialization
Lennart Poettering [Thu, 7 Mar 2019 15:39:17 +0000 (16:39 +0100)] 
execute: use structured initialization

5 years agorandom-seed: don't use "label" version of mkdir_parents() 11905/head
Lennart Poettering [Thu, 7 Mar 2019 14:06:37 +0000 (15:06 +0100)] 
random-seed: don't use "label" version of mkdir_parents()

We don't load the selinux label database anyway, hence this is not going
to do anything at all. Let's simplify this hence and drop the explicit
request.

Also note that today SELinux can take the filename into account when
automatically deducing the label for a new file, hence even if this code
actually would have done something it is redundant today.

5 years agocatalog: _cleanup_close_ is your friend
Lennart Poettering [Wed, 6 Mar 2019 10:42:35 +0000 (11:42 +0100)] 
catalog: _cleanup_close_ is your friend

5 years agocatalog: (void)ify all things
Lennart Poettering [Wed, 6 Mar 2019 10:42:12 +0000 (11:42 +0100)] 
catalog: (void)ify all things

5 years agocatalog: use structured initialization more
Lennart Poettering [Wed, 6 Mar 2019 10:41:59 +0000 (11:41 +0100)] 
catalog: use structured initialization more

5 years agocatalog: let's use mkdir_parents() and use same mode as tmpfiles.d for this dir
Lennart Poettering [Wed, 6 Mar 2019 10:40:31 +0000 (11:40 +0100)] 
catalog: let's use mkdir_parents() and use same mode as tmpfiles.d for this dir

let's use mkdir_parents() (because its shorter), and 0755 as access
mode, so that things have the access mode tmpfiles.d also suggests.

Prompted by: #11903

5 years agocatalog: be a bit less aggressive with line breaking. After all 109ch is what we...
Lennart Poettering [Wed, 6 Mar 2019 10:39:11 +0000 (11:39 +0100)] 
catalog: be a bit less aggressive with line breaking. After all 109ch is what we going for

5 years agocatalog: don't make catalog_entry_lang() clobber output params on failure
Lennart Poettering [Wed, 6 Mar 2019 10:38:28 +0000 (11:38 +0100)] 
catalog: don't make catalog_entry_lang() clobber output params on failure

A minor fix to bring this in-line with our coding style

5 years agounits: fix systemd.special man page reference in system-update-cleanup.service
Michael Biebl [Thu, 7 Mar 2019 11:02:53 +0000 (12:02 +0100)] 
units: fix systemd.special man page reference in system-update-cleanup.service

5 years agoMerge pull request #11916 from yuwata/pid1-id-renaming-handling
Lennart Poettering [Thu, 7 Mar 2019 13:42:08 +0000 (14:42 +0100)] 
Merge pull request #11916 from yuwata/pid1-id-renaming-handling

core: handle ID_RENAMING= udev property

5 years agoMerge pull request #11918 from keszybz/clang-8
Lennart Poettering [Thu, 7 Mar 2019 13:41:44 +0000 (14:41 +0100)] 
Merge pull request #11918 from keszybz/clang-8

Two trivial changes to build with clang 8

5 years agonspawn: move payload to sub-cgroup first, then sync cgroup trees
Lennart Poettering [Tue, 5 Mar 2019 17:57:53 +0000 (18:57 +0100)] 
nspawn: move payload to sub-cgroup first, then sync cgroup trees

if we sync the legacy and unified trees before moving to the right
subcgroup then ultimately the cgroup paths in the hierarchies will be
out-of-sync... Hence, let's move the payload first, and sync then.

Addresses: https://github.com/systemd/systemd/pull/9762#issuecomment-441187979

5 years agopo: update Polish translation
Piotr Drąg [Wed, 6 Mar 2019 17:59:02 +0000 (18:59 +0100)] 
po: update Polish translation

5 years agotest-execute: avoid undefined variable warning when compiled w/o seccomp 11918/head
Zbigniew Jędrzejewski-Szmek [Thu, 7 Mar 2019 09:56:38 +0000 (10:56 +0100)] 
test-execute: avoid undefined variable warning when compiled w/o seccomp

5 years agobuild-sys: disable -Wstring-plus-int
Zbigniew Jędrzejewski-Szmek [Thu, 7 Mar 2019 09:56:15 +0000 (10:56 +0100)] 
build-sys: disable -Wstring-plus-int

clang-8 warns about constructs like "foobar"+3 (to get "bar"). We
like to use patterns like this, so let's just disable the warning.

5 years agoremove "." path components from required mount paths
Stephane Chazelas [Wed, 6 Mar 2019 22:16:55 +0000 (22:16 +0000)] 
remove "." path components from required mount paths

unit_require_mounts_for may be passed path arguments that contain "."
components like for user's home directories where "." is sometimes used
to specify some form of anchor point.

This change stops considering such path as an error and removes the "."
components instead.

Closes: #11910
5 years agohwdb: Add support for Alienware touchpad toggle
Kai-Heng Feng [Wed, 6 Mar 2019 16:28:10 +0000 (00:28 +0800)] 
hwdb: Add support for Alienware touchpad toggle

BugLink: https://bugs.launchpad.net/bugs/1605433
5 years agoMerge pull request #11911 from keszybz/bootspec-handle-invalid-efi
Lennart Poettering [Thu, 7 Mar 2019 09:01:31 +0000 (10:01 +0100)] 
Merge pull request #11911 from keszybz/bootspec-handle-invalid-efi

Bootspec handle invalid efi

5 years agoTODO: update 11916/head
Yu Watanabe [Thu, 7 Mar 2019 05:49:09 +0000 (14:49 +0900)] 
TODO: update

5 years agotest: add test for ID_RENAMING= udev property handling by pid1
Yu Watanabe [Thu, 7 Mar 2019 05:47:43 +0000 (14:47 +0900)] 
test: add test for ID_RENAMING= udev property handling by pid1

5 years agoman: mention possible actions supported by "udevadm trigger"
Yu Watanabe [Thu, 7 Mar 2019 05:45:38 +0000 (14:45 +0900)] 
man: mention possible actions supported by "udevadm trigger"