Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 947216 - persist command does not work on /etc/hosts file after reboot.
persist command does not work on /etc/hosts file after reboot.
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node (Show other bugs)
6.4
Unspecified Unspecified
urgent Severity urgent
: rc
: ---
Assigned To: Fabian Deutsch
Virtualization Bugs
: Regression, ZStream
Depends On:
Blocks: 950136
  Show dependency treegraph
 
Reported: 2013-04-01 16:24 EDT by Josh Carter
Modified: 2014-01-21 14:30 EST (History)
17 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A previous fix which populated an empty /etc/hosts file with default entries also overwrote an /etc/hosts file populated with custom entries. Now, when ovirt-node detects that the /etc/hosts file contains custom entries, the file is persisted upon reboot.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-01-21 14:30:47 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 360563 None None None Never
Red Hat Product Errata RHBA-2014:0033 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2014-01-21 19:14:30 EST

  None (edit)
Description Josh Carter 2013-04-01 16:24:58 EDT
Description of problem: Unable to make changes to the /etc/host file then persist it and have the file stay persisted after a reboot on Red Hat Enterprise Virtualization Hypervisor release 6.4 (20130318.1.el6_4).


Version-Release number of selected component (if applicable):
Red Hat Enterprise Virtualization Hypervisor release 6.4 (20130318.1.el6_4)


How reproducible: Very


Steps to Reproduce:
1. Install Red Hat Enterprise Virtualization Hypervisor release 6.4 (20130318.1.el6_4)
2. Modify /etc/hosts
3. persist /etc/hosts
4. reboot
5. changes are not saved. 
  
Actual results:
Changes to /etc/hosts are lost after a reboot. 

Expected results:
Changes should show up after a system reboot. 

Additional info:

I had a lab hypervisor that has the bellow release on it and I was able to presist the /etc/hosts file successfully. 
/etc/redhat-release 
Red Hat Enterprise Virtualization Hypervisor release 6.3 (20121212.0.el6_3)

Updated to 

/etc/redhat-release 
Red Hat Enterprise Virtualization Hypervisor release 6.4 (20130318.1.el6_4)

Unable to persist the /etc/hosts file but able to persist /config/etc/hosts.
Comment 4 Josh Carter 2013-04-02 18:06:03 EDT
I can persist other files fine just not /etc/hosts.
Comment 15 errata-xmlrpc 2014-01-21 14:30:47 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0033.html

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