[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 1/2] Reset the resolver cache after bringing up the network (#562209).



On 02/19/2010 10:04 PM, Chris Lumens wrote:
Throughout stage2 if we bring up the network after doing various actions,
we need to make sure the DNS resolver is reset to pick up the new information.
However, pycurl/libcurl uses the c-ares resolver which does not have a
method similar to res_init.  Instead we need to tear down the pycurl.Curl
object instance cached in urlgrabber and create a new one.  This does the
same thing as re-reading /etc/resolv.conf, but in more steps.

Ack, just two little comments.


diff --git a/anaconda.spec.in b/anaconda.spec.in
index 5502725..7e36738 100644
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -67,7 +67,7 @@ BuildRequires: newt-devel
  BuildRequires: pango-devel
  BuildRequires: pykickstart>= %{pykickstartver}
  BuildRequires: python-devel
-BuildRequires: python-urlgrabber
+BuildRequires: python-urlgrabber>= 3.9.1-5

Why is it here at all? Do we need python-urlgrabber to buill the anaconda rpm?

-                            continue
+                            continue
Trailing whitespace?

Ales


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]