Red Hat Bugzilla – Bug 1273598
docker looses /etc/hosts
Last modified: 2016-10-04 00:31:35 EDT
Description of problem:
Docker 1.8 has a race condition and can corrupt /etc/hosts inside a container
Google is coordinating a temp fix for the distros since upstream is pushing the issue out to upstream 1.9 for a fix.
As soon as they have a fix, we can patch this, but I am not sure if we are releasing anything before we ship docker-1.9?
Looks like googles fix will be outside of docker.
So we can say this is partially fixed in docker-1.9. With more fixes coming in docker-1.10.
Fixed in docker-1.10
use this https://github.com/docker/docker/issues/17190#issuecomment-149437458,
the file looks good
# docker exec test-master cat /etc/hosts
::1 localhost ip6-localhost ip6-loopback
i'm moving this back to MODIFIED as per Dan's comment and scheduling this for 1.10 update.
changing component to docker-latest
It works well on docker-latest-1.10.3-19, so moving the bug to VERIFIED status.
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.