[systemd-devel] [PATCH v2] networkd: do not change kernel forwarding parameters when IPForwarding is unset

Lennart Poettering lennart at poettering.net
Mon May 18 09:55:50 PDT 2015

On Fri, 15.05.15 22:49, Tom Gundersen (teg at jklm.no) wrote:

> On Fri, May 15, 2015 at 10:02 PM, Lennart Poettering
> <lennart at poettering.net> wrote:
> > On Fri, 15.05.15 12:56, Michael Marineau (michael.marineau at coreos.com) wrote:
> >
> >> (build time option to ./configure that is)
> >
> > I guess I'd be OK with that...
> It would be a shame if we started diverging on the defaults I think.
> Would be nice if we could come up with some scheme that would work for
> everyone. Would an option be to use a script to append
> IPForward='kernel' to your network files on upgrades? Pretty dirty,
> but I don't know how you usually deal with config changes...

Well, I think it is fine if downstream departs from our defaults... 

Another idea would be to add DefaultIPForward= to
/etc/systemd/networkd.conf that alters defaults for networks, the same
way as we have DefaultXYZ= in /etc/systemd/system.conf that affects
unit defaults?



Lennart Poettering, Red Hat

More information about the systemd-devel mailing list