Bug 878540 - problem to make /etc/hosts persistent
Summary: problem to make /etc/hosts persistent
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-node
Version: 3.1 GA
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Mike Burns
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 894059
TreeView+ depends on / blocked
 
Reported: 2012-11-20 16:32 UTC by Gianluca Cecchi
Modified: 2016-04-26 18:26 UTC (History)
7 users (show)

Fixed In Version: 2.6.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-06 14:02:45 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

Description Gianluca Cecchi 2012-11-20 16:32:31 UTC
Description of problem:
/etc/hosts doesn't persist

Version-Release number of selected component (if applicable):
ovirt-node-iso-2.5.5-0.1.fc17.iso

# cat /etc/redhat-release
oVirt Node Hypervisor release 2.5.5 (0.1.fc17)

How reproducible:


Steps to Reproduce:
1. edit /etc/hosts
2. reboot the oVirt Node
3. edit /etc/hosts
  
Actual results:
it doesn't contain previous modifications

Expected results:
it contains previous modifications

Additional info:

On oVirt Node:
# persist /etc/hosts
File already persisted: /etc/hosts

But actually at reboot my modification is not there again....

Comment 1 Mike Burns 2013-02-05 21:32:21 UTC
http://gerrit.ovirt.org/11771

a previous patch introduced this regression.  We require some form of /etc/hosts and the script to write the minimal one was checking if the file was empty instead of not empty

Comment 2 Mike Burns 2013-02-06 14:02:33 UTC
merged and available in the next release


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