Package: apt-cacher-ng
Version: 0.2.2-2
Severity: normal

Just hit this bug :s
The problem is in the perl script
(/usr/lib/apt-cacher-ng/expire-caller.pl), in the part where it parses
the configuration files.

It parses each line into key+value pairs:

  ($key, $value) = split(/\s*:\s*/);

And then builds the map:

  $cfg{$key}=$value;
 
BindAddress might list more than one value in the "value" part, but the
script treats it like a single string - which is likely an invalid
hostname.
The address is used to contact the daemon (conTcp), so in this case it
should be acceptable to add a special case to use only the first address
listed.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36-rc4 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
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