Package: apt-listbugs
Version: 0.1.23
Severity: important
apt-listbugs does not honor Acquire::http::TimeOut, while its man page
says:
CONFIGURATION FILE
apt-listbugs understands APT configuration file (see apt.conf(5) for
more details). [...]
This means that in case of partial network failure (such as IPv6
connections hanging), one may have to wait a lot of time between
! CONNECT TO bugs.debian.org:80
and
! CONNECTION ESTABLISHED
(with --debug output). For instance, with a strace:
[...]
10645 10:27:56 socket(AF_INET6, SOCK_DGRAM, IPPROTO_IP) = 7
10645 10:27:56 connect(7, {sa_family=AF_INET6, sin6_port=htons(80),
inet_pton(AF_INET6, "2605:bc80:3010:b00:0:deb:166:201", &sin6_addr),
sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = 0
10645 10:27:56 getsockname(7, {sa_family=AF_INET6, sin6_port=htons(36432),
inet_pton(AF_INET6, "2a02:8429:80cd:3100:328d:99ff:fe25:ad3f", &sin6_addr),
sin6_flowinfo=htonl(0), sin6_scope_id=0}, [28]) = 0
10645 10:27:56 connect(7, {sa_family=AF_UNSPEC,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0
10645 10:27:56 connect(7, {sa_family=AF_INET6, sin6_port=htons(80),
inet_pton(AF_INET6, "2607:f8f0:614:1::1274:39", &sin6_addr),
sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = 0
10645 10:27:56 getsockname(7, {sa_family=AF_INET6, sin6_port=htons(47973),
inet_pton(AF_INET6, "2a02:8429:80cd:3100:328d:99ff:fe25:ad3f", &sin6_addr),
sin6_flowinfo=htonl(0), sin6_scope_id=0}, [28]) = 0
10645 10:27:56 close(7) = 0
10645 10:27:56 socket(AF_INET6, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_TCP) = 7
10645 10:27:56 fcntl(7, F_GETFD) = 0x1 (flags FD_CLOEXEC)
10645 10:27:56 connect(7, {sa_family=AF_INET6, sin6_port=htons(80),
inet_pton(AF_INET6, "2605:bc80:3010:b00:0:deb:166:201", &sin6_addr),
sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = -1 ETIMEDOUT (Connection timed
out)
10645 10:30:05 close(7) = 0
10645 10:30:05 socket(AF_INET6, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_TCP) = 7
10645 10:30:05 connect(7, {sa_family=AF_INET6, sin6_port=htons(80),
inet_pton(AF_INET6, "2607:f8f0:614:1::1274:39", &sin6_addr),
sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = -1 ETIMEDOUT (Connection timed
out)
10645 10:32:17 close(7) = 0
10645 10:32:17 socket(AF_INET, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_TCP) = 7
10645 10:32:17 connect(7, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("140.211.166.201")}, 16) = 0
10645 10:32:17 fstat(7, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
10645 10:32:17 write(1, "! CONNECTION ESTABLISHED\n", 25) = 25
[...]
Here, that's more than 4 minutes for each apt-listbugs invocation
(more that 8 minutes in my case, where I have 2 invocations).
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'),
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.11.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages apt-listbugs depends on:
ii apt 1.5~beta1
ii ruby 1:2.3.3
ii ruby-debian 0.3.9+b6
ii ruby-gettext 3.2.2-2
ii ruby-soap4r 2.0.5-3
ii ruby-unicode 0.4.4-2+b7
ii ruby-xmlparser 0.7.3-3
Versions of packages apt-listbugs recommends:
ii ruby-httpclient 2.7.1-1.1
Versions of packages apt-listbugs suggests:
ii debianutils 4.8.1.1
ii firefox [www-browser] 54.0-2
ii firefox-esr [www-browser] 52.2.0esr-2
ii lynx [www-browser] 2.8.9dev16-1
ii opera-stable [www-browser] 46.0.2597.57
ii reportbug 7.1.7
ii w3m [www-browser] 0.5.3-34
-- Configuration Files:
/etc/apt/apt.conf.d/10apt-listbugs changed:
// Before installing packages, check whether they have release-critical
// or security bugs.
DPkg::Pre-Install-Pkgs
{
"/usr/sbin/apt-listbugs apt -d";
"/usr/sbin/apt-listbugs apt -T security -s all -d";
};
DPkg::Tools::Options::/usr/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "3";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::InfoFD "20";
AptListbugs::Severities "critical,grave,serious";
AptListbugs::IgnoreRegexp "FTBFS";
-- no debconf information