Changing networkd's IPForward= default from "no" to "kernel"?
Martin Pitt
mpitt at debian.org
Thu Nov 19 10:20:00 GMT 2015
Hello all,
Martin Pitt [2015-10-05 15:53 +0200]:
> upstream networkd (and in Debian up to now) defaults to IPForward=no
> (see man systemd.network), i. e. if you configure a network interface
> through networkd without explicitly setting IPForward=, the
> per-interface setting (/proc/sys/net/ipv{4,6}/conf/iface/forwarding)
> will be disabled.
>
> This has the effect that all packages which do something like "echo 1
> > /proc/sys/net/ipv4/ip_forward" in their init scripts, postinst, etc.
> (and we have a lot: [1]) stop working, as the per-interface setting
> naturally overrides the global config.
Just to conclude this for the mail archives: This has been resolved
upstream in 228. networkd now only enables forwarding, never disables
it, so the global control is back working:
https://github.com/poettering/systemd/commit/765afd5c4dbc
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20151119/5fa8741d/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list