Your message dated Sat, 09 Oct 2021 13:18:24 +0000 with message-id <[email protected]> and subject line Bug#994778: fixed in apt-cacher-ng 3.7.3-1 has caused the Debian Bug report #994778, regarding apt-cacher-ng: BindAddress not working with plain IPv6 addresses ending with integer to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 994778: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994778 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apt-cacher-ng Version: 3.6.4-1 Severity: normal Tags: ipv6 upstream Dear Maintainer, apt-cacher-ng does not properly bind the network socket when the value of the BindAddress variable is a plain IPv6 address whose last group is a integer number (and could thus be interpreted as a port). These do work as expected: BindAddress=127.0.0.1 -> binds to 127.0.0.1:3142 BindAddress=127.0.0.1:8080 -> binds to 127.0.0.1:8080 BindAddress=::abcd -> binds to [::abcd]:3142 BindAddress=[::abcd]:8080 -> binds to [::abcd]:8080 BindAddress=[::1]:8080 -> binds to [::1]:8080 This does not work while it should: BindAddress=::1 -> binds to nothing but should be [::1]:3142 These do not work, but that may be intentional since the square bracket notation is only used in conjunction with a port: BindAddress=[::abcd] -> binds to nothing, could be [::abcd]:3142 BindAddress=[::1] -> binds to nothing, could be [::1]:3142 When the last group is a integer, it gets cut off and used as a port: BindAddress=::abcd:1234 -> binds to [::abcd]:1234 but should be [::abcd:1234]:3142 BindAddress=:::1 -> binds to [::]:1 but should throw an "invalid address" error Plain IPv6 addresses worked fine on buster (also did on stretch and jessie), but not on bullseye anymore. The systemd service starts successfully but listens on no port/address. Depending on the BindAddress, the error message I got was either "Error resolving address for binding: Invalid argument" when the cut-off IPv6 address was invalid, or "Couldn't bind socket: Cannot assign requested address" when the cut-off IPv6 address was valid but no interface had it assigned. Raising the debug level did not turn up more information, but I did not try with a debug build. I think this issue is related to the new BindAddress port syntax and some parse-confusion with the colons. In the meantime I am using the [IPv6]:Port syntax as a workaround, since that is working as expected in all cases. -- Package-specific info: -- System Information: Debian Release: 11.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages apt-cacher-ng depends on: ii adduser 3.118 ii debconf [debconf-2.0] 1.5.77 ii dpkg 1.20.9 ii libbz2-1.0 1.0.8-4 ii libc6 2.31-13 ii libevent-2.1-7 2.1.12-stable-1 ii libevent-pthreads-2.1-7 2.1.12-stable-1 ii libgcc-s1 10.2.1-6 ii liblzma5 5.2.5-2 ii libssl1.1 1.1.1k-1+deb11u1 ii libstdc++6 10.2.1-6 ii libsystemd0 247.3-6 ii libwrap0 7.6.q-31 ii lsb-base 11.1.0 ii zlib1g 1:1.2.11.dfsg-2 Versions of packages apt-cacher-ng recommends: ii ca-certificates 20210119 Versions of packages apt-cacher-ng suggests: pn avahi-daemon <none> pn doc-base <none> pn libfuse2 <none> -- Configuration Files: /etc/apt-cacher-ng/acng.conf changed [not included] /etc/apt-cacher-ng/security.conf changed [not included] /etc/cron.daily/apt-cacher-ng changed [not included] -- debconf information: apt-cacher-ng/port: keep apt-cacher-ng/gentargetmode: No automated setup apt-cacher-ng/cachedir: keep apt-cacher-ng/bindaddress: keep apt-cacher-ng/proxy: keep * apt-cacher-ng/tunnelenable: false
--- End Message ---
--- Begin Message ---Source: apt-cacher-ng Source-Version: 3.7.3-1 Done: Eduard Bloch <[email protected]> We believe that the bug you reported is fixed in the latest version of apt-cacher-ng, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Eduard Bloch <[email protected]> (supplier of updated apt-cacher-ng package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sat, 09 Oct 2021 12:40:22 +0200 Source: apt-cacher-ng Architecture: source Version: 3.7.3-1 Distribution: unstable Urgency: low Maintainer: Eduard Bloch <[email protected]> Changed-By: Eduard Bloch <[email protected]> Closes: 985406 989347 994778 Changes: apt-cacher-ng (3.7.3-1) unstable; urgency=low . * New upstream version + fixes interpretation of compressed v6 IPs (closes: #994778) + adds support for .sig suffix (closes: #989347) + fixes compilation with g++-11 (Salsa issue #10) * expiring maintenance job execution logs (closes: #985406) Checksums-Sha1: b6c5a77ee57a69de00329047fbc1ff5f36f09d0d 2127 apt-cacher-ng_3.7.3-1.dsc 056168bf75001f50894fced6af95976036715998 351948 apt-cacher-ng_3.7.3.orig.tar.xz 771ef65a43554f73af6c6c982a7035ff82aedba8 50124 apt-cacher-ng_3.7.3-1.debian.tar.xz 2806ac138a2056af477b9f70460ba9b9a944206f 8865 apt-cacher-ng_3.7.3-1_source.buildinfo Checksums-Sha256: 4ae3a133aef4a8d2a1ce83be3db8304dd6824cee3654ee86b72387012a6339f0 2127 apt-cacher-ng_3.7.3-1.dsc a6bfedde4a59c7b37996de716ae16be8f79b984f13f19ec808fb51f1770e4332 351948 apt-cacher-ng_3.7.3.orig.tar.xz 4ade629b8301eec2b3e972b09b5a24c919b8116609fd953051540d7e30a4a7dd 50124 apt-cacher-ng_3.7.3-1.debian.tar.xz 30cb3242ec418e3fe48c986a715181bb23337b1f687b783b52f018ed23c3ec5b 8865 apt-cacher-ng_3.7.3-1_source.buildinfo Files: f4ed9ead4df8697489e734ced0ff410a 2127 net optional apt-cacher-ng_3.7.3-1.dsc d930862df9ede0d4d3a925404d87760c 351948 net optional apt-cacher-ng_3.7.3.orig.tar.xz 3d7028ce7697b6634a7cfd0449078286 50124 net optional apt-cacher-ng_3.7.3-1.debian.tar.xz 538ecfda39235550470db19b4ee5c8f1 8865 net optional apt-cacher-ng_3.7.3-1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEZI3Zj0vEgpAXyw40aXQOXLNf7DwFAmFhh+sACgkQaXQOXLNf 7Dw9LxAAw3T9bpyCArictOUy3iQgNT05cZlJVZZ1I7uZYq1li55pthz0h9EPkAq9 o+yxaixh+MRTdlIvf8WoeBs58BTs0UjJRCMCIO4/K5+yt3Fwc/Ru/Y+jp2hGQgyz bO10EoVmbWem759a+uCgyt8fjcws8AQCV+/E00qnQbA1gKnDpDRsGIggcgSFWEmC 4yq8VSrLf+0VYf71whSKno8BRdQpa9CFT7h7Cqdd4CJc0eMyw9PHV68JYb1+43NF V0Q9cmq1ivNLyKqiZypbrIRlvlHcxjLHDBerVbLKU7M3VTasagYcd0orSTrmjcgy GXNwTQF2yILDKs+q4ICx45vFWbC56J23Ci4iQme9pXEXZK1FvIza+aCzk0Agltve fhRTpKwEOlrXlf544HtakQf6lEJZ0kF0roT3Np3yCm06vvi9YChnfK3/oveCHLDD dfaoMf6oP/COJpMe83GwR5d7TRvyeaS2y2nYq51HgxLkqyeMeIZnw82bb3IaV+ow XntzgqfGLh1oDTkLdJD9eZ8hoDAuV1jLozlpF/7zM5Q0hxziPd8DsqE/yApGEgm7 y4kD5H735AaX/C0D8V1q/rL7TApGOMEbBXabGMqA850etaPfVQXtmDuvz855a/9z CqZI2fThdn3YcT2A/1TNaaqPYknmVEcBcX/gNle2uQG+eW+GdQI= =AwY9 -----END PGP SIGNATURE-----
--- End Message ---

