Description of problem: Fedora rawhide-20080115/ppc segfault while enabling network Version-Release number of selected component (if applicable): rawhide-20080115 (anaconda-11.4.0.21-1) How reproducible: 100% Steps to Reproduce: 1. Boot installer with ksdevice=link ip=dhcp method=http://../rawhide-20080115/ppc/os 2. Select lang=en, keymap=us 3. Select eth0 as network device Actual results: Welcome to Fedora for ppc +-------------------------------------------------------+ | | | Sending request for IP information for eth0... | | | +-------------------------------------------------------+ loader received SIGSEGV! Backtrace: /sbin/loader(loaderSegvHandler+0xa0)[0x10008d80] [0x100364] [0xf7ff8000] /lib/libdhcp4client-4.0.so.0(next_iface+0x80)[0xfbda990] /lib/libdhcp4client-4.0.so.0(discover_interfaces+0x490)[0xfbdbfd0] /lib/libdhcp4client-4.0.so.0(dhcpv4_client+0x408)[0xfbcabe8] /lib/libdhcp-1.99.so.1(do_dhcpv4+0x3c)[0xfce8edc] /lib/libdhcp-1.99.so.1[0xfceaf48] /lib/libdhcp-1.99.so.1(dhcp_nic+0x5c)[0xfceb47c] /lib/libdhcp-1.99.so.1(pumpDhcpClassRun+0x158)[0xfcf3d98] /sbin/loader(doDhcp+0xfc)[0x1001c80c] /sbin/loader(configureTCPIP+0x864)[0x1001e984] /sbin/loader(readNetConfig+0x4c8)[0x1001f108] /sbin/loader(main+0x1788)[0x1000ae88] /lib/libc.so.6[0xf7b88dc] /lib/libc.so.6[0xf7b8aac] install exited abnormally [1/1] sending termination signals...done sending kill signals...done disabling swap... unmounting filesystems... /proc done /dev/pts done /sys done you may safely reboot your system Expected results: No segfault Additional info: Booting with *no* kickstart and *no* cmdline arguments works without a problem. I can then do a DHCP URL (http) installation.
On tty3: ERROR : Error opening '/proc/net/if_inet6' to list IPv6 interfaces; No such file or directory CRITICAL : Can't get list of interfaces. I don't know why it can't open that file. The segfault seems to be a direct result of not checking the file pointer being passed to fgets. Patch to follow.
Created attachment 291735 [details] check return values
Whoops, in that second case I of course mean ifaces->fp6.
*** Bug 428878 has been marked as a duplicate of this bug. ***
Should be fixed in the next anaconda build (which would be 10.4.0.22).
*** Bug 429066 has been marked as a duplicate of this bug. ***