diff options
author | Chris Lumens <clumens@redhat.com> | 2010-02-19 15:40:59 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-02-22 12:53:42 -0500 |
commit | 0ed3a4d77176c5aad25f9da487eb8f70a9e9112f (patch) | |
tree | e4514e8e93b27d175626a7d300434444c3490a44 /anaconda.spec.in | |
parent | 49f12d62f5d9c5cf213a983023000be988ffffc1 (diff) | |
download | anaconda-0ed3a4d77176c5aad25f9da487eb8f70a9e9112f.tar.gz anaconda-0ed3a4d77176c5aad25f9da487eb8f70a9e9112f.tar.xz anaconda-0ed3a4d77176c5aad25f9da487eb8f70a9e9112f.zip |
Reset the resolver cache after bringing up the network (#562209).
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.
Diffstat (limited to 'anaconda.spec.in')
-rw-r--r-- | anaconda.spec.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/anaconda.spec.in b/anaconda.spec.in index 57d49e244..b055474f6 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 BuildRequires: rpm-devel BuildRequires: rpm-python >= %{rpmpythonver} BuildRequires: slang-devel >= %{slangver} @@ -94,7 +94,7 @@ Requires: parted >= %{partedver} Requires: pyparted >= %{pypartedver} Requires: yum >= %{yumver} Requires: libxml2-python -Requires: python-urlgrabber +Requires: python-urlgrabber >= 3.9.1-5 Requires: system-logos Requires: pykickstart >= %{pykickstartver} Requires: system-config-date >= %{syscfgdatever} |