Bug#1031411: approx: starts to dislike spaces-only lines in configuration
Package: approx
Version: 5.11-1
Severity: normal
X-Debbugs-Cc: bernhardu@mailbox.org
Dear Maintainer,
approx got sensitive to lines in /etc/approx/approx.conf
which are empty except of spaces.
This did not harm previous approx versions.
Unfortunately there is no error message in journal:
Started approx@347-xxx.xxx.xxx.xxx:9999-xxx.xxx.xxx.xxx:47158.service - caching proxy server for Debian archive files (xxx.xxx.xxx.xxx:47158).
approx@347-xxx.xxx.xxx.xxx:9999-xxx.xxx.xxx.xxx:47158.service: Deactivated successfully.
The error message seems just to get delivered to the requester:
$ wget --quiet --tries=1 -O- http://xxx.xxx.xxx.xxx:9999/debian-12-bookworm-deb.debian.org
Fatal error: exception Failure("malformed line in /etc/approx/approx.conf: ")
Version 5.12-1 seems also affected.
Removing my spaces-only lines made approx 5.12-1 work again.
Kind regards,
Bernhard
-- System Information:
Debian Release: bookworm/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-3-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages approx depends on:
ii adduser 3.131
ii bzip2 1.0.8-5+b1
ii curl 7.87.0-2
ii libc6 2.36-8
ii rsyslog [system-log-daemon] 8.2212.0-1
ii xz-utils 5.4.1-0.1
approx recommends no packages.
Versions of packages approx suggests:
pn libconfig-model-approx-perl <none>
-- debconf information:
approx/port: 9999
Thank you for using reportbug
Reply to: