https://bugzilla.novell.com/show_bug.cgi?id=632530
https://bugzilla.novell.com/show_bug.cgi?id=632530#c22
--- Comment #22 from Marius Tomaschewski
reading your comments, i'm not clear what the final *right* method for disabling/enabling IPv6 is (will be?).
Beside the fact, that disabling of IPv6 introduces more problems than it solves, there are basically two ways in the _kernel_: - via ipv6.disable=1 kernel parameter (global) - via sysctl / disable_ipv6 (for all or specific interface) I think, this will not change so fast in the next feature. It is also very difficult to get patches accepted upstream. See e.g. bug 559170. As you noticed, the second method has side effects, because it is not trivial to detect whether a ipv6 connect will work. When some app wants to connect for example http://ipv6.google.com/, it does not know and it usually does not need to know, which interface will be used, so it can't and shouldn't check the ...all.disable_ipv6 and $ifname.disable_ipv6 flags.
question -- does it not make sense, given *SUSE's already current use of /etc/sysconfig/* configs, and the fact that IPv6-related 6-to-4 tunnels are already referenced in, e.g,
/etc/sysconfig/network.ifcfg.template
to consolidate IPv4 and Ipv6 enable/disable -- both globally and/or per-interface -- 'all in one-place' somewhere in /etc/sysconfig/*?
Most of the variables are there: e.g. IPV6_DISABLE, IPV6_PRIVACY in the /etc/sysconfig/sysctl file. IMO a better place for _global_ settings is the /etc/sysctl.conf file. Of course it would make sense to consolidate them all and have one place where you just need to set them. The problem is, applying the sysconfig variables *often* does not work correctly. You can not apply any variables to modules that are not yet loaded. So in case of IPv6, it works only for .all.* and .default.* variables, but not for interface specific settings. Just think of the case, that the device (e.g. USB network card) is not yet plugged in. For example, IPV6_PRIVACY has to be applied as soon as an interface starts to be visible to the system, but _before_ the link goes up. So the only way to apply the interface specific settings is to apply them via udev rules (on network add event). This is the reason, why I've added one more place: see "man 5 ifsysctl". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.