Created attachment 369749 [details] patch to alter modprobe.conf Description of problem: When using noipv6 it only places a configuration option in /etc/sysconfig/network but modprobe.conf also needs to be altered as well. Version-Release number of selected component (if applicable): anaconda-11.x How reproducible: 100% Steps to Reproduce: 1. run with --noipv6 2. 3. Actual results: modprobe.conf still enables ipv6 modules Expected results: system should not load ipv6 Additional info:
Also I have a question as to if we want to disable ip6tables through the same route rather than accessing it through ksdata.services? Thanks, Adam
I'm not sure this is the right approach. If kickstart or anything else makes /etc/sysconfig/network contain NETWORKING_IPV6=no, it should be considered finished. Shouldn't the ip6tables and network script then behave appropriately? Seems like once that is in /etc/sysconfig/network, the network script shouldn't load or activate ipv6 functionality. The bug to my mind at least isn't that kickstart didn't add a bunch of lines to modprobe.conf
Installed with network --device eth0 --bootproto dhcp --noipv6 and the resulting modprobe.conf was: alias scsi_hostadapter ata_piix alias eth0 virtio_net alias scsi_hostadapter1 virtio_blk alias snd-card-0 snd-intel8x0 options snd-card-0 index=0 options snd-intel8x0 index=0 remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0 Not even near comment #7 /etc/sysconfig/network contains NETWORKING_IPV6=no MOving back to ASSIGNED, will attach logs.
Created attachment 451719 [details] anaconda.syslog
Created attachment 451720 [details] anaconda.log
It might make sense to make the network initialization scripts simply not activate IPV6 per an entry in the /etc/sysconfig/network file or something, instead of relying on anaconda to itself tweak files.
*** Bug 649019 has been marked as a duplicate of this bug. ***
Tested with snapshot #3 and network --device eth0 --bootproto dhcp --noipv6 modprobe.conf now matches comment #7 and the patch from comment #0. Moving to VERIFIED.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Previously, the network --noipv6 boot option configured /etc/sysconfig/network but did not alter modprobe.conf. Therefore, even when --noipv6 was specified, modprobe would still load the kernel IPv6 modules. The --noipv6 option now disables IPv6 in modprobe.conf too, so the IPv6 kernel modules do not load. (#537887)
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,4 +1,4 @@ -Previously, the network --noipv6 boot option configured +Previously, the network --noipv6 kickstart command configured /etc/sysconfig/network but did not alter modprobe.conf. Therefore, even when --noipv6 was specified, modprobe would still load the kernel IPv6 modules. The --noipv6 option now disables IPv6 in modprobe.conf too, so
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0030.html