From b41fe887e8caf09107cd65d8f561b00d043561d9 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Tue, 5 Nov 2019 02:55:04 +0100 Subject: dpkg: Use DPKG_ADMINDIR to set the admindir This was done in the name of security, but it does not make much sense as root should make sure to be running in a clean environment. This is problematic as it makes the interface hard to understand, and produces unexpected behavior as dpkg can be called from within itself, or as a wrapper for dpkg-query, which will then not inherit the admindir value. Closes: #900071 --- debian/changelog | 1 + 1 file changed, 1 insertion(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 55e731cf8..febbcc200 100644 --- a/debian/changelog +++ b/debian/changelog @@ -33,6 +33,7 @@ dpkg (1.20.0) UNRELEASED; urgency=medium Patch co-authored with Sven Joachim . * dpkg: Fix and clarify behavior for packages marked to be on “hold”. These need to be processed for configuration and triggers. Closes: #926472 + * dpkg: Use DPKG_ADMINDIR to set the admindir. Closes: #900071 * Perl modules: - Dpkg::Source::Package: Verify original tarball signatures at build time. - Dpkg::BuildFlags: Add new unset() method. -- cgit v1.2.3