Lennart Poettering [Mon, 13 Apr 2020 08:47:40 +0000 (10:47 +0200)]
Merge pull request #15397 from ssahani/vxlan
network: VXlan group and remote fixes
Zbigniew Jędrzejewski-Szmek [Sun, 12 Apr 2020 16:26:05 +0000 (18:26 +0200)]
Remove unneded {}s
$ perl -i -0pe 's|\s+{\n([^\n]*;)\n\s+}\n|\n\1\n|gms' **/*.c
Inspired by
ea7cbf5bdd68d7861ebf1570c439e8bbabd83f6c.
Zbigniew Jędrzejewski-Szmek [Sun, 12 Apr 2020 17:31:53 +0000 (19:31 +0200)]
Merge pull request #15281 from keszybz/functional-test-rework
Post-merge tweaks to the functional tests
Zbigniew Jędrzejewski-Szmek [Sun, 12 Apr 2020 16:38:49 +0000 (18:38 +0200)]
Merge pull request #15406 from DaanDeMeyer/sd-bus-set-exec-docs
Add sd_bus_set_exec docs
Daan De Meyer [Sat, 11 Apr 2020 19:57:36 +0000 (21:57 +0200)]
sd-bus: Add sd_bus_set_exec docs
Vito Caputo [Sat, 4 Apr 2020 13:36:51 +0000 (06:36 -0700)]
home: switch to BusLocator-oriented helpers
Remove some unnecessary verbosity, largely mechanical change with
no functional difference.
Ross Lagerwall [Sat, 11 Apr 2020 16:01:37 +0000 (17:01 +0100)]
hwdb: Add accel orientation quirk for Geoflex laptop
Add a quirk to fix the accelerometer orientation on the Geoflex laptop
so that the display is upright rather than upside-down.
Zbigniew Jędrzejewski-Szmek [Sun, 12 Apr 2020 15:16:07 +0000 (17:16 +0200)]
Merge pull request #15365 from poettering/remount-fs-pstore-fix
pid1: automatically generate systemd-remount-fs.service deps, plus enable systemd-pstore from sysinit.target
Zbigniew Jędrzejewski-Szmek [Sun, 12 Apr 2020 15:05:05 +0000 (17:05 +0200)]
Merge pull request #15405 from DaanDeMeyer/sd-bus-can-send-docs
Add sd_bus_can_send docs
Zbigniew Jędrzejewski-Szmek [Sun, 12 Apr 2020 15:02:55 +0000 (17:02 +0200)]
Merge pull request #15399 from DaanDeMeyer/sd-bus-property-docs
sd_bus_get/set_property docs
Daan De Meyer [Sat, 11 Apr 2020 19:57:28 +0000 (21:57 +0200)]
sd-bus: Use pointer syntax for sd_bus_set_exec argv parameter
Daan De Meyer [Sat, 11 Apr 2020 19:25:39 +0000 (21:25 +0200)]
sd-bus: Add sd_bus_can_send docs
Daan De Meyer [Sat, 11 Apr 2020 19:09:05 +0000 (21:09 +0200)]
sd-bus: Fix sd_bus_close.xml line wrapping
Daan De Meyer [Sat, 11 Apr 2020 19:08:34 +0000 (21:08 +0200)]
meson: Exclude more deprecated functions from check-api-docs
Daan De Meyer [Fri, 10 Apr 2020 19:46:46 +0000 (21:46 +0200)]
sd-bus: Add sd_bus_get/set_property docs
Lennart Poettering [Sat, 11 Apr 2020 16:03:24 +0000 (18:03 +0200)]
docs: introduce documentation category for user/group stuff
We have so many different docs on various facets of user/group stuff,
let's add our own category for it.
Zbigniew Jędrzejewski-Szmek [Sat, 11 Apr 2020 14:26:01 +0000 (16:26 +0200)]
Merge pull request #15376 from poettering/homed-btrfs-subvol-luks
homed: when doing luks homedir with btrfs inside, place subvol at top of fs
Susant Sahani [Fri, 10 Apr 2020 13:50:23 +0000 (15:50 +0200)]
networkctl: Add support to display VXLan remote address
Zbigniew Jędrzejewski-Szmek [Sat, 11 Apr 2020 14:08:33 +0000 (16:08 +0200)]
Merge pull request #15377 from poettering/userdb-no-shadow
don't try to access shadow from logind
Zbigniew Jędrzejewski-Szmek [Sat, 11 Apr 2020 14:05:11 +0000 (16:05 +0200)]
Merge pull request #15392 from keszybz/flag-helper
Flag setting helper and some other minor cleanups
Susant Sahani [Fri, 10 Apr 2020 13:37:21 +0000 (15:37 +0200)]
network: VXLan - Add support for remote address
Daan De Meyer [Fri, 10 Apr 2020 19:31:29 +0000 (21:31 +0200)]
sd-bus: sd_bus_message_append fixes
Lennart Poettering [Thu, 9 Apr 2020 17:02:57 +0000 (19:02 +0200)]
docs: add some documentation about hooking up userdb/homed to desktop environments
Prompted by some inquires from the GNOME camp. let's document this here,
since other DEs might be interested too.
Zbigniew Jędrzejewski-Szmek [Thu, 9 Apr 2020 12:24:11 +0000 (14:24 +0200)]
Add yet another tiny helper to manipulate flags
Zbigniew Jędrzejewski-Szmek [Wed, 8 Apr 2020 21:46:49 +0000 (23:46 +0200)]
man: fix garbled paragraph in systemd.network(3)
The following message was emitted:
"Element term in namespace encountered in para, but no template matches."
Zbigniew Jędrzejewski-Szmek [Tue, 7 Apr 2020 09:17:34 +0000 (11:17 +0200)]
busctl: wrap long lines
Zbigniew Jędrzejewski-Szmek [Tue, 7 Apr 2020 07:39:46 +0000 (09:39 +0200)]
busctl: use the pager everywhere
There is no reason to assume that the user doesn't want the pager
even if they are looking at xml output or such.
Lennart Poettering [Thu, 9 Apr 2020 09:11:02 +0000 (11:11 +0200)]
man: extend documentation of the suspend= switch of pam_systemd_home
As suggested on #15343.
Fixes: #15343
Lennart Poettering [Thu, 9 Apr 2020 15:13:12 +0000 (17:13 +0200)]
docs: add brief document how to convert home directories to homed
Susant Sahani [Fri, 10 Apr 2020 13:29:10 +0000 (15:29 +0200)]
network: VXLan - fix adding Group address
nerdopolis [Thu, 9 Apr 2020 21:22:07 +0000 (17:22 -0400)]
login: Fix incorrect reporting of CanMultiSession=no on non-seat0 seats
Vito Caputo [Fri, 10 Apr 2020 07:34:37 +0000 (00:34 -0700)]
bus: add sd_bus_message_new_method_call() helper
adds BusLocator variant called bus_message_new_method_call()
Vito Caputo [Thu, 9 Apr 2020 16:54:32 +0000 (09:54 -0700)]
bus: s/BusAddress/BusLocator/
Mechanical rename in response to
https://github.com/systemd/systemd/pull/15331#issuecomment-
611472240
Anita Zhang [Thu, 9 Apr 2020 22:27:12 +0000 (15:27 -0700)]
Merge pull request #15379 from poettering/homed-man-ref-add
man: reference pam_systemd_home man page from systemd-homed man page
Anita Zhang [Thu, 9 Apr 2020 21:18:37 +0000 (14:18 -0700)]
Merge pull request #15361 from mrc0mmand/yet-another-TEST-47-tweak
test: wait a bit after stopping the test service
Lennart Poettering [Thu, 9 Apr 2020 18:03:19 +0000 (20:03 +0200)]
bootctl: fix assert issue
Follow-up for
b46c3e4913f7f234039ebd8104446450917cab8d
Lennart Poettering [Thu, 9 Apr 2020 17:26:36 +0000 (19:26 +0200)]
docs: fix typo now → not
Lennart Poettering [Thu, 9 Apr 2020 17:24:44 +0000 (19:24 +0200)]
docs: add missing dash
Lennart Poettering [Thu, 9 Apr 2020 16:49:22 +0000 (18:49 +0200)]
Merge pull request #15352 from poettering/user-group-name-valdity-rework
user/group name validity rework
Lennart Poettering [Thu, 9 Apr 2020 15:15:55 +0000 (17:15 +0200)]
Merge pull request #15318 from fbuihuu/inherit-umask-for-user-units
pid1: by default make user units inherit their umask from the user ma…
Lennart Poettering [Thu, 9 Apr 2020 15:15:26 +0000 (17:15 +0200)]
Merge pull request #15332 from keszybz/coredump-filter
CoredumpFilter=
Lennart Poettering [Thu, 9 Apr 2020 15:11:20 +0000 (17:11 +0200)]
man: reference pam_systemd_home man page from systemd-homed man page
They are very closely related after all.
Lennart Poettering [Thu, 9 Apr 2020 12:28:56 +0000 (14:28 +0200)]
logind: avoid shadow lookups when doing userdb client side
Let's not trigger MACs needlessly.
Ideally everybody would turn on userdb, but if people insist in not
doing so, then let's not attempt to open shadow.
It's a bit ugly to implement this, since shadow information is more than
just passwords (but accound validity metadata), and thus userdb's own
"privieleged" scheme is orthogonal to this, but let's still do this for
the client side.
Fixes: #15105
Lennart Poettering [Thu, 9 Apr 2020 12:28:34 +0000 (14:28 +0200)]
userdb: when doing client-side NSS look-ups optionally avoid shadow look-ups
Lennart Poettering [Thu, 9 Apr 2020 12:27:57 +0000 (14:27 +0200)]
pam-systemd-home: drop redundant newline
Jian-Hong Pan [Thu, 9 Apr 2020 08:20:36 +0000 (16:20 +0800)]
hwdb: Fix kbd brightness keys on Acer Predator PH 315-52
Acer defines Fn+F9/10 as keyboard brightness down/up on Predator PH
315-52 laptop. So, add the quirk to correct key mappings.
Franck Bui [Fri, 3 Apr 2020 08:00:25 +0000 (10:00 +0200)]
pid1: by default make user units inherit their umask from the user manager
This patch changes the way user managers set the default umask for the units it
manages.
Indeed one can expect that if user manager's umask is redefined through PAM
(via /etc/login.defs or pam_umask), all its children including the units it
spawns have their umask set to the new value.
Hence make user units inherit their umask value from their parent instead of
the hard coded value 0022 but allow them to override this value via their unit
file.
Note that reexecuting managers with 'systemctl daemon-reexec' after changing
UMask= has no effect. To take effect managers need to be restarted with
'systemct restart' instead. This behavior was already present before this
patch.
Fixes #6077.
Zbigniew Jędrzejewski-Szmek [Thu, 9 Apr 2020 10:44:46 +0000 (12:44 +0200)]
manager: also log at debug level failure to read oom_score_adj
Zbigniew Jędrzejewski-Szmek [Sat, 4 Apr 2020 14:43:25 +0000 (16:43 +0200)]
manager: add CoredumpFilter= setting
Fixes #6685.
Lennart Poettering [Thu, 9 Apr 2020 11:55:35 +0000 (13:55 +0200)]
Merge pull request #15345 from keszybz/systemctl-show-spaces
Show Environment= entries with spaces in systemctl
Zbigniew Jędrzejewski-Szmek [Sat, 4 Apr 2020 13:02:12 +0000 (15:02 +0200)]
Add parser and printer for coredump filter mask
Lennart Poettering [Thu, 9 Apr 2020 09:57:15 +0000 (11:57 +0200)]
homed: when creating home directory as btrfs inside luks volume, place subvol inside it
When managing a home directory as LUKS image we currently place a
directory at the top that contains the actual home directory (so that
the home directory of the user won't be cluttered by lost-found and
suchlike). On btrfs let's make that a subvol though. This is a good idea
so that possibly later on we can make use of this for automatic history
management.
Fixes: #15121
Lennart Poettering [Thu, 9 Apr 2020 09:57:00 +0000 (11:57 +0200)]
import: use our new btrfs_subvol_make_fallback() at two places
Lennart Poettering [Thu, 9 Apr 2020 09:56:23 +0000 (11:56 +0200)]
btrfs-util: define helper that creates a btrfs subvol if we can, and a directory as fallback
Luca Boccassi [Thu, 9 Apr 2020 09:51:23 +0000 (10:51 +0100)]
man: add missing varname around keywords in systemd.unit.xml
Luca Boccassi [Wed, 8 Apr 2020 14:39:20 +0000 (15:39 +0100)]
man: explicitly note that ExecSt*Post does count for After/Before ordering
Zbigniew Jędrzejewski-Szmek [Thu, 9 Apr 2020 09:18:26 +0000 (11:18 +0200)]
basic/parse-util: add safe_atoux64()
Lennart Poettering [Wed, 8 Apr 2020 17:54:44 +0000 (19:54 +0200)]
sleep: improve log msg slightly
Let's make the log msgs a bit longer, to make clearer what is going on
here...
Prompted bymy attempts to debug #15354
Zbigniew Jędrzejewski-Szmek [Thu, 9 Apr 2020 08:17:18 +0000 (10:17 +0200)]
Merge pull request #15368 from poettering/color-fix
minor terminal ansi color seq fixes
Wen Yang [Mon, 23 Mar 2020 02:42:46 +0000 (10:42 +0800)]
mount-setup: change the system mount propagation to shared by default only at bootup
The commit
b3ac5f8cb987 has changed the system mount propagation to
shared by default, and according to the following patch:
https://github.com/opencontainers/runc/pull/208
When starting the container, the pouch daemon will call runc to execute
make-private.
However, if the systemctl daemon-reexec is executed after the container
has been started, the system mount propagation will be changed to share
again by default, and the make-private operation above will have no chance
to execute.
Zbigniew Jędrzejewski-Szmek [Mon, 6 Apr 2020 07:57:07 +0000 (09:57 +0200)]
systemctl: show Environment entries with whitespace
This makes the Environment entries more round-trippable: a similar format is
used for input and output. It is certainly more useful for users, because
showing [unprintable] on anything non-trivial makes systemctl show -p Environment
useless in many cases.
Fixes: #14723 and https://bugzilla.redhat.com/show_bug.cgi?id=
1525593.
$ systemctl --user show -p Environment run-*.service
Environment=ASDF=asfd "SPACE= "
Environment=ASDF=asfd "SPACE=\n\n\n"
Environment=ASDF=asfd "TAB=\t\\" "FOO=X X"
Zbigniew Jędrzejewski-Szmek [Mon, 6 Apr 2020 07:50:51 +0000 (09:50 +0200)]
shared/escape: add new escape style with \n\t escaped
Zbigniew Jędrzejewski-Szmek [Thu, 9 Apr 2020 07:32:58 +0000 (09:32 +0200)]
Merge pull request #15331 from vcaputo/busdpi
bus: introduce some sd-bus convenience helpers
Marc-André Lureau [Wed, 8 Apr 2020 12:57:52 +0000 (14:57 +0200)]
systemd-run: add --slice-inherit
Add a new option to easily place a slice within the systemd-run slice.
Lennart Poettering [Wed, 8 Apr 2020 16:45:31 +0000 (18:45 +0200)]
man: correct the default slice for systemd-run units
As suggested in #15362
Lennart Poettering [Thu, 9 Apr 2020 07:03:47 +0000 (09:03 +0200)]
Merge pull request #15234 from ssahani/mud-lldp
LLDP : Introduce Manufacturer Usage Description (MUD)
Lennart Poettering [Wed, 8 Apr 2020 17:45:08 +0000 (19:45 +0200)]
test-terminal-util: fix typo
Lennart Poettering [Wed, 8 Apr 2020 17:43:44 +0000 (19:43 +0200)]
terminal-util: fixate underlined yellow color too
non-underlined yellow uses RGB ANSI sequences while the underlined
version uses the paletted ANSI sequences. Let's unify that and use the
RGB sequence for both cases, so that underlined or not doesn't alter the
color.
Lennart Poettering [Tue, 7 Apr 2020 09:15:49 +0000 (11:15 +0200)]
catalog: add entry for SD_MESSAGE_UNSAFE_USER_NAME
Lennart Poettering [Tue, 7 Apr 2020 09:04:59 +0000 (11:04 +0200)]
docs: hook up the new USER_NAMES document everywhere
(Also correct the set of names we accept in User=, which was forgotten
to be updated in
ae480f0b09aec815b64579bb1828ea935d8ee236.
Lennart Poettering [Tue, 7 Apr 2020 08:38:39 +0000 (10:38 +0200)]
docs: add a longer document explaining our rules on user/group names
Lennart Poettering [Sat, 4 Apr 2020 10:23:02 +0000 (12:23 +0200)]
user-util: rework how we validate user names
This reworks the user validation infrastructure. There are now two
modes. In regular mode we are strict and test against a strict set of
valid chars. And in "relaxed" mode we just filter out some really
obvious, dangerous stuff. i.e. strict is whitelisting what is OK, but
"relaxed" is blacklisting what is really not OK.
The idea is that we use strict mode whenver we allocate a new user
(i.e. in sysusers.d or homed), while "relaxed" mode is when we process
users registered elsewhere, (i.e. userdb, logind, …)
The requirements on user name validity vary wildly. SSSD thinks its fine
to embedd "@" for example, while the suggested NAME_REGEX field on
Debian does not even allow uppercase chars…
This effectively liberaralizes a lot what we expect from usernames.
The code that warns about questionnable user names is now optional and
only used at places such as unit file parsing, so that it doesn't show
up on every userdb query, but only when processing configuration files
that know better.
Fixes: #15149 #15090
Lennart Poettering [Fri, 3 Apr 2020 20:27:09 +0000 (22:27 +0200)]
userdbctl: drop redundant user name validity check
The userdb_by_name() invocation immediately following does the same check
anyway, no need to do this twice.
(Also, make sure we exit the function early on failure)
Lennart Poettering [Wed, 8 Apr 2020 14:25:03 +0000 (16:25 +0200)]
units: make sure systemd-pstore stops at shutdown
This doesn't matter too much given that the service doesn't do anything
on shutdown, but let's still stop it to make things cleaner.
Lennart Poettering [Wed, 8 Apr 2020 14:24:23 +0000 (16:24 +0200)]
units: drop systemd-remount-fs.service dependency from more services
All services using StateDirectory= don't need the explicit dep anymore,
let's hence drop it everywhere.
Lennart Poettering [Wed, 8 Apr 2020 14:10:38 +0000 (16:10 +0200)]
units: drop dependency on systemd-remount-fs.service from systemd-pstore.service
This dependency is now generated automatically given we use
StateDirectory=. Moreover the combination of Wants= and After= was too
strong anway, as whether remount-fs is pulled in or not should not be up
to systemd-pstore.service, and in fact is part of the initial
transaction anyway.
Lennart Poettering [Wed, 8 Apr 2020 14:08:35 +0000 (16:08 +0200)]
core: automatically add dependency on systemd-remount-fs.service if StateDirectory= is used
And similar for other settings that require a writable /var/.
Rationale: if these options are used for early-boot services (such as
systemd-pstore.service) we need /var/ writable. And if /var/ is on the
root fs, then systemd-remount-fs.service is the service that ensures
that /var/ is writable.
This allows us to remove explicit deps in services such as
systemd-pstore.service.
Lennart Poettering [Wed, 8 Apr 2020 14:12:00 +0000 (16:12 +0200)]
units: pull in systemd-pstore.service from sysinit.target
sysinit.target is the target our early boot services are generally
pulled in from, make systemd-pstore.service not an exception of that.
Effectively this doesn't mean much, either way our unit is part of the
initial transaction.
Frantisek Sumsal [Wed, 8 Apr 2020 10:12:46 +0000 (12:12 +0200)]
test: wait a bit after stopping the test service
Give systemd a chance to process the stop event before checking if the
PID has indeed leaked. This should fix the intermittent test fails in CI
even with a fixed systemd version, like this one:
```
Apr 08 10:22:09 testsuite-47.sh[345]: ++ cat /leakedtestpid
Apr 08 10:22:09 testsuite-47.sh[334]: + leaked_pid=342
Apr 08 10:22:09 testsuite-47.sh[334]: + systemctl stop testsuite-47-repro
Apr 08 10:22:10 testsuite-47.sh[334]: + ps -p 342
Apr 08 10:22:10 testsuite-47.sh[348]: PID TTY TIME CMD
Apr 08 10:22:10 testsuite-47.sh[348]: 342 ? 00:00:00 sleep
Apr 08 10:22:10 testsuite-47.sh[334]: + exit 42
```
Followup to
197298ff9fc930de450330095cc5b67d165d0801
Anita Zhang [Wed, 8 Apr 2020 00:52:45 +0000 (17:52 -0700)]
Merge pull request #15358 from poettering/preset-clean-up
preset: let's clean up preset list a bit
Susant Sahani [Mon, 30 Mar 2020 19:57:58 +0000 (21:57 +0200)]
LLDP: Add support to transmit MUD URL
Lennart Poettering [Tue, 7 Apr 2020 17:01:00 +0000 (19:01 +0200)]
preset: let's clean up preset list a bit
let's make sure we list all singleton units we define in the preset
list, either as disable or as enable. Only four were missing, let's add
them in.
Also, let's group the pstore one with the other ones that are enabled,
right at the top.
Susant Sahani [Mon, 30 Mar 2020 19:57:14 +0000 (21:57 +0200)]
sd-lldp: Add support to receive MUD
Lennart Poettering [Tue, 7 Apr 2020 15:07:04 +0000 (17:07 +0200)]
Merge pull request #14930 from tomhughes/dnssec-canonicalise
Canonicalise names in DNS responses per RFC4034 requirements
Topi Miettinen [Thu, 2 Apr 2020 18:18:11 +0000 (21:18 +0300)]
units: add ProtectClock=yes
Add `ProtectClock=yes` to systemd units. Since it implies certain
`DeviceAllow=` rules, make sure that the units have `DeviceAllow=` rules so
they are still able to access other devices. Exclude timesyncd and timedated.
Zbigniew Jędrzejewski-Szmek [Fri, 3 Apr 2020 16:17:18 +0000 (18:17 +0200)]
Remove message->priority field
A warning is emitted from sd_bus_message_{get,set}_priority. Those functions
are exposed by pystemd, so we have no easy way of checking if anything is
calling them.
Just making the functions always return without doing anything would be an
option, but then we could leave the caller with an undefined variable. So I
think it's better to make the functions emit a warnings and return priority=0
in the get operation.
Zbigniew Jędrzejewski-Szmek [Fri, 3 Apr 2020 20:05:25 +0000 (22:05 +0200)]
sysctl: enable coredump for suid binaries
Right now the kernel will not dump anything that went through setuid or
setgid. But it is routine for daemons to do that, and it makes things hard to
debug.
systemd-coredump saves the coredump readable by the users the process was
running as. This should be enough to avoid information leakage. So let's also
tell the kernel to do the coredump.
For https://bugzilla.redhat.com/show_bug.cgi?id=
1790972.
Both patterns are stored in the same file, so they are enabled or disabled
together. (Though suid_dumpable=2 is supposed to be safe even when writing to
plain files.)
root [Sat, 4 Apr 2020 03:35:22 +0000 (22:35 -0500)]
fix manager_state
Hans de Goede [Sun, 5 Apr 2020 14:01:32 +0000 (16:01 +0200)]
hwdb: Add accel orientation quirk for MPMAN MPWIN895CL tablet
Add a quirk to fix the accelerometer orientation on the MPMAN MPWIN895CL
tablet.
Lennart Poettering [Tue, 7 Apr 2020 12:10:56 +0000 (14:10 +0200)]
Merge pull request #15349 from keszybz/doc-work
Remove stray file and fix two minor issues in man pages
Zbigniew Jędrzejewski-Szmek [Mon, 6 Apr 2020 18:47:14 +0000 (20:47 +0200)]
man: update rules
Apparently this step was forgotten in
935052a8aa11329061cbee234c99b03973163594.
Zbigniew Jędrzejewski-Szmek [Fri, 3 Apr 2020 16:32:53 +0000 (18:32 +0200)]
Remove stray file
Zbigniew Jędrzejewski-Szmek [Wed, 1 Apr 2020 19:55:58 +0000 (21:55 +0200)]
man: drop apostophe from section title
For whatever reason, this does not get rendered propely in the man
page and results in an invalid code:
W: manual-page-warning /usr/share/man/man7/systemd.special.7.gz 103: warning: macro `AQ' not defined
We say 'user manager' and 'system manager' in most other places, so let's just
use this form here too.
Marcel Holtmann [Sun, 5 Apr 2020 08:01:14 +0000 (10:01 +0200)]
hwdb: Update database of Bluetooth company identifiers
Vito Caputo [Sat, 4 Apr 2020 05:35:42 +0000 (22:35 -0700)]
bus: introduce some sd-bus convenience helpers
Many of the convenience functions from sd-bus operate on verbose sets
of discrete strings for destination/path/interface/member.
For most callers, destination/path/interface are uniform, and just the
member is distinct.
This commit introduces a new struct encapsulating the
destination/path/interface pointers called BusAddress, and wrapper
functions which take a BusAddress* instead of three strings, and just
pass the encapsulated strings on to the sd-bus convenience functions.
Future commits will update call sites to use these helpers throwing
out a bunch of repetitious destination/path/interface strings littered
throughout the codebase, replacing them with some appropriately named
static structs passed by pointer to these new helpers.
Evgeny Vereshchagin [Sat, 4 Apr 2020 17:22:02 +0000 (17:22 +0000)]
oss-fuzz: point the badge directly to our logs
Evgeny Vereshchagin [Sat, 4 Apr 2020 15:58:25 +0000 (15:58 +0000)]
semaphore: switch to upstream-ci
"debian/master" has been broken since
https://salsa.debian.org/systemd-team/systemd/-/commit/
d6483013d5779d4d465a1e174e44a754b941d0e6
was merged.
Zbigniew Jędrzejewski-Szmek [Fri, 3 Apr 2020 17:38:50 +0000 (19:38 +0200)]
detect-virt: also detect "microsoft" as WSL
From https://github.com/microsoft/WSL/issues/423#issuecomment-
221627364:
> it's unlikely we'll change it to something that doesn't contain "Microsoft"
> or "WSL".
... but well, it happened. If they change it incompatibly w/o adding an stable
detection mechanism, I think we should not add yet another detection method.
But adding a different casing of "microsoft" is not a very big step, so let's
do that.
Follow-up for #11932.
Lennart Poettering [Sat, 4 Apr 2020 09:22:59 +0000 (11:22 +0200)]
Merge pull request #15298 from keszybz/show-property-value
systemctl --property-value as shortcut for --property --value
Anita Zhang [Fri, 3 Apr 2020 23:15:51 +0000 (16:15 -0700)]
Merge pull request #15321 from topimiettinen/dbus-execute-add-protect-clock
dbus-execute: show also ProtectClock