[issue29272] test_logging hangs if /etc/hosts only aliases "localhost" to ::1

2018-07-02 Thread STINNER Victor
STINNER Victor added the comment: I confirm the issue. test_logging hangs if the resolution of the hostname fails with a timeout. I worked again the issue by adding my hostname to /etc/hosts. -- nosy: +vstinner ___ Python tracker

[issue29272] test_logging hangs if /etc/hosts only aliases "localhost" to ::1

2018-05-31 Thread KMiNT21
KMiNT21 added the comment: The same bug for me: 3.6.5 and 3.6.4 -hangs on test_logging forever. Thanks to this report - I've commented some lines in /etc/host and after 'test_logging' passed OK! -- nosy: +KMiNT21 ___ Python tracker

[issue29272] test_logging hangs if /etc/hosts only aliases "localhost" to ::1

2017-01-13 Thread Brian Vandenberg
New submission from Brian Vandenberg: On some of the linux boxes on our (air-gapped, if that matters) network it looks like some of them were mis-configured and their /etc/hosts file looks something like this: $ cat /etc/hosts 127.0.0.1 snoopy.the.internal.domain snoopy localhost4