[libvirt] [PATCH 1/3] Use virFileFindResource to locate libvirtd daemon

Eric Blake eblake at redhat.com
Fri Apr 25 16:57:10 UTC 2014


On 04/25/2014 10:54 AM, Daniel P. Berrange wrote:

>>  # This library is free software; you can redistribute it and/or
>>  # modify it under the terms of the GNU Lesser General Public
>> @@ -56,7 +56,6 @@ export LD_LIBRARY_PATH
>>  export LIBVIRT_DRIVER_DIR="$b/src/.libs"
>>  export LIBVIRT_LOCK_MANAGER_PLUGIN_DIR="$b/src/.libs"
>>  export VIRTLOCKD_PATH="$b/src/virtlockd"
>> -export LIBVIRTD_PATH="$b/daemon/libvirtd"
> 
> We actually don't want to delete it because this script serves
> dual purposes. It is supposed to be usable for running apps
> outside libvirt. ie
> 
>   ./run virt-manager 
> 
> Such apps won't trigger the automatic path change, so we must just
> just alter the env var, not delete it

Fair enough.  The alteration is thus:

export LIBVIRTD_PATH="$b/daemon"

-- 
Eric Blake   eblake 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: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140425/cb50db0f/attachment-0001.sig>


More information about the libvir-list mailing list