[virt-tools-list] [libvirt] ANNOUNCE: virt-manager 0.9.3

Eric Blake eblake at redhat.com
Thu Jul 19 19:54:25 UTC 2012


On 07/19/2012 01:26 PM, Cole Robinson wrote:
>>  #!/bin/sh
>>  
>> -exec /usr/bin/python "::PYTHONDIR::/::PACKAGE::.py" "$@"
>> +exec python "::PYTHONDIR::/::PACKAGE::.py" "$@"
> 
> One instance was missing, so I fixed that, added some more details, and pushed:
> 
> http://git.fedorahosted.org/git?p=virt-manager.git;a=commit;h=30282a17091014ba5a96d20f4260df55779933c4

> 
> The change was originally made for unknown reasons: it was requested
> through a RHEL bug that didn't have any justification and I just changed
> it in ignorance:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=708181
> 
>> How reproducible:
> Always, if /usr/bin is removed off $PATH or if a different/custom Python release is placed on another directory and this directory preceeds /usr/bin in $PATH.

Actually, calling the first 'python' on PATH _is_ potentially
problematic, if you mix more than one python stack on your system.  It
may mean that we need a ./configure --with-python=/path/to/python, then
install the tools with a hard-coded substitution to the absolute path
passed at configure time instead of the use of env to run the first
python on PATH.  But let's not worry about that unless someone actually
complains that it broke their setup.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20120719/19dda03d/attachment.sig>


More information about the virt-tools-list mailing list