Your message dated Sun, 29 Jun 2014 19:48:28 +0000
with message-id <[email protected]>
and subject line Bug#749052: fixed in apt-cacher 1.7.9
has caused the Debian Bug report #749052,
regarding apt-cacher: Separate direct and HTTP-proxied access to different 
origin servers (repositories/mirrors)
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.)


-- 
749052: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749052
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apt-cacher
Version: 1.7.6
Severity: important

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?

We are rolling out an Emdebian-based project in a LAN with weak internet
connectivity, so caching of packages is a substantial requirement for fast
redeployments of our test images. Apt-cacher was shown to be a pretty good
fit for our usecase, though with a nit...

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

While exploring our options, we brought over mirrors of (Em)Debian
repositories and deployed as local mirrors. There is also a corporate HTTP
proxy to access the internet for i.e. updates.
It is possible to configure a "localhost" or otherwise local server as a
backend server for a source (via "path_map") and use it if "use_proxy=0".
However, the internet sources are not accessible because explicit use of
the proxy is required by corporate networking.
It is possible to configure the internet sources like "ftp.XYZ.debian.org"
as backend servers for the sources and access them with "use_proxy=1".
However, the local (faster) mirrors of available packages, as well as
origin repositories of our own development, are thus inaccessible for
apt-cacher - because the corporate proxy does not relay those local
resources (hosted on each developer's "localhost" in the extreme case - and
obviously resolving to a different system by the corporate proxy server).

   * What was the outcome of this action?

We could not simultaneously configure to use some sources accessible only
without an HTTP proxy and some requiring one.
For developer notebooks that travel from corporate to open networks and
back, it would also be very beneficial to have dual access attempts (with
and without proxy) to some but not all resources (internet origin servers).

   * What outcome did you expect instead?

Accessibility of both local (direct) and internet (proxied and/or direct)
origin repository servers with a single configuration of apt-cacher.
It is my understanding that at the moment this separate approach is not
catered for. I believe a proper solution would be to add lists of backend
hosts that should or should not be accessed with an http_proxy, and it
should be valid to have a host listed in both lists (with both ways tried
in this case, if the first attempt over whichever transport fails).

contact: [email protected]

*** End of the template - remove these lines ***


-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-cacher depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  dpkg                   1.16.10
ii  ed                     1.6-2
ii  libfilesys-df-perl     0.92-4+b1
ii  libfreezethaw-perl     0.5001-1
ii  libio-interface-perl   1.06-1+b1
ii  libnetaddr-ip-perl     4.062+dfsg-1
ii  libsys-syscall-perl    0.23-1
ii  libwww-curl-perl       4.15-1+b2
ii  libwww-perl            6.04-1
ii  lsb-base               4.1+Debian8
ii  perl                   5.14.2-21+deb7u1
ii  ucf                    3.0025+nmu3
ii  update-inetd           4.43

Versions of packages apt-cacher recommends:
ii  libberkeleydb-perl  0.51-1

Versions of packages apt-cacher suggests:
pn  libio-socket-inet6-perl  <none>

-- debconf information:
* apt-cacher/mode: daemon

--- End Message ---
--- Begin Message ---
Source: apt-cacher
Source-Version: 1.7.9

We believe that the bug you reported is fixed in the latest version of
apt-cacher, 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.
Mark Hindley <[email protected]> (supplier of updated apt-cacher 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: Wed, 18 Jun 2014 09:02:34 +0100
Source: apt-cacher
Binary: apt-cacher
Architecture: source all
Version: 1.7.9
Distribution: unstable
Urgency: low
Maintainer: Mark Hindley <[email protected]>
Changed-By: Mark Hindley <[email protected]>
Description: 
 apt-cacher - Caching proxy server for Debian/Ubuntu software repositories
Closes: 740900 749052
Changes: 
 apt-cacher (1.7.9) unstable; urgency=low
 .
   * When reading pdiffs in apt-cacher-cleanup.pl, take LOCK_SH so the file
     is complete.
   * Add Translation-*.lzma to index_files_regexp.
   * Reduce import_sums() memory usage by using GDBM_File and anonymous
     temporary file.
   * Fix for BerkeleyDB failchk -> recover code. After recovery open a new
     environment.
   * Correct documentation: data_timeout default was increased to 120 in
     1.7.3.
   * Support setting checksum option to 'lazy' which avoids waiting for new
     files to be downloaded completely.
   * Suppress red -s output unless $verbose is set in apt-cacher-cleanup.pl.
   * Sometimes BerkeleyDB failchk is returning EINVAL, so just loop until
     we get DB_RUNRECOVERY or 0.
   * When forking daemon listener, log pid to error.log.
   * Don't send a response from die_handler() unless there is a connection.
   * Return Server header instead of Via for locally generated responses.
   * When parsing libcurl option, ensure the rest of the line after the
     key is preserved.
   * Remove obsolete Keep-Alive header from responses.
   * Reduce default request_timeout to 10.
   * Only return Accept-Ranges header for persistent connections.
   * Allow *.changelog files as well as *_changelog. apt-get tries both.
   * Allow extended locales in Translation filenames.
   * Prevent keeping get_request() loop open when providing invalid
     input.
   * Move initscript pidfile to /var/run/apt-cacher.
   * Make default for libcurl_socket /var/run/apt-cacher/libcurl.socket.
   * Validate supplied architectures using Dpkg::Arch.
   * Catch early errors by redirecting STDERR to a buffer and restoring
     once the logfiles are available.
   * Reorder main part to drop privileges and open logfiles earlier.
   * Make config variables set from commandline options private (pidfile,
     retry, chroot and fork).
   * Implement option max_loadavg.
   * use Socket in lib/apt-cacher.pl. Needed for inet_aton().
   * Create shared memory segment with mode 0600.
   * Update to Standards Version 3.9.5 (no changes).
   * aptitude is now using metadata.ftp-master.debian.org for
     changelogs. (closes: #740900)
   * Really deal properly with multiple libcurl headers when
     redirected. (closes: #740900)
   * Always correctly escape . in default regexps.
   * Simplify building regexps by using a specific list of valid
     architectures and replacing strings %VALID_NAME%, %VALID_VERSION% and
     %VALID_ARCHS% in regexps. Convert UBUNTU_RELEASE_NAMES and PATH_MAP to
     use %% delimiters, but still support those legacy forms without.
   * If called with URI /config include private config variables in output.
   * Actually only do freshness checks for index files as advertised.
   * Enforce lower case alphanumeric Ubuntu release names.
   * Reduce memory usage by limiting exports from modules and only loading
     WWW::Curl modules via require in libcurl process.
   * Add Ubuntu 14.10 release name 'utopic'.
   * Add example configuration for not proxying upstream localhost requests
     to manpage. Support escaping separators (comma or semicolon) within
     configuration options. (closes: #749052).
Checksums-Sha1: 
 1f111b4c3cdac93c66e4a65e6ffeba5c31ebc531 1446 apt-cacher_1.7.9.dsc
 ae43034e219b423a8db1b2f980a898faeb41e095 90632 apt-cacher_1.7.9.tar.xz
 61c7b4f4da26c0e594844cc782f45112048887f0 99776 apt-cacher_1.7.9_all.deb
Checksums-Sha256: 
 45873d15542e9906e012e9ef42d5f4412c5acc17d88643cf34e6f8301226e192 1446 
apt-cacher_1.7.9.dsc
 23ca33674d544b288e407a6f7be4ccacdef16a20472f2c9ae6b845d0039e7eb8 90632 
apt-cacher_1.7.9.tar.xz
 a1be4746eb6fead3907e43f7025056862d6b0f639be7ee622dcbd6dbce79d080 99776 
apt-cacher_1.7.9_all.deb
Files: 
 06037c2c1ad87651e01b4ea995f6ad36 99776 net optional apt-cacher_1.7.9_all.deb
 e6d3fb2b3c01bd6c5cc3b6922fe9cc36 1446 net optional apt-cacher_1.7.9.dsc
 fae87735572c4c92ffc3b008b928e17d 90632 net optional apt-cacher_1.7.9.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBU7Brfml0DlyzX+w8AQg96BAAppHZYZRoAWyZKPTP5/W10D5AKwr9EFFY
cxI72IHvGOMNu9JNT/XQ47wIX1rkFAXeNDzscn2/YCvG//h7kEhORudGicjNOwmP
MP/9eHlm+L87ThS3lj7HyhWcTtIAq45OL7VeHWPXS1GOXh0wp/j3mH2goGf4MKAV
OrLSH5UJOkOFy4s6pWrbTEt0KDG2Rf7lc5CwCnWpgZoDpOXZ7baLL8Nf6Hx5EX64
iObutPfa+8aeo3x/xDfoDJIRjfxG1x73q+HXHQl/NKPS+pWHMzmT0U2xNbe82zTe
CrzyJI3gR7khSQisTTBYpko87bwxT2jcs+OCzFQUyN0kYnkWakUyVqF2dtrcvtvn
A3tIVvkg2LxZnwxa2iWnu/GHYZ/eUD5X+UQVctfFNfvSvXfh0khoQhOHBVeJxfnk
2JpISm0E4lOSJ2blYnTCElrWM07iV0RTp5egKkl24mTDQBTEe3RjkKB8xZstaeGx
mSefkH9YcrYbrcpztOsqULshbSOp5j/KO46Zd6qbATpzKuaz8JicNi0V1etkf2Bv
5d4qTHYGKkIseYJ/1E1VMtaP5GX7CqvJ/zWASoNx637P2vQ7tDAYsIX3g45sTONZ
2lmhR69P7yK33LWkdHc0bN6BhEd/VNusDur+Y5EJmaNTxvJ0r6aacsixStX9+SMM
Do+afxOahAM=
=7y+C
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to