Re: Bug#230704: zope-testcase: SOFTWARE_HOME and INSTANCE_HOME can break install.

2004-02-05 Thread Florent Rougon
"Donovan Baarda" <[EMAIL PROTECTED]> wrote: > G'day, Hi, > I was going to reply "this is why many packages sanitize PATH in their > scripts", but after checking through /var/lib/dpkg/info/* it seems they > don't. Indeed, Policy ยง 6.1 says they should not: , | Programs called from maintaine

Re: Bug#230704: zope-testcase: SOFTWARE_HOME and INSTANCE_HOME can break install.

2004-02-05 Thread Tommi Virtanen
Donovan Baarda wrote: I have a feeling PYTHONPATH should be unset in all python postinst and maybe prerm scripts (something to add to the python policy?). A manually set PYTHONPATH can do evil things to any python package's postinst and prerm. A manually set PATH can do evil things to any package'

Re: Bug#230704: zope-testcase: SOFTWARE_HOME and INSTANCE_HOME can break install.

2004-02-05 Thread Donovan Baarda
G'day, - Original Message - From: "Tommi Virtanen" <[EMAIL PROTECTED]> To: "Donovan Baarda" <[EMAIL PROTECTED]> Cc: "Andreas Tille" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Debian Python List" Sent: Thursday, February 05, 2004 7:29 PM Subject: Re: Bug#230704: zope-testcase: SOFTWARE_HO