Package: apt-cacher-ng
Version: 3.7.2-1
Severity: normal

I'm having a real hard time getting acngfs to work reliably, and it
starts straining my good will quite a bit.  The impression that I'm
getting is that it finishes system calls before the underlying
download has finished which manifests as hashes being calculated
incorrectly in aptitude/apt-get/apt which makes acngfs useless.

Other behaviour I'm observing: apt-cacher-ng constantly terminates
not-yet-finished downloads only to retry them anew quickly after which
results in a lot of wasted bandwidth and incomplete files under
/var/cache/apt-cacher-ng/debrep which I then have to delete manually
because for some reason apt-cacher-ng does not detect the corruption
itself.  I have observed the behaviour only when accessing files
through acngfs.  Downloading a file with wget using apt-cacher-ng as
the proxy works fine.

I run acngfs like this:

/usr/lib/apt-cacher-ng/acngfs http://deb.debian.org/debian \
    /var/local/acngfs_debian proxy=127.0.0.1:3142 \
    cachedir=/var/cache/apt-cacher-ng/debrep \
    -o allow_root,auto_unmount,intr,intr_signal=10 -f -d

I took squid out of the picture, so I don't think it has anything to
do with this.

That's all I have.  I wish I could offer more details, but the
software is nigh undebuggable and its architecture completely
incomprehensible to me.


-- System Information:
Debian Release: 11.0
  APT prefers testing-security
  APT policy: (500, 'testing-security')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-7-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: default

Versions of packages apt-cacher-ng depends on:
ii  adduser                  3.118
ii  debconf [debconf-2.0]    1.5.75
ii  dpkg                     1.20.9
ii  libbz2-1.0               1.0.8-4
ii  libc6                    2.31-12
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
ii  libstdc++6               10.2.1-6
ii  libsystemd0              247.3-5
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>
ii  doc-base      0.11.1
ii  libfuse2      2.9.9-5

-- Configuration Files:
/etc/apt-cacher-ng/acng.conf changed [not included]
/etc/apt-cacher-ng/security.conf [Errno 13] Permission denied: 
'/etc/apt-cacher-ng/security.conf'

-- debconf information excluded

Reply via email to