Package: apt-listchanges Version: 3.18 Severity: normal Usertags: hardcoding
apt-listchanges hard-codes /var/lib/dpkg/status instead of using the apt Dir::State::status option, which means if that option has been customised, possibly by setting the APT_CONFIG variable to a config file that has a Dir::State::status option that points at a location that is not the Debian rootfs, then apt-listchanges will return results for the Debian rootfs instead of the custom location. status = DebianFiles.ControlParser() status.readfile('/var/lib/dpkg/status') status.makeindex('Package') Likewise, apt-listchanges hard-codes /etc/apt instead of using the apt Dir::Etc option to locate the apt-listchanges.conf file. config.read('/etc/apt/listchanges.conf') -- System Information: Debian Release: buster/sid APT prefers testing-debug APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages apt-listchanges depends on: ii apt 1.8.0~rc2 ii debconf [debconf-2.0] 1.5.70 ii python3 3.7.2-1 ii python3-apt 1.8.3 ii python3-debconf 1.5.70 ii sensible-utils 0.0.12 ii ucf 3.0038+nmu1 apt-listchanges recommends no packages. Versions of packages apt-listchanges suggests: ii dillo [www-browser] 3.0.5-5 ii exim4-daemon-light [mail-transport-agent] 4.92~RC5-2 ii firefox [www-browser] 65.0-1 ii firefox-esr [www-browser] 60.5.0esr-1 ii gnome-terminal [x-terminal-emulator] 3.30.2-2 ii lynx [www-browser] 2.8.9rel.1-3 ii netsurf [www-browser] 3.6-3.2 ii netsurf-gtk [www-browser] 3.6-3.2 ii python3-gi 3.30.4-1 ii w3m [www-browser] 0.5.3-37 ii xterm [x-terminal-emulator] 343-1 -- debconf information: * apt-listchanges/which: both * apt-listchanges/save-seen: true * apt-listchanges/frontend: pager * apt-listchanges/email-format: text * apt-listchanges/headers: false * apt-listchanges/no-network: false * apt-listchanges/email-address: root * apt-listchanges/confirm: true * apt-listchanges/reverse: false -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part