From 7b9289b1a0f0fe0a836fddc18b96d963673fad85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 18 May 2020 21:14:42 +0200 Subject: [PATCH 1/4] man: fix dir name in sysctl.d(5) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pointed out by Коренберг Марк in https://github.com/systemd/systemd/commit/e0f424790d3dbde136a29a7fa4c2777c2e3fd695#commitcomment-39259499. --- man/sysctl.d.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/sysctl.d.xml b/man/sysctl.d.xml index 2735cb10dd..dc10776e99 100644 --- a/man/sysctl.d.xml +++ b/man/sysctl.d.xml @@ -159,7 +159,7 @@ net.bridge.bridge-nf-call-arptables = 0 Set network routing properties for all interfaces - /etc/systemd/20-rp_filter.conf: + /etc/sysctl.d/20-rp_filter.conf: net.ipv4.conf.default.rp_filter = 2 net.ipv4.conf.*.rp_filter = 2 From e2da64918257e45f629b71b60347100e4cc5147b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 19 May 2020 08:55:46 +0200 Subject: [PATCH 2/4] TODO: drop some networkd items MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DUID/IAID — #2818, #2890, #3156, Scope – #6449, bond options — #10542, option 119: sd_network_get_domains/sd_network_get_search_domains, /proc/cmdline parsing – 426c1d385212e11cb, wait states — #14536. --- TODO | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/TODO b/TODO index 792f2d4be1..fe794e28a3 100644 --- a/TODO +++ b/TODO @@ -1204,17 +1204,14 @@ Features: * networkd: - add more keys to [Route] and [Address] sections - add support for more DHCPv4 options (and, longer term, other kinds of dynamic config) - - add proper initrd support (in particular generate .network/.link files based on /proc/cmdline) - add reduced [Link] support to .network files - - add Scope= parsing option for [Network] - properly handle routerless dhcp leases - work with non-Ethernet devices - - add support for more bond options - dhcp: do we allow configuring dhcp routes on interfaces that are not the one we got the dhcp info from? - the DHCP lease data (such as NTP/DNS) is still made available when a carrier is lost on a link. It should be removed instantly. - expose in the API the following bits: - - option 15, domain name and/or option 119, search list + - option 15, domain name - option 12, hostname and/or option 81, fqdn - option 123, 144, geolocation - option 252, configure http proxy (PAC/wpad) @@ -1223,12 +1220,8 @@ Features: - allow Name= to be specified repeatedly in the [Match] section. Maybe also support Name=foo*|bar*|baz ? - duplicate address check for static IPs (like ARPCHECK in network-scripts) - - allow DUID/IAID to be customized, see issue #394. - whenever uplink info changes, make DHCP server send out FORCERENEW -* networkd-wait-online: - - make operstates to wait for configurable? - * dhcp: - figure out how much we can increase Maximum Message Size From 11aaaa2c96e64a9965479d10b41263b17fde0309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 19 May 2020 08:59:53 +0200 Subject: [PATCH 3/4] TODO: drop some external items Those are either implemented or obsolete. --- TODO | 6 ------ 1 file changed, 6 deletions(-) diff --git a/TODO b/TODO index fe794e28a3..056ffdba38 100644 --- a/TODO +++ b/TODO @@ -1245,20 +1245,14 @@ External: - natively watch for dbus-*.service symlinks (PENDING) - teach dbus to activate all services it finds in /etc/systemd/services/org-*.service -* fix alsa mixer restore to not print error when no config is stored - * make cryptsetup lower --iter-time -* patch kernel for xattr support in /dev, /proc/, /sys? - * kernel: add device_type = "fb", "fbcon" to class "graphics" * /usr/bin/service should actually show the new command line * fedora: suggest auto-restart on failure, but not on success and not on coredump. also, ask people to think about changing the start limit logic. Also point people to RestartPreventExitStatus=, SuccessExitStatus= -* fedora: F20: go timer units all the way, leave cron.daily for cron - * neither pkexec nor sudo initialize environ[] from the PAM environment? * fedora: update policy to declare access mode and ownership of unit files to root:root 0644, and add an rpmlint check for it From 70fcda8562b6a890e511fd39fa120a27471811bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 19 May 2020 16:21:52 +0200 Subject: [PATCH 4/4] NEWS: retroactively document Family= Requested in https://github.com/systemd/systemd/issues/13233#issuecomment-630800112. --- NEWS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NEWS b/NEWS index e7aaa12ca0..4c4e92b763 100644 --- a/NEWS +++ b/NEWS @@ -819,6 +819,9 @@ CHANGES WITH 243: * systemd-networkd's TUN support gained a new setting VnetHeader= for tweaking Generic Segment Offload support. + * The address family for policy rules may be specified using the new + Family= option in the [RoutingPolicyRule] section. + * networkctl gained a new "delete" command for removing virtual network devices, as well as a new "--stats" switch for showing device statistics.