[systemd-bugs] [Bug 89509] systemd-networkd: net.ipv4.conf.default.forwarding is ignored in 219
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Mar 10 12:06:57 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89509
--- Comment #2 from mike at marineau.org <mike at marineau.org> ---
(In reply to Lennart Poettering from comment #1)
> Yeah this was an underdocumented change in 219: we manage the IP forwarding
> setting per interfac now. You have to set IPForward=yes in the .network
> files explicitly now, otherwise you will not get IP forwarding on that
> interface.
Intentional or not from your perspective, from our perspective it is a
regression because networkd is now overriding sysctl which up until 219 was the
only mechanism for providing those settings. Although distros can update any
.network files we ship to update this appropriately there isn't a practical way
migrate user provided configs to the new semantics safely. The interaction
between net.ipv4.conf.all.* net.ipv4.conf.default.* and net.ipv4.conf.<if>.*
can depend on the timing of systemd-sysctl.service, any scripts or other
services that may alter those settings, and the discovery of network devices by
the kernel. We could probably some up with some script to make an educated
guess and run that before the new networkd starts but it is going to be prone
to error. Without a safe migration path we simply cannot ship a networkd with
this behavior without breaking some subset of our user's systems.
I'm open to other ideas but the best scheme I can think of is to turn
`IPForwarding` into a trinary value where the default "unset" or "kernel" or
whatnot value leaves the setting untouched.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150310/b7ad52d1/attachment.html>
More information about the systemd-bugs
mailing list