[opensuse-factory] ipv6: sysctl net.ipv6.conf.default.use_tempaddr
List, Privacy for ipv6 autoconf adressess is now enabled by default. I have no problem with this and believe this should remain the default going forward. However I am seeing some behaviour in the ipv6 stack that I am unsure of and I don't know if the behaviour is intentional, buggy or just not adequately configured. The issue is that the ipv6 sysctl's do not seem to be parsed correctly on boot, or maybe the interfaces are being brought up before the config is parsed. # cat /lib/sysctl.d/sysctl.conf | grep use_temp net.ipv6.conf.default.use_tempaddr = 2 Immediately after boot: # cat /proc/sys/net/ipv6/conf/{default,all,eth0}/use_tempaddr 2 0 0 This configuration will remaing until manual intervention. After restarting network: # cat /proc/sys/net/ipv6/conf/{default,all,eth0}/use_tempaddr 2 0 2 Which has the effect of not generating a random ipv6 address unless the network is restarted. All the hosts are upgraded from 11.4 so I am unsure if this is an issue with the parrallel nature of booting now or whether some remnant of the 11.4 system config is preventing the ipv6 sysctl's from being applied. If this is a config issue please point me in the right direction otherwise I'll fill a bug. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am Donnerstag, 12. Januar 2012 schrieb Graham Anderson:
The issue is that the ipv6 sysctl's do not seem to be parsed correctly on boot, or maybe the interfaces are being brought up before the config is parsed. [...]
I do not use IPv6 but I remember reading some bug reports for older openSUSE versions (all closed now). E.g., in https://bugzilla.novell.com/show_bug.cgi?id=664550 Ludwig shares your explanation "it doesn't work for interfaces that are already up when boot.ipconfig/boot.sysctl runs". Furthermore, in https://bugzilla.novell.com/show_bug.cgi?id=704981 Marius proposes the workaround "to use ifsysctl files see 'man 5 ifsysctl' and set it for the wlan0 interface (or for $INTERFACE), so it is applied via udev rule and in ifup." Besides, https://bugzilla.novell.com/show_bug.cgi?id=494958 is too long for me to summarize it. :) However, the bug reports mentioned above reference some kernel bug reports, e.g., https://bugzilla.kernel.org/show_bug.cgi?id=11655 Gruß Jan -- Beware of altruism. It is based on self-deception, the root of all evil. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Graham Anderson
-
Jan Ritzerfeld