Re: Segfault in libvirtd when run as a service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/6/10 Matthias Bolte <matthias.bolte@xxxxxxxxxxxxxx>:
> 2010/6/10 Emre Erenoglu <erenoglu@xxxxxxxxx>:
>> On Thu, Jun 10, 2010 at 10:35 PM, Matthias Bolte
...
>>
>> OK. I guess it's used to find the dhcp daemon, iptables etc.  Other service
>> scripts seem to work happily without this PATH, but I'll ask developers to
>> add it to the python service environment to make sure it works fine.
>>
>> Thanks again Matthias, Daniel!  I'm a happy guy now :)
>>
>> Emre Erenoglu
>>
>
> Yes, libvirt tries to discover that binaries via the PATH.
>
> The utility function virFindFileInPath used the result of
> getenv("PATH") without checking it for NULL. I'll post a patch for
> that in a bit.
>
> Matthias
>

As an additional note: you'll need to have PATH set even when this bug
is fixed, because libvirtd discovers the QEMU binaries and the other
relevant binaries via the PATH. So you should define PATH for libvirtd
in a way that it can find those binaries.

Matthias

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]