|Summary:||F14 Alpha RC2 - /etc/resolv.conf gets corrupted, cannot download packages|
|Product:||[Fedora] Fedora||Reporter:||Orion Poplawski <orion>|
|Component:||anaconda||Assignee:||Radek Vykydal <rvykydal>|
|Status:||CLOSED ERRATA||QA Contact:||Fedora Extras Quality Assurance <extras-qa>|
|Version:||14||CC:||awilliam, bcl, jonathan, rvykydal, vanmeeuwen+fedora|
|Fixed In Version:||anaconda-14.17-1||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2010-09-14 20:01:02 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Bug Depends On:|
Description Orion Poplawski 2010-08-10 19:55:12 UTC
Created attachment 437985 [details] anaconda.log Description of problem: Doing a PXE/kickstart install of F14 Alpha RC2, /etc/resolv.conf get corrupted to only contain: search cora.nwra.com At which point it cannot download any packages. Using tail -f it appears that it occurs between these two events: 13:50:59,054 DEBUG anaconda: isys.py:mount()- going to mount /proc/bus/usb on /mnt/sysimage/proc/bus/usb as usbfs with options defaults 13:50:59,189 INFO anaconda: leaving (1) step preinstallconfig Version-Release number of selected component (if applicable): 14.15 How reproducible: Every time
Comment 1 Brian Lane 2010-08-10 23:55:34 UTC
Could you also attach your kickstart file?
Comment 2 Orion Poplawski 2010-08-11 03:25:26 UTC
Created attachment 438069 [details] kickstart file
Comment 3 Radek Vykydal 2010-08-11 09:03:07 UTC
Indeed, we are (re)writing out /etc/resolv.conf in preinstallconfig step. What should your correct file look like (what is its content before corrupting in the step)? Could you also post /tmp/ifcfg.log and /tmp/syslog log files?
Comment 4 Orion Poplawski 2010-08-11 14:59:07 UTC
Created attachment 438210 [details] ifcfg.log The prior working /etc/resolv.conf contains: # Generated by NetworkManager domain cora.nwra.com search cora.nwra.com nameserver 192.168.0.8 nameserver 192.168.0.12
Comment 6 Radek Vykydal 2010-08-16 16:58:36 UTC
Thanks for the report. Only NetworkManager should touch /etc/resolv.conf. Anaconda does it when hostname (not containing any dots) is set in UI or kickstart and socket.getfqdn() finds fqdn for it. It leads e.g. to name servers obtained via DHCP missing in anaconda-generated resolv.conf. I am going to send a patch.
Comment 7 Radek Vykydal 2010-08-18 12:59:20 UTC
Fixed in rawhide, will go to anaconda-15.0-1. I want to propose it for F14.
Comment 8 Radek Vykydal 2010-08-24 15:37:57 UTC
This should be fixed in anaconda-14.17-1 (F14 Beta).
Comment 9 Orion Poplawski 2010-08-26 19:24:46 UTC
How soon we will have images built with this that I can test? Thanks.
Comment 10 Adam Williamson 2010-08-27 16:31:13 UTC
Discussed at today's blocker bug review meeting. We decided not to worry too much about categorizing this as it should be fixed soon anyway, so we will accept it in the expectation it will be closed soon.
Comment 11 Adam Williamson 2010-09-14 18:24:17 UTC
orion, the fix for this should be in TC1: can you please test and confirm?
Comment 12 Orion Poplawski 2010-09-14 19:26:27 UTC
Yup, fixed there.
Comment 13 Adam Williamson 2010-09-14 20:01:02 UTC