Package: dbab Version: 1.3.3-1 Severity: wishlist File: /usr/sbin/dbab-get-list
When offline, running dbab-get-list zaps /etc/dnsmasq.d/dbab-map.trashsites.conf to a 0 length file. It'd be good if it left it unchanged when unable to freshen. I've struck this doing a package upgrade when offline. Or instead say if the weekly cron run suggested in the man page happens when the network is down then you lose blocking until next week. I suppose dbab-get-list would want to download to a file and if successful then subtract /etc/dbab/dbab.list- etc. On error it might exit 1. Except I see dbab-get-list runs from postinst so of course don't want an error exit to break that. Incidentally, maybe dbab-map.trashsites.conf could start with a comment line (as allowed by dnsmasq) like # generated by dbab-get-list -- DO NOT EDIT since /etc/dnsmasq.d also contains human-edited files. (Likewise dbab-map.adblock.conf from dbab-add-list.) -- System Information: Debian Release: bullseye/sid Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages dbab depends on: ii curl 7.67.0-2 ii dnsmasq 2.80-1.1 ii dnsutils 1:9.11.5.P4+dfsg-5.1+b1 ii perl 5.30.0-9