Bug 491808 - anaconda fights with setup for /etc/hosts file leading to /etc/hosts.rpmnew
Summary: anaconda fights with setup for /etc/hosts file leading to /etc/hosts.rpmnew
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F11Target
TreeView+ depends on / blocked
 
Reported: 2009-03-24 05:37 UTC by Jesse Keating
Modified: 2013-01-10 03:28 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-06-24 19:53:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
0001-Do-not-write-etc-hosts-since-setup-owns-that-now.patch (4.14 KB, patch)
2009-03-25 02:39 UTC, David Cantrell
no flags Details | Diff

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


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