[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#801483: The environmental variable 'TMPDIR' is made unset by "lintian"



On Sun, Oct 18, 2015 at 09:42:39PM +0000, Bjarni Ingi Gislason wrote:
> On Wed, Oct 14, 2015 at 03:14:43PM +0200, Jakub Wilk wrote:
> > * Bjarni Ingi Gislason <bjarniig@rhi.hi.is>, 2015-10-11, 01:52:
> > >  * What outcome did you expect instead?
> > >
> > > That the environmental variable "TMPDIR" retains its value.
> > 
> > Lintian sanitizes environment when calling external programs. (See
> > the clean_env function in lib/Lintian/Util.pm). It only keeps PATH
> > and sets LC_ALL to C or C.UTF-8.
> > 
> > We could certainly add TMPDIR to the whitelist.
> > 
> 
>   That should be done.. "clean_env" is (now) only used in
> "po_debconf.pm" and "manpages.pm" in the ".../checks" directory.
> 

  My regular "man"-script also contains $HOME, so it should also be
whitelisted.

-- 
Bjarni I. Gislason


Reply to: