http://bugzilla.novell.com/show_bug.cgi?id=494958
http://bugzilla.novell.com/show_bug.cgi?id=494958#c5
Marius Tomaschewski
(In reply to comment #3)
or I think better via per interface ifsysctl.$INTERFACE files with content like:
net.ipv6.conf.$IF.autoconf = 0 net.ipv6.conf.$IF.use_tempaddr = 1
This is a really good idea! Perhaps there is a way to have this in the ifcfg- file itself (to keep all the interface settings together) but at the same not requiring the scripts to individually handle the options?
In any case, this is not easy or impossible to make for all the virtual interfaces when it is too late when we do it after the ip link set up.
Couldn't this be handled by udev by calling a script when the interface is registered? It might be hard or impossible to make sure the script finishes before something else brings the device up, though. Kay?
Yes, udev seems to be the best place to execute it. I'll implement a script and call it from /etc/udev/rules.d/77-network.rules it will use /etc/sysconfig/network/ifsysctl-$INTERFACE to set all what's needed when NETWORKMANAGER="no". ==>> Tambet, should I call it also in NETWORKMANAGER="yes" case? The file _inside_ of the file is allowed to use $SYSCTL_IF and the $INTERFACE variables. The SYSCTL_IF variable will be set to ${INTERFACE//./\/} by the script. Example: net.ipv6.conf.$SYSCTL_IF.use_tempaddr Note: sysctl supports two separators "." (default) and "/". When "." is used, every "." in the interface name has to be replaced by "/", e.g. INTERFACE=foo1.42 => SYSCTL_IF=foo1/42 When "/" is used as separator, $INTERFACE can be passed directly, e.g. net/ipv6/conf/$INTERFACE/use_tempaddr
Right. Still, this does not solve the problem of virtual devices. That would be at least partially fixed by making boot.ipconfig set /proc/sys/net/ipv6/conf/default/use_tempaddr instead of .../all/...
yes... it is not only about use_tempaddr -- it is useful/required also for e.g. bridge port setup to tweak these settings. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.