Hallo,
* john doe [Mon, Nov 04 2019, 03:47:00PM]:
> Package: apt-cacher-ng
> Version: 3.2-2
>
> Upon installation of AC-NG, the remap rule ('secdeb') for debian
> security is missing the directory spec ('/debian-security'):
>
> Rong remap rule without directory spec:
>
> Remap-secdeb: security.debian.org ; security.debian.org
> deb.debian.org/debian-security
>
> Working remap rule with directory spec:
>
> Remap-secdeb: security.debian.org /debian-security ; security.debian.org
> deb.debian.org/debian-security

Ok, so I think the default configuration has been PITA for some people
for the last couple of years and I am sorry. I intend to modify the
default mapping as shown below, or see:

https://salsa.debian.org/blade/apt-cacher-ng/-/commit/3090d97ed9794a64f509917c77f0bb7ebccf1fbf

Is this something we can agree on? I am not so sure about using
deb.debian.org as default backend.



index 9dbf87c..940feab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,9 @@ apt-cacher-ng (3.6.1) HAPPENS-TO-THE-BEAST-OF-US; urgency=low
   * Avoid potential file descriptor leak in download item collision handling
   * Extended mirror scan to guess {ftp2, ftp3}.XY.debian.org address aliases
     (Debian bug #951005)
+  * Extended security.debian.org rewriting to also include deb.debian.org
+    requests and change default mirror for them all to deb.debian.org (Debian
+    bugs #932093, previously #884881)

  --

diff --git a/conf/acng.conf.in b/conf/acng.conf.in
index 2f269ae..4147809 100644
--- a/conf/acng.conf.in
+++ b/conf/acng.conf.in
@@ -77,7 +77,7 @@ Remap-fedora: file:fedora_mirrors # Fedora Linux
 Remap-epel:   file:epel_mirrors # Fedora EPEL
 Remap-slrep:  file:sl_mirrors # Scientific Linux
 Remap-gentoo: file:gentoo_mirrors.gz /gentoo ; file:backends_gentoo # Gentoo 
Archives
-Remap-secdeb: security.debian.org ; security.debian.org 
deb.debian.org/debian-security
+Remap-secdeb: security.debian.org security.debian.org/debian-security 
deb.debian.org/debian-security /debian-security ; 
deb.debian.org/debian-security security.debian.org

 # Virtual page accessible in a web browser to see statistics and status
 # information, i.e. under http://localhost:3142/acng-report.html



Best Regards,
Eduard.
--
Atheismus ist keine Philosophie, er ist noch nicht ein mal eine
Weltsicht. Er ist schlichtweg die Weigerung, ohne Grund das Gegenteil
des Offensichtlichen zu glauben.

Reply via email to