Oracle Linux 6 changes /etc/hosts after reboot
(Doc ID 1507979.1)
Last updated on APRIL 28, 2020
Applies to:
Linux OS - Version Oracle Linux 6.1 and laterOracle Cloud Infrastructure - Version N/A and later
Linux x86
Linux x86-64
Symptoms
Server reboot in Oracle Linux 6 causes Network Manager to edit /etc/hosts file. For e.g. the normal hosts file looks like below.
$ more /etc/hosts
127.0.0.1 localhost.localdomain localhost
After reboot, it changes automatically to:
[root@houvoapp1 ~]# more /etc/hosts
127.0.0.1 <hostname> localhost.localdomain localhost
::1 <hostname> localhost6.localdomain6 localhost6
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |