Package: apt-cacher-ng Version: 3.2-1 Severity: minor Tags: patch Hello maintainer,
I've noticed that the default entry for 'CacheDir' in zz_debconf.conf is an empty line when the dpkg-reconfigure value is set to 'keep'. This is different from the other values, which state 'set to "keep", not overriding here'. With the attached patch, the file zz_debconf.conf also mentions "keep" instead of having an empty line. With kind regards, Roland Clobus -- Package-specific info: -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-4-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages apt-cacher-ng depends on: ii adduser 3.118 ii debconf [debconf-2.0] 1.5.71 ii dpkg 1.19.6 ii libbz2-1.0 1.0.6-9 ii libc6 2.28-10 ii libgcc1 1:8.3.0-6 ii liblzma5 5.2.4-1 ii libssl1.1 1.1.1b-2 ii libstdc++6 8.3.0-6 ii libsystemd0 241-3 ii libwrap0 7.6.q-28 ii lsb-base 10.2019031300 ii zlib1g 1:1.2.11.dfsg-1 apt-cacher-ng recommends no packages. Versions of packages apt-cacher-ng suggests: ii avahi-daemon 0.7-4+b1 pn doc-base <none> ii libfuse2 2.9.9-1 -- 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: * apt-cacher-ng/gentargetmode: Set up now and update later * apt-cacher-ng/tunnelenable: false * apt-cacher-ng/cachedir: keep * apt-cacher-ng/proxy: keep * apt-cacher-ng/port: keep * apt-cacher-ng/bindaddress: keep -- debsums errors found: debsums: changed file /lib/systemd/system/apt-cacher-ng.service (from apt-cacher-ng package)
diff --git a/debian/apt-cacher-ng.postinst b/debian/apt-cacher-ng.postinst index 90a4fc9..e95e1df 100644 --- a/debian/apt-cacher-ng.postinst +++ b/debian/apt-cacher-ng.postinst @@ -146,6 +146,7 @@ if [ "$1" = "configure" ]; then case "$RET" in keep|"") # maybe never displayed to user + CDIRCONF='# CacheDir set to "keep", not overriding here' ;; *) # ok, configured by debconf, will be created as needed