On Mon, Nov 11, 2019 at 01:33:37PM +0100, Robert Luberda wrote:
> (To be honest I am not sure if such change should be done in apt;
> if it is really needed then most probably dpkg should do it on its own).

I can't speak for Julian who implemented that based on a rather constant
stream of issues reported for that in launchpad (and beyond), but
I guess that could be equally well/better solved by having a way of
controlling the environment a maintainer script is executed in
somewhat independent of the environment dpkg is called from.

PATH is just one of many interesting environment variables which can
produce bad results in unsuspecting scripts. GREP_OPTIONS comes
to mind for example while other variables should be passed on for e.g.
debconf frontends to make use of.

If dpkg, apt or X contain the actual configuration is a matter of
opinion mostly I guess, I can at least envision it being argued both
ways.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature

Reply via email to