Your message dated Sun, 10 Nov 2019 19:04:10 +0000
with message-id <[email protected]>
and subject line Bug#942355: fixed in apt-cacher-ng 3.3-1
has caused the Debian Bug report #942355,
regarding dumb defaults for LogDir and CacheDir
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.)


-- 
942355: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942355
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apt-cacher-ng
Version: 3.2-2
Severity: minor

Right now apt-cacher-ng ships with TWO sets of default values:
the ones hard-coded into the binary, and
the ones in the default config file.

They don't match.  This is confusing.
Please make them match, and then (ideally) make the default acng.conf be just 
comments.

    # mkdir fnord   # empty directory, i.e. compiled-in config
    # /usr/lib/apt-cacher-ng/acngtool printvar -c fnord LogDir
    /var/tmp
    # /usr/lib/apt-cacher-ng/acngtool printvar -c fnord CacheDir
    /var/tmp
    # /usr/lib/apt-cacher-ng/acngtool printvar -c fnord SupportDir
    /usr/lib/apt-cacher-ng

Those first two defaults are clearly dumb, and should be fixed.
Hopefully this is straightforward to do.

These also don't match the default acnf.conf.

    # /usr/lib/apt-cacher-ng/acngtool printvar -c fnord ExThreshold
    20
    # /usr/lib/apt-cacher-ng/acngtool printvar -c fnord ReportPage

    # /usr/lib/apt-cacher-ng/acngtool printvar -c fnord Remap-debrep
    #



The reason I want this is because I want apt-cacher-ng to allow *only* these:

    http://apt-cacher-ng.example.net:3142/debian
    http://apt-cacher-ng.example.net:3142/debian-security

...but AFAICT to achieve that I have to DELETE "Remap"-gentoo &c from acng.conf.
I don't think I can do that from a dropin, e.g. this doesn't work:

    # cat /etc/apt-cacher-ng/zzz_cyber.conf
    Remap-gentoo:

    # /usr/sbin/apt-cacher-ng SocketPath=/run/apt-cacher-ng/socket -c 
/etc/apt-cacher-ng ForeGround=1
    WARNING: No configuration was read from file:sfnet_mirrors
    Invalid entry, no configuration: Remap-gentoo:
    Error reading main options, terminating.

So I have to edit acng.conf itself.
augtool doesn't have a lens for acng.conf, because it's a weird "unique 
snowflake" format.
So I have to replace acng.conf entirely.
But LogDir and CacheDir have the wrong "default defaults".
So I have to set those back to the "non-default defaults" explicitly.
But that's ugly.
So I am writing this bug report. :-)


-- System Information:
Debian Release: 10.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 
'proposed-updates'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: apt-cacher-ng
Source-Version: 3.3-1

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: Sun, 10 Nov 2019 19:00:40 +0100
Source: apt-cacher-ng
Architecture: source
Version: 3.3-1
Distribution: experimental
Urgency: low
Maintainer: Eduard Bloch <[email protected]>
Changed-By: Eduard Bloch <[email protected]>
Closes: 855995 913593 914746 915082 926282 928270 929035 942122 942355 942844 
944143
Changes:
 apt-cacher-ng (3.3-1) experimental; urgency=low
 .
   * New upstream version v3.3
     Contains a good number of internal changes, including:
     - Alternative fallback scheme for non-primary target connection
       attempts (with default timeout value of 4s, see FastTimeout
       setting). By default, this should help with unstable (blocking) IPv6
       routing where IPv4 is still operational (closes: #942122)
     - RequiresMountsFor directive in systemd service file example with
       additional remarks on keeping this in sync with the config
       (closes: #929035, #942355)
     - PFilePattern extensions for Fedora 29 and 30, by Alan Jenkins,
       closes: #928270, thanks!)
     - VFilePattern extension for Centos8, by Andy Lowther,
       closes: #944143 (thanks!)
     - added very explicit explanation on what "default value" means in the
       acng.conf example (closes: #855995) and also how to print it (with
       acngtool, closes: #914746)
     - Typo in INSTALL file (closes: #913593)
     - In Arch Linux database mirror list, rewrite https URLs to http since
       the official JSON query only returns https versions, also add a
       different source (closes: #942844, thanks!)
   * Make errors on purging of cache folder non-fatal (closes: #915082)
   * Recommends: ca-certificates (closes: #926282)
Checksums-Sha1:
 f1d4fa1dcfd0d5443a9eeb569aa06453813faa88 2187 apt-cacher-ng_3.3-1.dsc
 1d44158cb03bd1107eb4e57d3d2581c560f5013e 320884 apt-cacher-ng_3.3.orig.tar.xz
 a5b5c2002efb59fd41911171b9c2c9d6f72ee206 48472 
apt-cacher-ng_3.3-1.debian.tar.xz
 e6f4d3a70c847fcc36d7354c8786d628412fc881 8102 
apt-cacher-ng_3.3-1_source.buildinfo
Checksums-Sha256:
 b91fc8853648df3b022dc4d6ee96e05f61a43997f6a72ba64a4242ba240a712b 2187 
apt-cacher-ng_3.3-1.dsc
 038c46389bf5792f498e476be004aeefa121d5942def02fbbf95dfacb2542c37 320884 
apt-cacher-ng_3.3.orig.tar.xz
 8c56e6b9335c278d3fac36846be39647985823aea9ea1544da05a0f3c78da2b0 48472 
apt-cacher-ng_3.3-1.debian.tar.xz
 928b889ede85ea1a1a5b0ced476eb4d8abf755bbade2ab6a57d8eba255199e4c 8102 
apt-cacher-ng_3.3-1_source.buildinfo
Files:
 4888de1a4ae03d36f2fbc10562544385 2187 net optional apt-cacher-ng_3.3-1.dsc
 8f9f99056e3e9969c4ce570611cb5216 320884 net optional 
apt-cacher-ng_3.3.orig.tar.xz
 7993af04e43ee72b4da105965d17bba0 48472 net optional 
apt-cacher-ng_3.3-1.debian.tar.xz
 5b6510e9285aa2c403a2845059ce4fd2 8102 net optional 
apt-cacher-ng_3.3-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEZI3Zj0vEgpAXyw40aXQOXLNf7DwFAl3IWzoACgkQaXQOXLNf
7DxQFg/6AmZQ+5BWVkcW6eLvdlNXF5VJsxhLh+AN/Kckq/rPht4Ml+VZDH3y+xBE
qsNQXkccg+bvNFZPjvdC9wQlLKtQTwostcRL/vsrW/be598dUNV62i5tl+gWKQjw
DxDLhpX8+6Lmd1T57t+JvuyeYHojaGfCKWO7dzoiIg116oQ/gVVo7EW/HFBXKIDM
/3JCp91KzEOxZF9otTbeEk3reFGF6dnK3dcXdbv7G8EPJ1EU4/93jsIOVstZb+ml
eekpbgT2N6u89RR517nG1wPvjnlD55AXDXdyAx6Cg6nzG4lRWdfrIKLRVDKZRuXS
/rg4SmMjSTYKeAD8ZIceviJGNr2hkdNgBLAzSzj6BQQm1Nnktph7CkKooHz2uMmr
pWzUs7t9/j8/5/naFzPgVNDrq0nAjUf4nHpWB66OYNH2WfhQBZBAs+VbJys0e8BN
7Ny5CTrsFGXGBMyWgp79MebpY0oi9HKXhyvg5IA/rU6fqLTuPegTStfZtygjmr6W
PEyjMo2lrBdy4kdv2f3GyNTNNBn0RKyt09TK6I7J3ZeFR4d0FWe6ZzGsfa+RlSWt
0e9nMl3HlZbf15GT/YGEQJP1xe1r7L7mHe/6a5xf0fFXMkXOCV9/Q+Mttmqkd56J
n+RxzavF++ABRFcdfmWWdxlTQMfHo0YUB53oEx9LTDEN3my/nHM=
=TPj1
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to