Susant Sahani [Mon, 26 Feb 2024 13:26:57 +0000 (18:56 +0530)]
netdev: bond - add support for peer_notif_delay
Specify the delay, in milliseconds, between each peer
notification (gratuitous ARP and unsolicited IPv6
Neighbor Advertisement) when they are issued after
a failover event. This delay should be a multiple of
the MII link monitor interval (miimon).
The valid range is 0 - 300s. The default value is 0,
which means to match the value of the MII link monitor interval.
Yu Watanabe [Tue, 27 Feb 2024 10:31:26 +0000 (19:31 +0900)]
network/ndisc: drop redundant sd_ndisc_router_get_icmp6_ratelimit()
This effectively reverts
9175002864d8876f375e0df089d142d239282528.
The retrans time field in RA message is for neighbor solicitation,
and the commit
d4c8de21a07d015f2f2c787e0735be5e4d02fb3c makes the value
assigned to the correct sysctl property.
Let's deprecate the option, and drop the redundant functions.
Lennart Poettering [Wed, 28 Feb 2024 10:07:39 +0000 (11:07 +0100)]
nspawn: minor coding style tweaks to nspawn-register.c
Zbigniew Jędrzejewski-Szmek [Wed, 28 Feb 2024 09:28:56 +0000 (10:28 +0100)]
Merge pull request #31511 from jamacku/prepare-for-diff-shellcheck
Prepare for new version of Differential ShellCheck & scanning of shell completion scripts
Yu Watanabe [Wed, 28 Feb 2024 02:51:04 +0000 (11:51 +0900)]
cgroup-setup: clarify '<=' is evaluated earlier
Follow-up for
31323f21bb0ae7c712f43500c42997c91a6d20bf.
The code is correct, but let's silence Coverity.
Closes CID#
1534787.
Yu Watanabe [Wed, 28 Feb 2024 02:46:07 +0000 (11:46 +0900)]
Yu Watanabe [Wed, 28 Feb 2024 02:44:17 +0000 (11:44 +0900)]
Luca Boccassi [Tue, 27 Feb 2024 20:07:18 +0000 (20:07 +0000)]
Merge pull request #31515 from keszybz/small-cleanups-after-review-of-stable-batch
Small cleanups after review of stable batch
Luca Boccassi [Tue, 27 Feb 2024 19:21:35 +0000 (19:21 +0000)]
Merge pull request #31442 from YHNdnzj/towards-cgroup-v1-deprecation
core: refuse cgroupv1 unless SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE
Štěpán Němec [Tue, 27 Feb 2024 13:21:33 +0000 (14:21 +0100)]
tmpfiles.d: avoid deprecated, undocumented syntax (s/F/f+/)
Fixes:
eccebf4b0dcb ("systemd-tmpfiles: deprecate F for f+")
Antonio Alvarez Feijoo [Tue, 27 Feb 2024 13:28:10 +0000 (14:28 +0100)]
core: remove duplicate serialization of `cpu_sched_reset_on_fork`
`c->cpu_sched_reset_on_fork` is serialized using
`exec-context-cpu-sched-reset-on-fork` and
`exec-context-cpu-scheduling-reset-on-fork`. Let's keep only the second one, to
serialize the value only if `cpu_sched_set` is true.
Jan Engelhardt [Tue, 27 Feb 2024 15:05:14 +0000 (16:05 +0100)]
test: drop route from test-functions
I do not see `route` being exercised anywhere else, everything seems
to be on `ip route` already.
Zbigniew Jędrzejewski-Szmek [Tue, 27 Feb 2024 17:32:51 +0000 (18:32 +0100)]
shared/pam-util: fix awkward tense in log message
Zbigniew Jędrzejewski-Szmek [Tue, 27 Feb 2024 17:32:21 +0000 (18:32 +0100)]
virt: wrap comment, add missing punctuation
Zbigniew Jędrzejewski-Szmek [Tue, 27 Feb 2024 17:15:51 +0000 (18:15 +0100)]
man/sd_bus_service_reconnect.c: normalize whitespace
For man pages, we generally indent with 2 spaces and wrap to ~80 columns.
Štěpán Němec [Tue, 27 Feb 2024 13:31:43 +0000 (14:31 +0100)]
man, shell-completion: fix a few typos/language issues
Lennart Poettering [Mon, 26 Feb 2024 11:21:01 +0000 (12:21 +0100)]
bootspec: don't complain about valid loader.conf settings
Let's not complain about various valid loader.conf settings we more
recently added. At the same time let's remove the half-assed userspace
parsers for the fields we actually do support but don't actually really
care about in userspace. There's really no point in storing strings away
that we are not using at all, hence just don#t.
Fixes: #31487
Jan Macku [Tue, 27 Feb 2024 14:54:40 +0000 (15:54 +0100)]
ci(labeler): add rule for `shell-completion` label
Frantisek Sumsal [Tue, 27 Feb 2024 10:10:53 +0000 (11:10 +0100)]
test: use socat in unidirectional mode
By default socat open a separate r/w channel for each specified address,
and terminates the connection after .5s from receiving EOF on _either_
side. And since one side of that connection is an empty stdin, we reach
that EOF pretty quickly. Let's avoid this by using socat in
"reversed unidirectional" mode, where the first address is used only for
writing, and the second one is used only for reading.
Addresses:
- https://github.com/systemd/systemd/issues/31500
- https://github.com/systemd/systemd/issues/31493
Follow-up for
3456c89ac26.
Mike Yuan [Sun, 25 Feb 2024 02:13:26 +0000 (10:13 +0800)]
NEWS: announce cgroup v1 deprecation
Mike Yuan [Sun, 25 Feb 2024 02:05:26 +0000 (10:05 +0800)]
meson: drop default-hierarchy= option, always use unified
Mike Yuan [Sun, 25 Feb 2024 01:10:51 +0000 (09:10 +0800)]
core: refuse cgroupv1 unless SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE
Also, add a 30s sleep even if cgroup v1 is forced.
Closes #30852
Mike Yuan [Sun, 25 Feb 2024 01:03:16 +0000 (09:03 +0800)]
shared/cgroup-setup: introduce cg_is_legacy_force_enabled
Mike Yuan [Sun, 25 Feb 2024 01:07:17 +0000 (09:07 +0800)]
shared/mount-setup: split out mount_cgroup_legacy_controllers
Mike Yuan [Thu, 22 Feb 2024 05:03:09 +0000 (13:03 +0800)]
shared/mount-setup: minor modernization
Mike Yuan [Sun, 25 Feb 2024 01:00:27 +0000 (09:00 +0800)]
core/cgroup: remove obsolete TODO
Mike Yuan [Thu, 22 Feb 2024 05:06:44 +0000 (13:06 +0800)]
core: mark JoinControllers= as DISABLED_LEGACY rather than _CONFIGURATION
Follow-up for
143fadf369a18449464956206226761e49be1928
Jan Macku [Tue, 27 Feb 2024 14:33:36 +0000 (15:33 +0100)]
ci(lint): temporarily disable ShellCheck for bash-completion
This commit should be reverted once bash completion is in better shape when it comes to ShellCheck.
Jan Macku [Tue, 27 Feb 2024 13:54:49 +0000 (14:54 +0100)]
fix(SC2148): add ShellCheck directive to bash completion scripts
Jan Macku [Tue, 27 Feb 2024 13:26:52 +0000 (14:26 +0100)]
ci(lint): exclude zsh completion from ShellCheck
zsh is not supported by ShellCheck
Štěpán Němec [Tue, 27 Feb 2024 13:36:57 +0000 (14:36 +0100)]
zsh/_journalctl: complete -g, --case-sensitive, 'help' (pseudo-)facility
Lennart Poettering [Tue, 27 Feb 2024 13:40:31 +0000 (14:40 +0100)]
update TODO
Yu Watanabe [Tue, 27 Feb 2024 04:28:02 +0000 (13:28 +0900)]
sysext: fix typo
Luca Boccassi [Mon, 26 Feb 2024 16:17:11 +0000 (16:17 +0000)]
Merge pull request #31000 from flatcar-hub/krnowak/mutable-overlays
systemd-sysext: Implement optional mutability for extensions
Luca Boccassi [Mon, 26 Feb 2024 15:44:50 +0000 (15:44 +0000)]
Merge pull request #31458 from poettering/vmspawn-ptyfwd
vmspawn: implement TTY logic via ptyfwd
Luca Boccassi [Mon, 26 Feb 2024 12:26:36 +0000 (12:26 +0000)]
Merge pull request #31480 from rpigott/dnssec-maxwork
resolved: limit the number of signature validations in a transaction
Yu Watanabe [Mon, 26 Feb 2024 03:09:52 +0000 (12:09 +0900)]
network: fix use-after-free in {address,route}_remove_and_cancel()
Fixes #31485.
Lennart Poettering [Fri, 23 Feb 2024 11:30:19 +0000 (12:30 +0100)]
nspawn: hide ^] hint unless we are interactive mode
The hotkey only works in interactive mode hence don't mislead users
about it.
Lennart Poettering [Fri, 23 Feb 2024 11:20:55 +0000 (12:20 +0100)]
vmspawn: use our own ptyfwd code for the console of a VM
Let's make systemd-nspawn use our own ptyfwd logic to handle the TTY by
default.
This adds a new setting --console=, inspired by nspawn's setting of the
same name. If --console=interactive= is used, then we'll do the TTY
dance on our own via ptyfwd, and thus get tinting, our usual hotkey
handling and similar.
Since qemu's own console is useful too, let's keep it around via
--console=native.
FInally, replace the --qemu-gui switch by --console=gui.
Lennart Poettering [Fri, 23 Feb 2024 11:20:04 +0000 (12:20 +0100)]
pretty-print: make tinting a bit less aggressive
Lennart Poettering [Fri, 23 Feb 2024 11:19:43 +0000 (12:19 +0100)]
run: use sd_event_set_signal_exit() at one more place
Yu Watanabe [Fri, 23 Feb 2024 03:41:24 +0000 (12:41 +0900)]
network/ndisc: rename Network.ipv6_accept_ra -> Network.ndisc
These settings are leated to sd-ndisc and Neighbor Discovery protocol.
Let's use more suitable name.
Alexander Zavyalov [Mon, 26 Feb 2024 06:15:02 +0000 (14:15 +0800)]
Fix: Chuwi UBook X (CWI535) screen rotation matrix
Daan De Meyer [Fri, 23 Feb 2024 15:39:18 +0000 (16:39 +0100)]
ukify: Use VERSION_TAG instead of GIT_VERSION
GIT_VERSION isn't actually available so use VERSION_TAG instead which
is available.
Ronan Pigott [Sun, 25 Feb 2024 07:23:32 +0000 (00:23 -0700)]
resolved: reduce the maximum nsec3 iterations to 100
According to RFC9267, the 2500 value is not helpful, and in fact it can
be harmful to permit a large number of iterations. Combined with limits
on the number of signature validations, I expect this will mitigate the
impact of maliciously crafted domains designed to cause excessive
cryptographic work.
Ronan Pigott [Sun, 25 Feb 2024 01:21:24 +0000 (18:21 -0700)]
resolved: limit the number of signature validations in a transaction
It has been demonstrated that tolerating an unbounded number of dnssec
signature validations is a bad idea. It is easy for a maliciously
crafted DNS reply to contain as many keytag collisions as desired,
causing us to iterate every dnskey and signature combination in vain.
The solution is to impose a maximum number of validations we will
tolerate. While collisions are not hard to craft, I still expect they
are unlikely in the wild so it should be safe to pick fairly small
values.
Here two limits are imposed: one on the maximum number of invalid
signatures encountered per rrset, and another on the total number of
validations performed per transaction.
Yu Watanabe [Mon, 26 Feb 2024 06:12:12 +0000 (15:12 +0900)]
Merge pull request #31490 from yuwata/network-varlink-cleanups
network/varlink: several trivial cleanups
Yu Watanabe [Mon, 26 Feb 2024 04:42:01 +0000 (13:42 +0900)]
varlink/network: reindent methods
Yu Watanabe [Mon, 26 Feb 2024 02:30:34 +0000 (11:30 +0900)]
network/varlink: downgrade log level about failure in getting netns ID
Yu Watanabe [Mon, 26 Feb 2024 01:37:32 +0000 (10:37 +0900)]
format-table: replace "(size_t) -1" with SIZE_MAX
Luca Boccassi [Sun, 25 Feb 2024 13:07:53 +0000 (13:07 +0000)]
Merge pull request #31440 from yuwata/sd-ndisc-sd-radv-cleanups
sd-ndisc,sd-radv: several trivial cleanups
Yu Watanabe [Fri, 23 Feb 2024 04:12:57 +0000 (13:12 +0900)]
in-addr-util: introduce in{4,6}_addr_is_multicast()
Yu Watanabe [Thu, 22 Feb 2024 05:28:52 +0000 (14:28 +0900)]
icmp6-util: make icmp6_receive() refuse packets without IPv6 sender address
Previously, the function supports packets without IPv6 sender address
for unit tests. However, now unit tests use their own version of
icmp6_receive(). Hence, let's make the check more strict.
Yu Watanabe [Wed, 14 Feb 2024 11:38:12 +0000 (20:38 +0900)]
sd-ndisc: make callback takes arbitrary type of message
No functional change. Preparation for supporting Neighbor Advertisement
message.
Yu Watanabe [Fri, 23 Feb 2024 03:02:46 +0000 (12:02 +0900)]
network/ndisc: drop all configurations without lifetime on stop
As we call ndisc_drop_outdated() with USEC_INFINITY on stop.
Mike Yuan [Sun, 25 Feb 2024 04:48:49 +0000 (12:48 +0800)]
docs: update link for Arch Linux bugtracker
Mike Yuan [Sat, 24 Feb 2024 22:54:14 +0000 (06:54 +0800)]
Merge pull request #31472 from YHNdnzj/systemctl-pidref
systemctl: generalize GetUnitByPIDFD handling
Yu Watanabe [Sat, 24 Feb 2024 05:25:54 +0000 (14:25 +0900)]
network: use FOREACH_STRING()
Mike Yuan [Sat, 24 Feb 2024 05:26:19 +0000 (13:26 +0800)]
docs/CODING_STYLE: fix typo (CLONE_VORK -> VFORK)
Mike Yuan [Sat, 24 Feb 2024 01:39:32 +0000 (09:39 +0800)]
systemctl-show: use lookup_unit_by_pidref too
Follow-up for
e0e7bc8223c3f28fcb48db9f0f003d9f03ca46d7
This allows us to pin the process locally when GetUnitByPIDFD
is not available, just like what we have been doing for
'systemctl whoami'. Also, fix looking up remote pid.
We can't use pidfd for those.
Mike Yuan [Sat, 24 Feb 2024 01:01:22 +0000 (09:01 +0800)]
systemctl: generalize GetUnitByPIDFD handling
Mike Yuan [Sat, 24 Feb 2024 00:55:33 +0000 (08:55 +0800)]
systemctl-util: use strv_free_and_replace at one more place
Luca Boccassi [Fri, 23 Feb 2024 21:09:11 +0000 (21:09 +0000)]
Fallback from pidfd_open on permission errors too
Skip using pidfds if we get a permission denied error.
This can happen with an old policy and a new kernel that uses the
new pidfs filesystem to back pidfds, instead of anonymous inodes,
as the existing policy denies access.
This is already the case for most uses of pidfd_open, like pidref,
but not on these two. Fix them.
Yu Watanabe [Sun, 18 Feb 2024 17:21:31 +0000 (02:21 +0900)]
test: split out {dump,verify}_ra_message()
Then, let's not modify the global object.
Yu Watanabe [Sun, 18 Feb 2024 03:45:48 +0000 (12:45 +0900)]
sd-radv: several cleanups
- split out radv_setup_recv_event(),
- slightly update log messages,
- use DIV_ROUND_UP(),
- use structured initializer more.
No functional change, just preparation for later commits.
Yu Watanabe [Wed, 14 Feb 2024 06:59:38 +0000 (15:59 +0900)]
sd-ndisc: several trivial cleanups
- update several log messages,
- use event_reset_time_relative(),
- split out ndisc_setup_recv_event() and ndisc_setup_timer().
No functional change, just refactoring and preparation for later commits.
Yu Watanabe [Wed, 14 Feb 2024 07:45:55 +0000 (16:45 +0900)]
icmp6-util: merge icmp6_bind_router_{solicitation,advertisement}() into icmp6_bind()
No functional change, just refactoring.
Georges Basile Stavracas Neto [Fri, 23 Feb 2024 23:04:12 +0000 (20:04 -0300)]
hwdb: Add support for Elgato Stream Deck Plus
Add support for the following device:
- ID 0fd9:0084 Elgato Systems GmbH Stream Deck Plus
Yu Watanabe [Sat, 24 Feb 2024 02:30:39 +0000 (11:30 +0900)]
docs: fix typo
Luca Boccassi [Thu, 22 Feb 2024 14:23:06 +0000 (14:23 +0000)]
efi: de-inline xmalloc to fix build failure with gcc 12.2 and -O2
With meson build --werror --buildtype=plain -Dc_args=" -O2" the build fails:
../src/boot/efi/stub.c: In function ‘load_addons.constprop’:03:06
../src/boot/efi/stub.c:475:40: error: using a dangling pointer to ‘p’ [-Werror=dangling-pointer=]03:06
475 | dt_bases[n_dt] = xmemdup((uint8_t*)loaded_addon->ImageBase + addrs[UNIFIED_SECTION_DTB],03:06
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~03:06
476 | dt_sizes[n_dt]);03:06
| ~~~~~~~~~~~~~~~03:06
In file included from ../src/boot/efi/stub.c:20:03:06
../src/boot/efi/util.h:33:15: note: ‘p’ declared here03:06
33 | void *p;03:06
| ^
De-inline the function and initialize p to make gcc happy.
Luca Boccassi [Fri, 23 Feb 2024 22:04:44 +0000 (22:04 +0000)]
Merge pull request #31464 from poettering/vmspawn-limit-bank
vmspawn: disable all TPM PCR banks, except for SHA256
Lennart Poettering [Fri, 23 Feb 2024 14:54:22 +0000 (15:54 +0100)]
ptyfwd: optionally prefix window title with colored dot
in uid0/systemd-run/nspawn we already set a window title with a colorful
unicode dot indicating the changed privileges/execution context. This typically
gets overriden by the shell inside the environment however.
Let's tweak this a bit: when we see the window title OSC ANSI sequence
passing through, let's patch in the unicode dot as a prefix to the
title.
This is super pretty, since it makes sure root sessions via 0ad are
really easily recognizable as such, because the window title carries an
🔴 red dot as prefix then.
Luca Boccassi [Fri, 23 Feb 2024 20:50:51 +0000 (20:50 +0000)]
Merge pull request #31465 from xypron/detect-virt
Detect virtualization on RISC-V
Thilo Fromm [Fri, 16 Feb 2024 18:29:12 +0000 (19:29 +0100)]
man/systemd-sysext.xml: document mutable extensions
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
Lennart Poettering [Fri, 23 Feb 2024 14:03:49 +0000 (15:03 +0100)]
signal-util: imply sentinel -1 in sigprocmask_many() + sigset_add_many() args list
Lennart Poettering [Fri, 23 Feb 2024 13:53:53 +0000 (14:53 +0100)]
signal-util: use RET_NERRNO() + RET_GATHER() more
Heinrich Schuchardt [Fri, 23 Feb 2024 16:29:20 +0000 (17:29 +0100)]
detect-virt: allow detection via SMBIOS on RISC-V
SMBIOS support in QEMU for RISC-V is merged upstream.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Lennart Poettering [Fri, 23 Feb 2024 16:25:38 +0000 (17:25 +0100)]
update TODO
Lennart Poettering [Fri, 23 Feb 2024 16:23:06 +0000 (17:23 +0100)]
vmspawn: disable all PCR banks but SHA256
By default swtpm runs with four banks: SHA1, SHA256, SHA384, SHA512.
This means all data that is part of the boot will be hashed four times,
which slows everything down.
Let's restrict things to SHA256 only, which is the one that really
matters. SHA1 is no up to today's standards anyway, and noone really
consumes the other two, hence no point in enabling this.
To disable the banks we need to call swtpm_setup with --pcr-banks. Do
so.
Lennart Poettering [Fri, 23 Feb 2024 16:22:34 +0000 (17:22 +0100)]
vmspawn: drop "const" from string we free
I am a bit surprised this compiled at all...
Heinrich Schuchardt [Fri, 23 Feb 2024 16:25:59 +0000 (17:25 +0100)]
detect-virt: allow detection via device-tree on RISC-V
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Lennart Poettering [Fri, 23 Feb 2024 14:59:44 +0000 (15:59 +0100)]
Merge pull request #31455 from keszybz/restore-docs-urls
Restore docs urls
Lennart Poettering [Fri, 23 Feb 2024 13:52:20 +0000 (14:52 +0100)]
Merge pull request #31456 from poettering/tpm1.2-no-more
sd-stub: drop any support for TPM 1.2
Sam Leonard [Fri, 23 Feb 2024 12:04:08 +0000 (12:04 +0000)]
ssh-generator: add mention of ssh.authorized_keys.root to man page
Lennart Poettering [Fri, 23 Feb 2024 12:20:19 +0000 (13:20 +0100)]
update TODO
Luca Boccassi [Fri, 23 Feb 2024 11:57:42 +0000 (11:57 +0000)]
Merge pull request #31411 from poettering/build-path
userdbd,homed,importd,sysupdate,pid1: make it easier to run daemons that have callouts from build dir
Lennart Poettering [Fri, 23 Feb 2024 10:09:08 +0000 (11:09 +0100)]
update TODO
Lennart Poettering [Fri, 23 Feb 2024 10:08:14 +0000 (11:08 +0100)]
update TODO
Zbigniew Jędrzejewski-Szmek [Fri, 23 Feb 2024 10:07:56 +0000 (11:07 +0100)]
Merge pull request #31352 from DaanDeMeyer/versioning
Rework meson-vcs-tag.sh
Lennart Poettering [Fri, 23 Feb 2024 09:52:16 +0000 (10:52 +0100)]
sd-stub: drop any support for TPM 1.2
TPM 1.2 is obsolete, and doesn't really provide much security guarantees
given it's build around SHA1 which is not up to today's standards.
The rest of systemd's TPM codebase never supported TPM 1.2 hence let's
drop this partial support in sd-stub too. It has created problems after
all (sd-stub reported the measuements and userspace assumed these were
for TPM2), without bringing any benefits (given that the measurements we
make are not consumed by us anyway, unlike those for TPM 2.0)
let's cut off this old support.
Yu Watanabe [Fri, 23 Feb 2024 04:16:23 +0000 (13:16 +0900)]
Zbigniew Jędrzejewski-Szmek [Fri, 23 Feb 2024 08:56:00 +0000 (09:56 +0100)]
docs: drop .md suffixes again
Zbigniew Jędrzejewski-Szmek [Fri, 23 Feb 2024 08:48:47 +0000 (09:48 +0100)]
Revert "docs: use collections to structure the data"
This reverts commit
5e8ff010a1436d33bbf3c108335af6e0b4ff7a2a.
This broke all the URLs, we can't have that. (And actually, we probably don't
_want_ to make the change either. It's nicer to have all the pages in one
directory, so one doesn't have to figure out to which collection the page
belongs.)
Jan Macku [Fri, 23 Feb 2024 08:05:35 +0000 (09:05 +0100)]
ci(freezer): use GitHub Markdown magic for messages
It should make messages easier to notice.
GitHub docs: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts
Max Staudt [Thu, 22 Feb 2024 08:47:36 +0000 (17:47 +0900)]
udev: Add /dev/media/by-path symlinks for media controllers
Add persistent symlinks for media controller ("mediaX") devices, based
on their ID_PATH udev properties.
For example, if the uvcvideo driver creates /dev/media0, a persistent
name may be:
/dev/media/by-path/pci-0000:04:00.3-usb-0:1:1.0-media-controller
Persistent links are a handy tool to make scripts self-documenting
during development or in tests, as well as less error prone in case of
devices changing enumeration order. For media controllers, one can
alternatively scan through all of them and look for a matching bus_info
in their struct media_device_info, but the links are much handier when
drafting something by hand.
A similar pattern already exists for Video4Linux /dev/videoX devices,
see 60-persistent-v4l.rules for those.
Yu Watanabe [Tue, 20 Feb 2024 21:20:45 +0000 (06:20 +0900)]
network: introduce per-interface IP forwarding settings
This deprecates IPForward= setting, which unconditionally controled
the global setting, even though it is a setting in .network file.
Instead, this introduces new IPv4Forwarding= and IPv6Forwarding=
settings both in .network and networkd.conf.
If these settings are specified in a .network file, then the
per-interface forwarding setting will be configured.
If specified in networkd.conf, then the global IP forwarding setting will
be configured.
Closes #30648.
zzywysm [Thu, 22 Feb 2024 18:03:06 +0000 (13:03 -0500)]
README: mention fq_codel
In 2014, systemd started choosing fq_codel as the default_qdisc in order to fight internet bufferbloat.
https://github.com/systemd/systemd/commit/
e6c253e363dee77ef7e5c5f44c4ca55cded3fd47
https://github.com/systemd/systemd/commit/
fa98c99ea7f7c5bec3962fa52f4d3496a9777024
While the subsequent change made this change no longer trigger warnings if fq_codel wasn't present, it is still recommended to have this enabled. Add the necessary kernel configuration to the documentation.
Luca Boccassi [Thu, 22 Feb 2024 18:48:43 +0000 (18:48 +0000)]
Merge pull request #31441 from yuwata/sd-ndisc-fix-timer
sd-ndisc: disable timer event source only when a valid RA received
Krzesimir Nowak [Thu, 15 Feb 2024 14:40:55 +0000 (15:40 +0100)]
test: Extend systemd-sysext tests to cover the mutability feature
Krzesimir Nowak [Thu, 15 Feb 2024 14:16:08 +0000 (15:16 +0100)]
sysext: Add --mutable mode flag
The flag takes "auto" or "import" or a boolean value.
"auto" causes systemd-sysext to make a decision about mutability of the merged
hierarchy based on existence of the upper directory in
`/var/lib/extensions.mutable/${hierarchy}`.
"import" causes the existing upper dir to be actually used as another lower
dir, which results in read-only merged hierarchy.
True value makes systemd-sysext to create the upper dir if it's missing and to
make the merged hierarchy mutable.
False value makes systemd-sysext to ignore upper dir completely, and create a
read-only merged hierarchy.
The default is false value.