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

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



* 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.

But why is this a problem in practice? Does man, or any other external command Lintian calls, create temporary files?

--
Jakub Wilk


Reply to: