lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4B62CBA1.3060001@suse.cz>
Date:	Fri, 29 Jan 2010 12:50:57 +0100
From:	Michal Marek <mmarek@...e.cz>
To:	Jarod Wilson <jarod@...sonet.com>
Cc:	Américo Wang <xiyou.wangcong@...il.com>,
	Don Zickus <dzickus@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [scripts] python: change scripts to use system python instead
 of  env

Jarod Wilson napsal(a):
> On Tue, Jan 26, 2010 at 9:34 PM, Américo Wang <xiyou.wangcong@...il.com> wrote:
>> On Wed, Jan 27, 2010 at 6:20 AM, Don Zickus <dzickus@...hat.com> wrote:
>>> Just a small change to a couple of scripts to go from
>>>
>>>  #!/usr/bin/env python
>>>
>>> to
>>>
>>>  #!/usr/bin/python
...
>>
>> Hmm, so python3 will be installed in /usr/local/bin?
> 
> No, it will be /usr/bin/python3, but its possible a user would
> configure their environment to have their default python interpreter
> be python3, in which case env python would be using /usr/bin/python3
> rather than /usr/bin/python, which can lead to things mysteriously
> running differently or not running at all.
> 
> Acked-by: Jarod Wilson <jarod@...hat.com>

OK, and we have other python scripts that already use #!/usr/bin/python,
so this patch makes sense regardless of python3. I added it to the
kbuild tree.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ