Bug 491808

Summary: anaconda fights with setup for /etc/hosts file leading to /etc/hosts.rpmnew
Product: [Fedora] Fedora Reporter: Jesse Keating <jkeating>
Component: anacondaAssignee: David Cantrell <dcantrell>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: anaconda-maint-list, dcantrell, pjones, rmaximo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-24 19:53:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 446451    
Attachments:
Description Flags
0001-Do-not-write-etc-hosts-since-setup-owns-that-now.patch none

Description Jesse Keating 2009-03-24 05:37:13 UTC
It looks like, at least with network installs, an /etc/hosts file is written to /mnt/sysimage rather early, which conflicts with the hosts file that comes in the setup package, leading to an immediate /etc/hosts.rpmnew

Comment 1 David Cantrell 2009-03-25 02:38:40 UTC
Have a patch to fix this up now.  Attaching it to this bug report if you want to try it out, but also for my own record keeping.

Comment 2 David Cantrell 2009-03-25 02:39:13 UTC
Created attachment 336579 [details]
0001-Do-not-write-etc-hosts-since-setup-owns-that-now.patch

Comment 3 David Cantrell 2009-03-27 20:34:44 UTC
Fix will be in anaconda-11.5.0.39-1 and later.

Comment 4 Bug Zapper 2009-06-09 12:32:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping