Dear Maintainer, file apt-cacher-ng.xml: <?xml version="1.0" encoding="utf-8"?> <service version="0.01"> <short>apt-cacher Next Generation</short> <description>Apt-Cacher Next Generation (NG) is a caching proxy for downloading packages from Debian-style software repositories (or possibly from other types). See the package description for more information.</description> <port port="3142" protocol="tcp"/> </service>
Hi Charles, thanks for your contribution! Would you mind raising this issue with the apt-cacher-ng maintainer? (in CC) I try to avoid patches to firewalld and the addition of a rather Debian specific service like apt-cacher-ng is unlikely to be accepted by firewalld upstream. So I would prefer if this integration is shipped by the apt-cacher-ng package instead. For the apt-cacher-ng maintainers: The attached file would have to be installed as /usr/lib/firewalld/services/apt-cacher-ng.xml Regards, Michael
On Fri, 1 May 2026 21:40:07 +0200 Michael Biebl <biebl@debian.org> wrote: Whatever works for all of you. OK, non-maintainer ignorance at play here. Shipping this with ACNG works if firewalld is already installed. The ACNG installer looks for firewalld, and if it finds it, installs the file. I am assuming that if the installer doesn't find firewalld, it refrains from installing the file. However, if the user installs ACNG, and then later firewalld, is there a mechanism to install this file? I ran into a similar situation with libvirt, and had to do a "apt reinstall firewalld" to get the virtual networking and firewalld to play well.
Am 01.05.26 um 22:20 schrieb Charles Curley: If the file /usr/lib/firewalld/services/apt-cacher-ng.xml is installed by apt-cacher-ng, it will be picked up automatically by firewalld.