I'm on Ubuntu, and I'm also seeing the double var directory with both 3.7.4
and 3.7.5.  Here is some more information from what we've determined.

Building and installing 3.6.4 seems to resolve the issue.

Note that we are having issues with updates done through acng sometimes
hanging.  We run updates on around 100 systems, spread across 3 acng in
different environments, every morning.  This hanging is why we started
investigating and found the
/var/cache/apt-cacher-ng/var/cache/apt-cacher-ng directory.

If I "rm -rf /var/cache/apt-cacher-ng/var" and then restart apt-cacher-ng,
then run a bunch of updates on systems, when it gets to the dist-ugprade
part of our updates (we run them through Ansible using a playbook which
does a bunch of things), it creates that double-var directory.

I've checked the systemd file for something like a chroot, there doesn't
seem to be one.  It does have "RequiresMountsFor=/var/cache/apt-cacher-ng",
which IIUC should just wait for that mount to become available.

The acng.conf has a fully qualified var directory for CacheDir: "CacheDir:
/var/cache/apt-cacher-ng".

My acng process is running with a cwd of /

I think that's all the information I can add at this point.  We are
retro-grading to 3.6.4 as a solution.

Thanks,
Sean

Reply via email to