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

Bug#994064: Bug#1000862: possible fix



On 30/11/2021 15:10, Thomas Goirand wrote:
On 11/30/21 2:15 PM, Landry Breuil wrote:
Fwiw, i replaced eventlet/support/greendns.py by the version shipped in
eventlet 0.32.0 (eg after
https://github.com/eventlet/eventlet/commit/aeb0390094a1c3f29bb4f25a8dab96587a86b3e8)
and the minimal testcase now works.

[30/11 14:07] root@wxs1.fluela:/tmp $sudo mv greendns.py
/usr/lib/python3/dist-packages/eventlet/support/greendns.py
[30/11 14:08] root@wxs1.fluela:/tmp $python3 ./testdnspy.py
dmfrjf4ips8xa.cloudfront.net. 60 IN A 143.204.229.111
dmfrjf4ips8xa.cloudfront.net. 60 IN A 143.204.229.121
dmfrjf4ips8xa.cloudfront.net. 60 IN A 143.204.229.30
dmfrjf4ips8xa.cloudfront.net. 60 IN A 143.204.229.26

cf attached patch between both files.

would it be possible to expand
https://sources.debian.org/patches/python-eventlet/0.26.1-7/Replace-dnspython-_compute_expiration-by-_compute_times.patch/
with the full commit and ship 0.26.1-8 to bullseye, or i will have to
live with /etc/hosts kludges for now ?

i'm not sure, but maybe sid and bookworm are also affected by the same
bug as eventlet is only 0.30.0 there.

Hi Landry,

I'm very much aware of the situation. We prepared a patch for Eventlet,
which is waiting for the Debian Stable release team approval. Please see
this bug entry:

https://bugs.debian.org/994064

ah, very sorry to have reported a duplicate, reportbug didnt propose me this bug when reporting, i had looked previously on https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=python-eventlet and didnt find an already reported issue.

I'm therefore CC-ing this release team bug, since you're the 2nd person
to complain that this hasn't been approved yet.

If you look into this bug entry, you'll see that I am referencing a
build with the patch that is available here:

http://bullseye-victoria.debian.net/debian/pool/bullseye-victoria-backports-nochange/main/p/python-eventlet/

Please test python3-eventlet_0.26.1-7+deb11u1_all.deb from that place,
and let me know if it works for you, and fixes the problem you are
reporting here. Please write your report to 994064@bugs.debian.org so
that you participate convincing the Debian Stable Release Team that this
Eventlet update should happen. FYI, that's the most important bit for
the release team: to know that an update doesn't break anything more,
and that it's been tested.

Hopefully, with your help, the updated 0.26.1-7+deb11u1 version of
Eventlet can be approved into Debian Bullseye.

Well i've installed python3-eventlet 0.26.1-7+deb11u1 from that url on a testing environment, commented my /etc/hosts workaround, restarted the mapproxy gunicorn pool, and can confirm that it also fixes the mapproxy 'Lookup timed out' issue (which makes sense, since greendns.py has the content from 0.32.0 so it's equivalent to my previous patch)

Many thanks for your work on tracking this !


Reply to: