Package: policyd-weight
Version: 0.1.15.2-8
Severity: normal

Dear Maintainer,

policyd-weight is not able to create a lookup socket connection if local dns 
server address is a ipv6 address - policyd-weight 
tries to create a new socket which fails because socket creation is implemented 
only for v4 with IO::Socket::INET but not 
but not for ipv6 with IO::Socket::INET6. The following warning message is 
generated:

Oct  4 15:25:18 smaint postfix/policyd-weight[2926]: warning: child: could not 
open RBL Lookup Socket to ::1: IO::Socket::INET: Bad hostname '::1' Invalid 
argument

policyd-weight in consequence of the failed socket creation then uses Net::DNS 
for dns resolution instead of a socket. So a 
validation should be implemented if used dns ip address is a ipv6 address. If 
so, IO::Socket::INET6 should be used for socket
creation. 

Cheers,
Werner Detter
 
-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages policyd-weight depends on:
ii  adduser                  3.113+nmu3
ii  libio-socket-inet6-perl  2.72-1
ii  libnet-dns-perl          0.80-1
ii  libnet-ip-perl           1.26-1
ii  lsb-base                 4.1+Debian13
ii  perl                     5.20.1-1

Versions of packages policyd-weight recommends:
ii  perl [libsys-syslog-perl]  5.20.1-1

policyd-weight suggests no packages.

-- Configuration Files:
/etc/default/policyd-weight changed [not included]

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to