[Bug 1422162] [NEW] /usr/share/squid-deb-proxy-client/apt-avahi-discover crashing

Hadmut Danisch hadmut at danisch.de
Sun Feb 15 19:02:47 UTC 2015


Public bug reported:

Hi,

since recent upgrade /usr/share/squid-deb-proxy-client/apt-avahi-
discover crashes (= uncaught exception):

# /usr/share/squid-deb-proxy-client/apt-avahi-discover
Traceback (most recent call last):
  File "/usr/share/squid-deb-proxy-client/apt-avahi-discover", line 126, in <module>
    address = get_proxy_host_port_from_avahi()
  File "/usr/share/squid-deb-proxy-client/apt-avahi-discover", line 109, in get_proxy_host_port_from_avahi
    hosts.append(AptAvahiClient(addr))
  File "/usr/share/squid-deb-proxy-client/apt-avahi-discover", line 44, in __init__
    self.connect( (addr[0], addr[1], 0, 0) )
  File "/usr/lib/python2.7/asyncore.py", line 356, in connect
    raise socket.error(err, errorcode[err])
socket.error: [Errno 101] ENETUNREACH


Reason: There's a problem with the avahi daemon running on the machine
with squid proxy server. It always advertises an official IPv6 address,
but its firewall allows a fe80:: address only, i.e. it advertieses an
IPv6 address where the Port of the proxy is not available. While this is
definitely a problem and misconfiguration of the proxy server,   apt-
avahi-discover  should not crash, but simply not report that proxy
server as found.

regards

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: squid-deb-proxy-client 0.8.6
ProcVersionSignature: Ubuntu 3.13.0-45.74-generic 3.13.11-ckt13
Uname: Linux 3.13.0-45-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun Feb 15 19:43:15 2015
PackageArchitecture: all
SourcePackage: squid-deb-proxy
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: squid-deb-proxy (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug third-party-packages trusty

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid-deb-proxy in Ubuntu.
https://bugs.launchpad.net/bugs/1422162

Title:
  /usr/share/squid-deb-proxy-client/apt-avahi-discover crashing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/1422162/+subscriptions



More information about the Ubuntu-server-bugs mailing list