Bug 622927 - F14 Alpha RC2 - /etc/resolv.conf gets corrupted, cannot download packages
Summary: F14 Alpha RC2 - /etc/resolv.conf gets corrupted, cannot download packages
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 14
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Radek Vykydal
QA Contact: Fedora Extras Quality Assurance
Whiteboard: AcceptedBlocker
Depends On:
Blocks: F14Beta, F14BetaBlocker
TreeView+ depends on / blocked
Reported: 2010-08-10 19:55 UTC by Orion Poplawski
Modified: 2018-11-26 19:17 UTC (History)
5 users (show)

Fixed In Version: anaconda-14.17-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-09-14 20:01:02 UTC
Type: ---

Attachments (Terms of Use)
anaconda.log (12.01 KB, text/plain)
2010-08-10 19:55 UTC, Orion Poplawski
no flags Details
kickstart file (12.39 KB, text/plain)
2010-08-11 03:25 UTC, Orion Poplawski
no flags Details
ifcfg.log (2.74 KB, text/plain)
2010-08-11 14:59 UTC, Orion Poplawski
no flags Details
syslog (67.10 KB, text/plain)
2010-08-11 14:59 UTC, Orion Poplawski
no flags Details

Description Orion Poplawski 2010-08-10 19:55:12 UTC
Created attachment 437985 [details]

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):

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]

The prior working /etc/resolv.conf contains:

# Generated by NetworkManager
domain cora.nwra.com
search cora.nwra.com

Comment 5 Orion Poplawski 2010-08-11 14:59:26 UTC
Created attachment 438211 [details]

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
excellent, thanks.

Note You need to log in before you can comment on or make changes to this bug.