[node-patches] Change in ovirt-node[master]: network: Fix resolv.conf reloading

mburns at redhat.com mburns at redhat.com
Tue Feb 12 22:16:25 UTC 2013


Michael Burns has submitted this change and it was merged.

Change subject: network: Fix resolv.conf reloading
......................................................................


network: Fix resolv.conf reloading

resolv.conf is only reload by glibc on the first lookup request. This
leads to problems in cases where resolv.conf changes between after the
first lookup request, because the changes are not picked up by glibc.
E.g. any new or change nameserver will not be picked up, if resolv.conf
changed during one python process.

See also:
http://www.redhat.com/archives/rhl-devel-list/2009-January/msg01256.html

Change-Id: I1a89bd1bbc4bcf650af7539a8bf4cab8c43eaca1
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/tui/src/ovirt/node/config/defaults.py
M scripts/tui/src/ovirt/node/utils/network.py
2 files changed, 22 insertions(+), 0 deletions(-)

Approvals:
  Michael Burns: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/11993
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1a89bd1bbc4bcf650af7539a8bf4cab8c43eaca1
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Michael Burns <mburns at redhat.com>



More information about the node-patches mailing list