From b3c795dc4784e64e2756d3736ce953a1e507f509 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 17 Jan 2018 15:13:35 -0400 Subject: Run su with --login To avoid inheriting some problematic environment variables, such as TMP, from the caller. The only potential breakage from this change would be if something used setEnv before one of the affected properties. Audited propellor's source for that, and nothing does. Anything that did would could fail in a concurrent context anyway. --- debian/changelog | 2 ++ 1 file changed, 2 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 4545bcd1..acfbc895 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,8 @@ propellor (5.3.0) UNRELEASED; urgency=medium * Added rawPartition to PartSpec, for specifying partitions with no filesystem. * Added BiosGrubFlag to PartFlag. + * Run su with --login, to avoid inheriting some problematic environment + variables, such as TMP, from the caller. -- Joey Hess Tue, 02 Jan 2018 13:06:45 -0400 -- cgit v1.3-2-g0d8e