[pkg-apparmor] Bug#1142783: broken $TMPDIR handling in postinst
Chris Hofstaedtler
zeha at debian.org
Fri Jul 31 18:11:45 BST 2026
Control: reassign -1 pbuilder
On Wed, Jul 29, 2026 at 08:25:48PM +0200, Harald Dunkel wrote:
> Please note that I don't set TMPDIR.
Earlier you wrote:
> Thiscan happen in a pbuilder environment or for running debootstrap, for
> example.
When you run such an environment, you or the tools you run are
responsible for setting that environment up correctly. It seems
pbuilder should unset TMPDIR if it cannot guarantee it will be
available in the target.
Working around this in each single package that uses TMPDIR is not
a sustainable solution.
Chris
More information about the pkg-apparmor-team
mailing list