sysctl: please add support for systemd glob patterns
We added a glob and exclusion syntax to systemd-sysctl, see https://github.com/systemd/systemd/pull/14589/commits/e0f424790d3dbde136a29a7fa4c2777c2e3fd695. When both a glob and a non-glob assignment wins, the non-glob one has higher priority. This allows assigning net.*.conf.*
in a race-free way, even if devices are being problem in parallel with systemd-sysctl running, see https://github.com/systemd/systemd/pull/14589/commits/5d4fc0e665a3639f92ac880896c56f9533441307. A typical example is:
net.ipv4.conf.default.rp_filter = 2
net.ipv4.conf.*.rp_filter = 2
-net.ipv4.conf.all.rp_filter
This means "set .default. and all existing entries, except .all. to '2'".
Unfortunately this syntax confuses procps's sysctl, which was reported as https://github.com/systemd/systemd/issues/17156. Please add the same syntax in here too.
Apologies, this is my fault partially: I should have opened a ticket about this when adding the syntax to systemd.