[Bug 734777] New: ipv6 entries in sysctl.conf not taking affect
https://bugzilla.novell.com/show_bug.cgi?id=734777 https://bugzilla.novell.com/show_bug.cgi?id=734777#c0 Summary: ipv6 entries in sysctl.conf not taking affect Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: All OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: peter.hine@familycourt.gov.au QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 Problem appears to be an order issue. ipv6 module not loaded at time of boot.sysctl running. boot.ipconfig MAY load it if forwarding and/or privacy is selected. ipv6 doesn't load until network service is started. there is no process that then goes on to apply the ipv6 setting in sysctl. So why is ipv6 not loaded when boot.sysctl. it's still optional. that's why. two solutions then. 1. load ipv6 module during startup like ipv4 is (what process loads that module ??) and rmmod it if needed in boot.ipconfig (IPV6_DISABLE=yes|YES|Yes|YEs|yEs|yES|yeS) 2. change boot.ipconfig so that it loads ipv6 module if IPV6_DISABLE is NOT no. therefore ipv6 will be loaded. redo the sysctl -p /etc/sysctl.conf (do we need to grep out the ipv6 settings only to a tmp file first ?) and then apply the forwarding, privacy and other settings from /etc/sysconfig/sysctl settings thanks Peter Humans aren't Case-SenSItive, so why are our file systems ? Reproducible: Always Steps to Reproduce: 1. echo 'net.ipv6.conf.default.autoconf=0' >> /etc/sysctl.conf 2. boot the system 3. 'sysctl net.ipv6.conf.default.autoconf' will show 1 Actual Results: depends on what ipv6 setting you want. for the above example, scope global dynamic will be present. Expected Results: depends on what ipv6 setting you want. for the above example, scope global dynamic will be removed. happens on SLE 10/11 and opensuse. probably systemic to many Linuxs that start in the same way SuSE does. on live systems, going to have to create a service that runs after the network, to either rerun 'sysctl -p /etc/sysconf' or run just the entries i want with 'sysctl -w' -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=734777 https://bugzilla.novell.com/show_bug.cgi?id=734777#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |werner@suse.com |ovo.novell.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=734777 https://bugzilla.novell.com/show_bug.cgi?id=734777#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mt@suse.com, | |werner@suse.com AssignedTo|werner@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com --- Comment #1 from Dr. Werner Fink <werner@suse.com> 2011-12-05 12:58:58 UTC --- The maintainer of procps utilities including systctl is not valid for network setup and the usage of systctl therein -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=734777 https://bugzilla.novell.com/show_bug.cgi?id=734777#c2 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #2 from Marius Tomaschewski <mt@suse.com> 2011-12-05 15:36:46 UTC --- (In reply to comment #0)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0
Problem appears to be an order issue. ipv6 module not loaded at time of boot.sysctl running. boot.ipconfig MAY load it if forwarding and/or privacy is selected.
ipv6 doesn't load until network service is started.
On 11.4, IPv6 isn't a module any more. On e.g. SLE-11, where it is a module, adding ipv4 to the list of INITRD_MODULES in /etc/sysconfig/kernel is the best way. All IP.* variables in /etc/sysconfig/sysctl are deprecated. Using /etc/sysctl.conf for (per interface) network settings isn't really a way, because they have to be applied as soon as the interface appears, but before "ip link set up" to have an effect in many cases. So starting 'sysctl -p /etc/sysconf' after the network again does not make much sense, because it is too late. => man ifsysctl(5) More info in bug 704981 comment 2 and its references. *** This bug has been marked as a duplicate of bug 704981 *** http://bugzilla.novell.com/show_bug.cgi?id=704981 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=734777 https://bugzilla.novell.com/show_bug.cgi?id=734777#c3 --- Comment #3 from Marius Tomaschewski <mt@suse.com> 2011-12-05 15:53:22 UTC --- BTW: For example, I'm using the following on a kvm hosts... Perhaps it is possible to remove >50% of them, but ... they work fine :-) (I want IPv6 on bond0 and lo and defaultroute via bond0, but without Prefix:EUI-64 address as the host gets its IP from dhcpv6 client. And I don't want any other interface is using IPv6, because this are links/bridges into VLAN nets for my VMs, not for the host :-) # cat /etc/sysconfig/network/ifsysctl net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.all.autoconf = 0 net.ipv6.conf.lo.disable_ipv6 = 0 net.ipv6.conf.eth0.disable_ipv6 = 1 net.ipv6.conf.eth1.disable_ipv6 = 1 net.ipv6.conf.eth2.disable_ipv6 = 1 net.ipv6.conf.bond0.autoconf = 0 net.ipv6.conf.bond0.disable_ipv6 = 0 net.ipv6.conf.bond0/22.disable_ipv6 = 1 net.ipv6.conf.bond0/23.disable_ipv6 = 1 net.ipv6.conf.br2200.disable_ipv6 = 1 net.ipv6.conf.br2300.disable_ipv6 = 1 -- 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.
participants (1)
-
bugzilla_noreply@novell.com