- Package:
- apt-cacher-ng
- Source:
- apt-cacher-ng
- Description:
- caching proxy server for software repositories
- Submitter:
- Daniel Schepler
- Date:
- 2021-03-28 12:21:04 UTC
- Severity:
- serious
Package: apt-cacher-ng
Version: 3.5-3
Severity: important
Running apt-cacher-ng to serve an sbuild container which gets used
heavily, I frequently get a hang in the daily cron job. The process
tree involved is:
anacron -d -q -s
└─sh -c run-parts --report /etc/cron.daily
└─run-parts --report /etc/cron.daily
└─apt-cacher-ng /etc/cron.daily/apt-cacher-ng
└─acngtool maint -c /etc/apt-cacher-ng
SocketPath=/var/run/apt-cacher-ng/socket
This then prevents the system from reaching other /etc/cron.daily entries.
Hallo, * Daniel Schepler [Thu, Dec 17 2020, 11:31:15AM]: Oh crap. If it's still hanging at the time when you reach the console, please make some analysis, like: lsof > openfiles.txt gcore -o acng.dmp $(pidof apt-cacher-ng) and then compress them and send them directly to me. Latest contents of /var/log/apt-cacher-ng/... would also be interesting. Thanks, Eduard.
reopen 982984 severity 982984 serious thanks Hallo, * Sven Geuer [Sun, Feb 28 2021, 10:20:03PM]: Yes. This can be solved by checking for updated resolv.conf at certain moments, for example when a new client connects. However getting the replacement resolver in place is non-trivial because of the shutdown situation. You can grab a copy from https://www.unix-ag.uni-kl.de/~bloch/acng/snap3.6.1/ if you wish, or build from git, or wait a couple of days because I just found an occurrence of #977611 which needs further investigation. Best regards, Eduard.
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 977611@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Eduard Bloch <blade@debian.org> (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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 03 Mar 2021 19:20:34 +0100
Source: apt-cacher-ng
Architecture: source
Version: 3.6.2-1
Distribution: unstable
Urgency: medium
Maintainer: Eduard Bloch <blade@debian.org>
Changed-By: Eduard Bloch <blade@debian.org>
Closes: 977611 982984
Changes:
apt-cacher-ng (3.6.2-1) unstable; urgency=medium
.
* New upstream bugfix version
+ solves another DNS issue where resolv.conf is modified after startup,
also report most connect errors correctly (now really closes: #982984)
+ solves sporadic hanging of acngtool in the daily cron job
(closes: #977611)
Checksums-Sha1:
2db9b020885fa623c7b65beb699bc8ceb146a50e 2146 apt-cacher-ng_3.6.2-1.dsc
13fc76f1ae05f0e34d3437a2d2ea8feefecb6a53 334412 apt-cacher-ng_3.6.2.orig.tar.xz
8f9f1ab79a98a2286f9e23ea6f1dadf697dcb961 49484 apt-cacher-ng_3.6.2-1.debian.tar.xz
de99eb3f2494ce103bb70d4c043df93bc053ec6e 8866 apt-cacher-ng_3.6.2-1_source.buildinfo
Checksums-Sha256:
ead1e0cfd345a4bfd0b1274c87ea41b95c973175a3bd2855b4127be206c366c0 2146 apt-cacher-ng_3.6.2-1.dsc
736b8e43a7858b67f62ff9395ae7fdd59e9010ab74d44e7c65d6fcea8c9d80ed 334412 apt-cacher-ng_3.6.2.orig.tar.xz
9f5120dab820e62ed9cb2e87e33d47039979b32469ae2b160478ec1f884e6a9a 49484 apt-cacher-ng_3.6.2-1.debian.tar.xz
7914c00370c744d6ec194a4fc988086156b79dfdc0ffb8651c19273f61d71a4a 8866 apt-cacher-ng_3.6.2-1_source.buildinfo
Files:
dd05ca229e56edb4703aa278ed41c7f9 2146 net optional apt-cacher-ng_3.6.2-1.dsc
24a743cdd295e4094a7ca52b48a14729 334412 net optional apt-cacher-ng_3.6.2.orig.tar.xz
d37f53e86a2cedcc5da1cbc0a43a3041 49484 net optional apt-cacher-ng_3.6.2-1.debian.tar.xz
e10f6bc49e3b0f9fc251bee7d6dce51f 8866 net optional apt-cacher-ng_3.6.2-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEZI3Zj0vEgpAXyw40aXQOXLNf7DwFAmA/+ocACgkQaXQOXLNf
7Dx2vRAArctYK1ZUOXuBzUWcR43G8AXnwPAtw9vgi3eFn8dLZ4x9djlY7cWQBzdS
/dTGssKcEAjttnZn5CloLhfpcLjJDLDJ3HEVhEN2OUrECzRt9yINJLvTuDLUGUZr
kskUzSuERwYQc51FRa9ZkcD2C01gjYGdCBrnvxBxkHTl0GrvPc5iEOS5vyFBH1lL
tS+j2Wd+oLnheqrb8EtDiDJBmswO9QHxRwtjoxamHa4G69j0tpR5SZNClyBQrmia
Cwy/hBGS32hoWg+mFZNMaUG5nu4jmkYt2jQA11ad+5OxGE1nPX0ICWDLhj55dff8
lYQjboaf1I/vleO3oOunss7i7oXIFH7n7Fu8+mCXO7y/TvHfnmskRzWkDSpfO7GB
nWtOB+h6UtXlnQ+WvKgtUOhkkBk0r7H3jkoooGlp26TfIQ6ISE+sqDQOimJPs+9T
F1ky3PN6Pxqc8sgIoPLRlRqhO1A/IVX2wuTlTpPB/umj5L/3kb0pbK0YITW7kurG
n7UuYnNvt/Kf4qlSdiSyZzAbHbNyOKd7fZ0JFNhmjoySA80pSR9tm0Af/RnJP/uC
pl5HAipYvelcMqnCTt6oGtrdd0+f6EFwCzjQhbx2aHAlgLZQjUkxrqODUKDzxdt/
kNeBnimM2x15L+gMDXjqvjUeht0+xskPlMD3heCZxfuTmXXqJUo=
=+RgJ
-----END PGP SIGNATURE-----