Romain Naour [Mon, 2 Mar 2020 05:48:21 +0000 (06:48 +0100)]
random-seed: add missing header for GRND_NONBLOCK (#14988)
GRND_NONBLOCK has been introduced with the 3.17 kernel version [1]
while adding getrandom(2) system call.
The header missing_random.h is needed for random-seed.c when building
with old toolchain, such Sourcery CodeBench ARM 2014.05 (kernel headers
3.13).
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/
454255917
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=
c6e9d6f38894798696f23c8084ca7edbf16ee895
Piotr Drąg [Sun, 1 Mar 2020 13:47:36 +0000 (14:47 +0100)]
po: update Polish translation
AsciiWolf [Sun, 1 Mar 2020 12:44:36 +0000 (13:44 +0100)]
l10n: update Czech Translation
Yu Watanabe [Mon, 2 Mar 2020 05:44:00 +0000 (14:44 +0900)]
Merge pull request #14983 from ssahani/dhcp-use-routes-14982
network: Allow to configure GW even if UseRoutes=false
Zbigniew Jędrzejewski-Szmek [Sun, 1 Mar 2020 22:37:41 +0000 (23:37 +0100)]
Merge pull request #14976 from keszybz/show-status-message
core: fix message about show status state
Yu Watanabe [Sun, 1 Mar 2020 16:28:01 +0000 (01:28 +0900)]
test-network: add a test case for [DHCPv4] UseRoutes=no
Susant Sahani [Sun, 1 Mar 2020 04:12:39 +0000 (05:12 +0100)]
network: Allow to configure GW even UseRoutes=false
When use UseRoutes=False so the DHCP request itself does not request
for Classless Static Routes option.
As a result, the DHCP server will only respond with a Router option.
In this case since we are using the UseRoutes=False option the gateway
that comes in via the router option does not get configured.
This patch fixes theis behaviour.
Peter Hutterer [Mon, 10 Feb 2020 04:32:48 +0000 (14:32 +1000)]
rules.d: import the keyboard builtin instead of running it
RUN seems to be used primarily for historical reasons over the more
immediate IMPORT command. As a side-effect, RUN also runs *after* all the
rules have been processed which is not really what we want here - we expect
the device to be updated immediately. Other rules that rely on accurate evdev
axes should be able to assume the axes are already present. So let's use
IMPORT here.
For consistency, the second two rules are split across multiple lines as well.
Yu Watanabe [Mon, 10 Feb 2020 05:50:03 +0000 (14:50 +0900)]
resolve: error handling improvements
Daniele Medri [Sun, 1 Mar 2020 08:24:12 +0000 (09:24 +0100)]
Italian: removed spurious lines of old labels
Daniele Medri [Thu, 27 Feb 2020 16:33:35 +0000 (17:33 +0100)]
italian: language updates
Zbigniew Jędrzejewski-Szmek [Sat, 29 Feb 2020 16:49:50 +0000 (17:49 +0100)]
pid1: add new mode systemd.show-status=error and use it when 'quiet' is passed
systemd.show-status=error is useful for the case where people care about errors
only.
If people want to have a quiet boot, they most likely don't want to see all
status output even if there is a delay in boot, so make "quiet" imply
systemd.show-status=error instead of systemd.show-status=auto.
Fixes #14976.
Zbigniew Jędrzejewski-Szmek [Sat, 29 Feb 2020 16:19:46 +0000 (17:19 +0100)]
pid1: when showing error status, do not switch to status=temporary
We would flip to status=temporary mode on the first error, and then switch back
to status=auto after the initial transaction was done. This isn't very useful,
because usually all the messages about successfully started units and not
related to the original failure. In fact, all those messages most likely cause
the information about the prime error to scroll off screen. And if the user
requested quiet boot, there's no reason to think that they care about those
success messages.
Also, when logging about dependency cycles, treat this similarly to a unit
error and show the message even if the status is "soft disabled" (before we
wouldn't show it in that case).
Zbigniew Jędrzejewski-Szmek [Sat, 29 Feb 2020 15:29:42 +0000 (16:29 +0100)]
pid1: make cylon timeout significantly bigger when not showing any messages
When we are booting with show-status=on, normally new status updates happen a
few times per second. Thus, it is reasonable to start showing the cylon eye
after 5 s, because that means a significant delay has happened. When we are
running with show-status=off or show-status=auto (and no error had occured),
the user is expecting maybe 15 to 90 seconds with no output (because that's
usually how long the whole boot takes). So we shouldn't bother the user with
information about a few seconds of delay. Let's make the timeout 25s if we are
not showing any messages.
Conversly, when we are outputting status messages, we can show the cylon eye
with a shorter delay, now that we removed the connection to enablement status.
Let's make this 2s, so users get feedback about delays more quickly.
Zbigniew Jędrzejewski-Szmek [Sat, 29 Feb 2020 10:30:16 +0000 (11:30 +0100)]
pid1: touch the /run/systemd/show-status just once
We know if we created the file before, no need to repeat the operation. The
state in /run should always match our internal state. Since we call
manager_set_show_status() quite often internally, this saves quite a few
pointless syscalls.
Zbigniew Jędrzejewski-Szmek [Sat, 29 Feb 2020 09:59:27 +0000 (10:59 +0100)]
pid1: when printing status message status, give reason
Zbigniew Jędrzejewski-Szmek [Fri, 28 Feb 2020 21:49:19 +0000 (22:49 +0100)]
core: fix message about show status state
We would say "Enabling" also for SHOW_STATUS_AUTO, which is actually
"soft off". So just print the exact state to make things easier to understand.
Also add a helper function to avoid repeating the enum value list.
For #14814.
Yu Watanabe [Sun, 1 Mar 2020 04:17:00 +0000 (13:17 +0900)]
Merge pull request #14966 from keszybz/journalctl-facilities
journalctl: filtering by facility
Hans de Goede [Tue, 11 Feb 2020 11:27:10 +0000 (12:27 +0100)]
hwdb: Add Medion Akoya E1239T MD60568 to 60-sensor.hwdb
Unlike newer Medion Akoya E* models for which we have a generic
wildcard match, this model uses a somewhat older KIOX0009 accelerometer.
Not only does our generic catch all not match, we also need a different
matrix for this model, so add a model-specific entry for it.
Zbigniew Jędrzejewski-Szmek [Thu, 27 Feb 2020 20:36:42 +0000 (21:36 +0100)]
journalctl: implement --facility=foo
Fixes #9716.
Yu Watanabe [Sat, 29 Feb 2020 13:38:02 +0000 (22:38 +0900)]
homed: fix typo
Yu Watanabe [Sat, 29 Feb 2020 14:36:23 +0000 (23:36 +0900)]
Merge pull request #14979 from keszybz/enable-pstore-by-default
Enable pstore by default
Topi Miettinen [Fri, 28 Feb 2020 18:43:28 +0000 (18:43 +0000)]
Revert "namespace: fix MAC labels of /dev when PrivateDevices=yes"
This reverts commit
e6e81ec0a56861b905db975fc32c83e2f2faca7d.
Zbigniew Jędrzejewski-Szmek [Fri, 28 Feb 2020 13:49:17 +0000 (14:49 +0100)]
pid1: do not fail if we get EPERM while setting up network name
In a user namespace container:
Feb 28 12:45:53
0b2420135953 systemd[1]: Starting Home Manager...
Feb 28 12:45:53
0b2420135953 systemd[21]: systemd-homed.service: Failed to set up network namespacing: Operation not permitted
Feb 28 12:45:53
0b2420135953 systemd[21]: systemd-homed.service: Failed at step NETWORK spawning /usr/lib/systemd/systemd-homed: Operation not permitted
Feb 28 12:45:53
0b2420135953 systemd[1]: systemd-homed.service: Main process exited, code=exited, status=225/NETWORK
Feb 28 12:45:53
0b2420135953 systemd[1]: systemd-homed.service: Failed with result 'exit-code'.
Feb 28 12:45:53
0b2420135953 systemd[1]: Failed to start Home Manager.
We should treat this similarly to the case where network namespace are not
supported at all.
https://bugzilla.redhat.com/show_bug.cgi?id=
1807465
Nate Jones [Sat, 29 Feb 2020 01:31:23 +0000 (20:31 -0500)]
execute: Make '+' exec prefix ignore PrivateTmp=yes
The man pages state that the '+' prefix in Exec* directives should
ignore filesystem namespacing options such as PrivateTmp. Now it does.
This is very similar to #8842, just with PrivateTmp instead of
PrivateDevices.
Zbigniew Jędrzejewski-Szmek [Sat, 29 Feb 2020 09:01:39 +0000 (10:01 +0100)]
presets: enable systemd-pstore.service by default
It has no effect is the pstore is not used, and prevents the non-volatile
storage from filling up if is used by the kernel.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952767
Zbigniew Jędrzejewski-Szmek [Sat, 29 Feb 2020 08:57:06 +0000 (09:57 +0100)]
man: add .service suffix to systemd-pstore(8)
That is the pattern that we always use with executables not in
$PATH.
Zbigniew Jędrzejewski-Szmek [Sat, 29 Feb 2020 08:48:44 +0000 (09:48 +0100)]
man: tweak markup in systemd-pstore.service(8)
Zbigniew Jędrzejewski-Szmek [Fri, 28 Feb 2020 20:36:12 +0000 (21:36 +0100)]
Merge pull request #14968 from keszybz/docs
Assorted updates to documentation
Zbigniew Jędrzejewski-Szmek [Fri, 28 Feb 2020 16:02:23 +0000 (17:02 +0100)]
man: add missing refnames for two binary names
We generally want the man page to also be available under the
binary name, but the <refname> tags were missing in two cases.
Zbigniew Jędrzejewski-Szmek [Fri, 28 Feb 2020 10:47:03 +0000 (11:47 +0100)]
docs: interlink the docs to make it easier to navigate
Zbigniew Jędrzejewski-Szmek [Fri, 28 Feb 2020 10:45:30 +0000 (11:45 +0100)]
docs: say XBOOTLDR instead of just giving the GPT identifier
Fixes #14832.
Also, say "MBR partition table" and not "MBR disk label". "disk label" doesn't
seem to mean anything.
Zbigniew Jędrzejewski-Szmek [Fri, 28 Feb 2020 10:09:16 +0000 (11:09 +0100)]
meson: explain GIT_VERSION and PROJECT_VERSION
Fixes #11415.
Zbigniew Jędrzejewski-Szmek [Fri, 28 Feb 2020 10:27:09 +0000 (11:27 +0100)]
man: fix links to ssh(1) and sshd(8)
'openssh' wasn't even defined.
Zbigniew Jędrzejewski-Szmek [Fri, 28 Feb 2020 09:56:38 +0000 (10:56 +0100)]
man: add explanation where environment.d are inherited
This is far from trivial, I guess.
Fixes #14714.
Yu Watanabe [Fri, 28 Feb 2020 11:59:16 +0000 (20:59 +0900)]
network: fix typo in comment
Topi Miettinen [Tue, 18 Feb 2020 11:18:39 +0000 (13:18 +0200)]
namespace: fix MAC labels of /dev when PrivateDevices=yes
Without changing the SELinux label for private /dev of a service, it will take
a generic file system label:
system_u:object_r:tmpfs_t:s0
After this change it is the same as without `PrivateDevices=yes`:
system_u:object_r:device_t:s0
This helps writing SELinux policies, as the same rules for `/dev` will apply
despite any `PrivateDevices=yes` setting.
Yu Watanabe [Thu, 27 Feb 2020 17:10:15 +0000 (02:10 +0900)]
network: assume Scope=host when Address= is loopback address
Fixes #14903.
Anita Zhang [Fri, 28 Feb 2020 01:16:35 +0000 (17:16 -0800)]
Merge pull request #14964 from yuwata/conf-parser-fix-line-number
conf-parser: fix line number in error message
Anita Zhang [Fri, 28 Feb 2020 01:16:02 +0000 (17:16 -0800)]
Merge pull request #14965 from keszybz/journal-rotation-hint
systemctl: be more specific when emitting warning about rotated journal
Anita Zhang [Fri, 28 Feb 2020 01:10:19 +0000 (17:10 -0800)]
Merge pull request #14960 from yuwata/udevadm-info-export-db-error-message
udevadm: show more error message during exporting database
Zbigniew Jędrzejewski-Szmek [Thu, 27 Feb 2020 20:28:54 +0000 (21:28 +0100)]
basic/string-table: avoid crash when table is sparse
Generated _from_string() would crash when invoked on a table with some
holes.
Zbigniew Jędrzejewski-Szmek [Thu, 27 Feb 2020 18:51:57 +0000 (19:51 +0100)]
systemctl: be more specific when emitting warning about rotated journal
See inline comment for disucssion.
Fixes #14281.
Yu Watanabe [Thu, 27 Feb 2020 17:37:11 +0000 (02:37 +0900)]
conf-parser: fix line number in error message
Fixes #14929.
Rocka [Thu, 27 Feb 2020 12:16:34 +0000 (20:16 +0800)]
hwdb: add cube i7
Yu Watanabe [Thu, 27 Feb 2020 13:27:13 +0000 (22:27 +0900)]
udevadm: show more error message during exporting database
Closes #14959.
Balint Reczey [Mon, 16 Dec 2019 18:03:19 +0000 (19:03 +0100)]
pstore: Don't start systemd-pstore.service in containers
Usually it is not useful and can also fail making
boot-and-services autopkgtest fail.
Yu Watanabe [Sun, 9 Feb 2020 14:44:11 +0000 (23:44 +0900)]
network: remove redundant %m in error message
Peter Hutterer [Fri, 21 Feb 2020 02:50:28 +0000 (12:50 +1000)]
udev-builtin-input_id: any i2c mouse is a pointing stick
Where we have a device that looks like a mouse and is connected over i2c, tag
it as pointing stick. There is no such thing as a i2c mouse.
Even touchpads that aren't recognized by the kernel will not show up as i2c
mouse - either the touchpad follows the Win8.1 specs in which case the kernel
switches it to multitouch mode and it shows up like a touchpad. The built-in
trackpoint, if any, is then the i2c mouse device.
Where the touchpad doesn't follow the spec, the kernel will not handle it and
the touchpad remains on the PS/2 legacy bus - not i2c. Hence we can assume
that any i2c mouse device is really a pointing stick.
Yu Watanabe [Thu, 27 Feb 2020 10:53:20 +0000 (19:53 +0900)]
Merge pull request #14953 from yuwata/userdb-fix-groupdb
userdb: make groupdb_all() always set iterator when it returns >= 0
Yu Watanabe [Thu, 27 Feb 2020 09:05:14 +0000 (18:05 +0900)]
userdb: make groupdb_all() always set iterator when it returns >= 0
Yu Watanabe [Thu, 27 Feb 2020 09:04:47 +0000 (18:04 +0900)]
userdb: drop unnecessary goto
Lukas K [Sat, 22 Feb 2020 19:11:10 +0000 (20:11 +0100)]
fix ACCEL_MOUNT_MATRIX for Thinkpad Yoga 11e 3rd gen
the modalias reported by udev is acpi:BOSC0200:BOSC0200: but the rules
only matched acpi:BOSC0200:BOSC0200 (without the trailing colon)
change to acpi:BOSC0200* as in other models
Mike Gilbert [Sat, 22 Feb 2020 18:30:48 +0000 (13:30 -0500)]
userdb: allow dots in username
This prevents an error in pam_systemd when logging in.
sshd[
2623165]: pam_unix(sshd:session): session opened for user tony.stark(uid=10001) by (uid=0)
sshd[
2623165]: pam_systemd(sshd:session): Failed to get user record: Invalid argument
Bug: https://bugs.gentoo.org/708824
James Buren [Wed, 12 Feb 2020 21:43:06 +0000 (15:43 -0600)]
hwdb: Fix rotation for Nuvision Encite Split 11
Model number NES11-C432SSA
HATAYAMA Daisuke [Thu, 25 Jul 2019 03:54:48 +0000 (23:54 -0400)]
swap: finish the secondary swap units' jobs if deactivation of the primary swap unit fails
Currently, if deactivation of the primary swap unit fails:
# LANG=C systemctl --no-pager stop dev-mapper-fedora\\x2dswap.swap
Job for dev-mapper-fedora\x2dswap.swap failed.
See "systemctl status "dev-mapper-fedora\\x2dswap.swap"" and "journalctl -xe" for details.
then there are still the running stop jobs for all the secondary swap units
that follow the primary one:
# systemctl list-jobs
JOB UNIT TYPE STATE
3233 dev-disk-by\x2duuid-
2dc8b9b1\x2da0a5\x2d44d8\x2d89c4\x2d6cdd26cd5ce0.swap stop running
3232 dev-dm\x2d1.swap stop running
3231 dev-disk-by\x2did-dm\x2duuid\x2dLVM\x2dyuXWpCCIurGzz2nkGCVnUFSi7GH6E3ZcQjkKLnF0Fil0RJmhoLN8fcOnDybWCMTj.swap stop running
3230 dev-disk-by\x2did-dm\x2dname\x2dfedora\x2dswap.swap stop running
3234 dev-fedora-swap.swap stop running
5 jobs listed.
This remains endlessly because their JobTimeoutUSec is infinity:
# LANG=C systemctl show -p JobTimeoutUSec dev-fedora-swap.swap
JobTimeoutUSec=infinity
If this issue happens during system shutdown, the system shutdown appears to
get hang and the system will be forcibly shutdown or rebooted 30 minutes later
by the following configuration:
# grep -E "^JobTimeout" /usr/lib/systemd/system/reboot.target
JobTimeoutSec=30min
JobTimeoutAction=reboot-force
The scenario in the real world seems that there is some service unit with
KillMode=none, processes whose memory is being swapped out are not killed
during stop operation in the service unit and then swapoff command fails.
On the other hand, it works well in successful case of swapoff command because
the secondary jobs monitor /proc/swaps file and can detect deletion of the
corresponding swap file.
This commit fixes the issue by finishing the secondary swap units' jobs if
deactivation of the primary swap unit fails.
Fixes: #11577
Ryan Attard [Thu, 27 Feb 2020 07:29:41 +0000 (01:29 -0600)]
ata_id: Add support for host managed zone block devices (#14933)
If the peripheral device type is that of a host managed zone block device (0x14),
the device supports the same identification mechanisms as conventional disks (0x00).
Anita Zhang [Thu, 27 Feb 2020 07:04:57 +0000 (23:04 -0800)]
Merge pull request #14950 from keszybz/kernel-install-script-boot_image
kernel-install: strip BOOT_IMAGE= from kernel options
Anita Zhang [Thu, 27 Feb 2020 06:46:17 +0000 (22:46 -0800)]
Merge pull request #14944 from yuwata/userdb-fix-iterator
userdb: make userdb_all() always set iterator when it returns >= 0
Norbert Lange [Fri, 21 Feb 2020 14:08:13 +0000 (15:08 +0100)]
units: add mount for tracefs
Kernel 4.1 separated the tracing system from the debugfs,
actual documentation already points to a different path
that needs this new mount to exist.
the old sysfs path will still be an automount in the debugfs,
created by the kernel (for now).
Signed-off-by: Norbert Lange <nolange79@gmail.com>
Mark Deneen [Fri, 21 Feb 2020 19:43:26 +0000 (14:43 -0500)]
typo: stringy -> string
Yu Watanabe [Wed, 26 Feb 2020 15:51:10 +0000 (00:51 +0900)]
po: update Japanese translation of "home area"
Zbigniew Jędrzejewski-Szmek [Wed, 26 Feb 2020 22:34:41 +0000 (23:34 +0100)]
kernel-install: strip BOOT_IMAGE= from kernel options
https://bugzilla.redhat.com/show_bug.cgi?id=
1716164.
Yu Watanabe [Wed, 26 Feb 2020 16:36:34 +0000 (01:36 +0900)]
userdb: fix memleak
Fixes #14947.
Yu Watanabe [Wed, 26 Feb 2020 15:48:38 +0000 (00:48 +0900)]
Merge pull request #14942 from keszybz/rename-homes
Rename "home" to "home area"
Yu Watanabe [Wed, 26 Feb 2020 14:58:44 +0000 (23:58 +0900)]
Merge pull request #14941 from yuwata/network-vrf-static
network: use VRF's route table if VRF= is set
Yu Watanabe [Wed, 26 Feb 2020 13:26:23 +0000 (22:26 +0900)]
userdb: make userdb_all() always set iterator when it returns >= 0
Fixes #14868.
Zbigniew Jędrzejewski-Szmek [Wed, 26 Feb 2020 10:39:41 +0000 (11:39 +0100)]
po: fix confusion about what "it" is in Polish translation
Zbigniew Jędrzejewski-Szmek [Wed, 26 Feb 2020 10:32:32 +0000 (11:32 +0100)]
tree-wide: replace "asked to inhibit it" with "is inhibiting this"
The problem with the original form is that the subject of the sentence with
passive void is "the system", and we're not inhibiting the system. In English
the sense can be made out, but the form is gramatically incorrect.
In fact, the Polish translation got this wrong:
> msgid "Power off the system while an application is inhibiting this"
> msgstr "Wyłączenie systemu, kiedy program zażądał jego wstrzymania"
"jego" can only refer to "the system", because of gender mismatch with "power
off". If our translators cannot grok the message, then we should probably reword
it.
Also, drop the "asked to" part. Everything we do is over IPC, so we only ever
"ask" for things, and this adds no value.
Zbigniew Jędrzejewski-Szmek [Wed, 26 Feb 2020 10:24:54 +0000 (11:24 +0100)]
tree-wide: replace present participle forms
Infinitive is shorter and sounds better too.
Yu Watanabe [Wed, 26 Feb 2020 06:55:08 +0000 (15:55 +0900)]
test-network: add one more test case for VRF=
Zbigniew Jędrzejewski-Szmek [Wed, 26 Feb 2020 10:15:42 +0000 (11:15 +0100)]
po: update Polish translation of "home area"
"Przestrzeń domowa" is awkward too, but "katalog domowy" is misleading.
Zbigniew Jędrzejewski-Szmek [Wed, 26 Feb 2020 10:11:57 +0000 (11:11 +0100)]
tree-wide: s/home/home area/g
"home" is okay-ish in English, but rather awkward in many other languages.
For example, even before this change, in fr.po we had "un espace personnel"
as the translation everywhere. Let's use a less overloaded term.
Fixes #14789.
Yu Watanabe [Wed, 26 Feb 2020 06:42:32 +0000 (15:42 +0900)]
network: use VRF's route table if VRF= is set
Fixes #14940.
Paul Menzel [Fri, 21 Feb 2020 09:27:38 +0000 (10:27 +0100)]
man/systemd.unit: Add missing article to `Wants=` description
Anita Zhang [Thu, 20 Feb 2020 16:16:30 +0000 (11:16 -0500)]
Merge pull request #14910 from whot/wip/install-input-id-hwdb
hwdb.d: actually install the 60-input-id.hwdb
Peter Hutterer [Wed, 19 Feb 2020 23:12:03 +0000 (09:12 +1000)]
hwdb.d: actually install the 60-input-id.hwdb
This was added in
ffac30349e9da91dbef7d4e0bf7cef58705c534e in 2017 but didn't
get added to the meson.build thus never actually installing it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Topi Miettinen [Fri, 14 Feb 2020 21:41:44 +0000 (23:41 +0200)]
man: tmpfiles.d: z/Z ignore the argument
The argument is not used for any MAC context by z and Z, so drop the confusing
text from the table.
Evgeny Vereshchagin [Mon, 17 Feb 2020 22:54:42 +0000 (22:54 +0000)]
ci: pass max_total_time to libFuzzer
Since clang was updated to 9.0.1 libFuzzer has been exiting with 72
when it's run with timeout. Let's pass -max_total_time to it instead.
Lynn Kirby [Mon, 17 Feb 2020 22:23:34 +0000 (17:23 -0500)]
Change all fuzzing links to point to OSS-Fuzz site
Lynn Kirby [Mon, 10 Feb 2020 21:50:52 +0000 (16:50 -0500)]
docs: fix HACKING.md broken links
tsia [Sun, 16 Feb 2020 16:39:48 +0000 (17:39 +0100)]
fixed typo in systemd.netdev Documentation for L2TP
Alin Popa [Fri, 14 Feb 2020 08:33:43 +0000 (09:33 +0100)]
systemd: Fix busctl crash on aarch64 when setting output table format
The enum used for column names is integer type while table_set_display() is parsing
arguments on size_t alignment which may result in assert in table_set_display() if
the size between types missmatch. This patch cast the enums to size_t.
It also fixes all other occurences for table_set_display() and
table_set_sort().
Alin Popa [Fri, 14 Feb 2020 08:33:43 +0000 (09:33 +0100)]
systemd: Fix busctl crash on aarch64 when setting output table format
The enum used for column names is integer type while table_set_display() is parsing
arguments on size_t alignment which may result in assert in table_set_display() if
the size between types missmatch. This patch cast the enums to size_t.
An alternative solution would be to change the table_set_display() function
arguments to unsigned type.
Oliver Giles [Thu, 13 Feb 2020 06:55:57 +0000 (08:55 +0200)]
makefs: strdup arguments to mkfs
Don't pass values from argv[] directly to child process forked using
safe_fork, because it clears argv[]. strdup them first.
Yu Watanabe [Tue, 11 Feb 2020 17:10:44 +0000 (02:10 +0900)]
Merge pull request #14833 from kpfleming/multiple-ipv6token-addresses
Support multiple IPv6Token 'static' addreses on an interface
Evgeny Vereshchagin [Tue, 11 Feb 2020 16:15:48 +0000 (19:15 +0300)]
Merge pull request #14849 from mrc0mmand/lgtm-override-TMPDIR
lgtm: set TMPDIR to /var/tmp
Yu Watanabe [Mon, 10 Feb 2020 21:17:48 +0000 (06:17 +0900)]
Merge pull request #14584 from ssahani/tc-handle
network:tc add support for qdisc handle
Frantisek Sumsal [Mon, 10 Feb 2020 18:42:44 +0000 (19:42 +0100)]
lgtm: use the system version of meson
LGTM was upgraded to Ubuntu Eoan, so the meson there is pretty new.
Also, the pip command didn't work anyway, since it didn't attempt to
update the previously installed meson.
Frantisek Sumsal [Mon, 10 Feb 2020 17:35:36 +0000 (18:35 +0100)]
lgtm: set TMPDIR to /var/tmp
`/tmp` has `noexec` set in the LGTM infrastructure which breaks meson's
compilation checks. Let's use `/var/tmp` for now, until the issue is
properly resolved
See: https://discuss.lgtm.com/t/meson-fails-to-determine-sizes-of-basic-data-types/2639
Zbigniew Jędrzejewski-Szmek [Mon, 10 Feb 2020 16:19:52 +0000 (17:19 +0100)]
Revert "Support Plugable UD-PRO8 dock"
This reverts commit
95f2b4dd237faa57fd3e93245d560e47cdedfc2c.
Unfortunately the same usb hub is used in other places, and causes
numerous regressions (#14822,
https://bugzilla.redhat.com/show_bug.cgi?id=
1800820). Let's revert
until a non-regressing approach is found.
Chris Murphy [Mon, 10 Feb 2020 06:54:12 +0000 (23:54 -0700)]
fix typo in object field
# homectl create hack --fs-type=btrfs
Unexpected object field 'fileSytemType'.
Kevin P. Fleming [Sun, 9 Feb 2020 12:25:59 +0000 (07:25 -0500)]
network: Allow multiple IPv6Token 'static' items to generate addresses
This patch allows multiple addresses using 'static' IPv6Tokens to
be generated for a single network interface.
Yu Watanabe [Mon, 10 Feb 2020 07:44:19 +0000 (16:44 +0900)]
test-network: add tests for qdisc Handle=
Susant Sahani [Mon, 10 Feb 2020 07:05:35 +0000 (16:05 +0900)]
network: add support for qdisc handle
Yu Watanabe [Mon, 10 Feb 2020 06:55:04 +0000 (15:55 +0900)]
network: fix indentation
Kevin P. Fleming [Sun, 9 Feb 2020 12:18:35 +0000 (07:18 -0500)]
network: Make address_hash_ops available outside of networkd-address.c
In order to allow other parts of systemd-networkd to use sets/hashmaps
of Address objects, the address_hash_ops structure needs to be made
available to them.
Kevin P. Fleming [Sat, 8 Feb 2020 20:40:40 +0000 (15:40 -0500)]
network: Document the lack of actual DAD usage in prefixstable algorithm
The RFC 7217 (prefixstable) algorithm can use Duplicate Address
Detection to produce multiple candidate addresses, but the implementation
here does not currently employ that mechanism.
Kevin P. Fleming [Sat, 8 Feb 2020 20:36:37 +0000 (15:36 -0500)]
network: Rewrite IPv6Token documentation for new modes
This patch provides new documentation for IPv6Token,
reflecting the new modes (and the existing mode), and documents
various caveats users should be aware of when using these
modes.
Kevin P. Fleming [Sat, 8 Feb 2020 20:35:47 +0000 (15:35 -0500)]
network: Correct typo and naming in error message
This error message will be emitted when any form of SLAAC address
generation fails, not just 'prefix stable', so the message should
only refer to SLAAC.