Bug #74287 [Com]: DNS Resolution appears broken with recent Ubuntu update

From: Date: Wed, 22 Mar 2017 13:14:47 +0000
Subject: Bug #74287 [Com]: DNS Resolution appears broken with recent Ubuntu update
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207999@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74287&edit=1 ID: 74287 Comment by: frank at groenewoud dot me Reported by: jndockery at gmail dot com Summary: DNS Resolution appears broken with recent Ubuntu update Status: Open Type: Bug Package: Network related Operating System: Ubuntu 14.04.5 LTS PHP Version: 5.6.30 Block user comment: N Private report: N New Comment: Changelog libc-bin: eglibc (2.19-0ubuntu6.11) trusty-security; urgency=medium * REGRESSION UPDATE: Previous update introduced ABI breakage in internal glibc query ABI - Back out patches/any/CVE-2015-5180-regression.diff (LP: #1674532) -- Steve Beattie <sbeattie@ubuntu.com> Tue, 21 Mar 2017 03:28:13 -0700 Bug 1674532: After installing the libc6_2.19-0ubuntu6.10_amd64_udeb package during the automated install of ubuntu 14.04.5, the system was suddenly unable to resolve hostnames via dns. Installing -0ubuntu6.9 resolved the issue. Reinstalling -ubuntu6.10 broke the system again. I note that -ubuntu6.10 was recently added to the archive. I am currently unable to install Ubuntu 14.04.5. Previous Comments: ------------------------------------------------------------------------ [2017-03-22 11:16:58] alex at 1200wd dot com For people like me that happened to stumble on this: Checking my apt logs the following packages were updated at that time: - libxml2 - libc-bin This happened on an ubuntu 16.04 server with php7. ------------------------------------------------------------------------ [2017-03-22 10:33:52] spam2 at rhsoft dot net sorry, but i don't get how ideas like "oh, my distribution updated libc and something broke, i will report a bug on the victims upstream bugtracker" are growing ------------------------------------------------------------------------ [2017-03-21 22:46:11] nikic@php.net @rhsoft: It would be much appreciated if you could tone down your comments a bit. They are commonly passive aggressive, sometimes downright rude and contribute to a somewhat unpleasant atmosphere on this bug tracker. ------------------------------------------------------------------------ [2017-03-21 21:55:14] spam2 at rhsoft dot net and why don't you write a bugreport on the ubuntu bugtracker instead upstream? most likely some library update broke the PHP installation - both is from ubuntu and PHP 5.6 is more or less EOL at all and another question: who does "automated updates" and then complains at upstream bugtrackers that some unattended downstream stuff broke whatever? ------------------------------------------------------------------------ [2017-03-21 21:33:07] jndockery at gmail dot com Description: ------------ After an automated update, PHP appears unable to resolve DNS entries - Other commands still resolve properly: ping, telnet, ldapsearch, curl - Affected 3 services on separate servers - Servers without unattended-upgrades (updated 2017-03-17) still functioning - Adding a manual entry in /etc/hosts allows DNS resolution Affected service examples: - ldap_bind(): "Can't contact LDAP server" - PHP curl: "Could not resolve host: ..." - SMTP: "Connection could not be established with host smtp.sendgrid.net" Packages recently updated: - libgnutls-openssl27:amd64 - multiarch-support:amd64 - libfreetype6:amd64 - libc-dev-bin:amd64 - libc-bin:amd64 - libc6:amd64 - libgnutls26:amd64 - libc6-dev:amd64 Start-Date: 2017-03-21 06:31:17 Upgrade: libgnutls-openssl27:amd64 (2.12.23-12ubuntu2.6, 2.12.23-12ubuntu2.7), multiarch-support:amd64 (2.19-0ubuntu6.9, 2.19-0ubuntu6.10), libfreetype6:amd64 (2.5.2-1ubuntu2.5, 2.5.2-1ubuntu2.6), libc-dev-bin:amd64 (2.19-0ubuntu6.9, 2.19-0ubuntu6.10), libc-bin:amd64 (2.19-0ubuntu6.9, 2.19-0ubuntu6.10), libc6:amd64 (2.19-0ubuntu6.9, 2.19-0ubuntu6.10), libgnutls26:amd64 (2.12.23-12ubuntu2.6, 2.12.23-12ubuntu2.7), libc6-dev:amd64 (2.19-0ubuntu6.9, 2.19-0ubuntu6.10) End-Date: 2017-03-21 06:31:22 Thank you! Test script: --------------- <? $url = "http://$_SERVER[HTTP_HOST]"; $ch = curl_init(); curl_setopt($ch,CURLOPT_URL,$url); curl_exec($ch); print_r(curl_error($ch)); curl_close($ch); Expected result: ---------------- no output Actual result: -------------- Could not resolve host: example.example.com ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74287&edit=1

« previous php.bugs (#207999) next »