2008/11/10 Lucas C. Villa Real <[EMAIL PROTECTED]>:
> On Sun, Nov 9, 2008 at 7:36 PM,  <[EMAIL PROTECTED]> wrote:
>> Author: mohjive
>> Date: 2008-11-09 13:36:21 -0800 (Sun, 09 Nov 2008)
>> New Revision: 3729
>>
>> Modified:
>>   trunk/Compile/
>>   trunk/Compile/bin/Compile
>> Log:
>>  [EMAIL PROTECTED]:  jonas | 2008-11-09 22:32:14 +0100
>>  PYTHONPATH is reset by sudo and .pth files isn't read inside $target, but 
>> by passing "--root /" to the install script, we trick it into packaging mode 
>> and setuptools tries not to validate the target dir as valid python dir.
>
> Oh, so sudo doesn't honor "Defaults !env_reset, setenv" in sudoers?
>
Yes, but not for PYTHONPATH, LD_*, BASH_ENV and some other variables
that control what is loaded before something is run. I haven't found
any setting that doesn't reset those variables.

-- 
/Jonas
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to