<div dir="ltr"><div class="gmail_quote">On Thu, Jun 10, 2010 at 11:01 PM, Matthias Bolte <span dir="ltr"><<a href="mailto:matthias.bolte@googlemail.com">matthias.bolte@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
2010/6/10 Matthias Bolte <<a href="mailto:matthias.bolte@googlemail.com">matthias.bolte@googlemail.com</a>>:<br>
<div class="im">> 2010/6/10 Emre Erenoglu <<a href="mailto:erenoglu@gmail.com">erenoglu@gmail.com</a>>:<br>
>> On Thu, Jun 10, 2010 at 10:35 PM, Matthias Bolte<br>
</div>...<br>
<div class="im">>><br>
>> OK. I guess it's used to find the dhcp daemon, iptables etc.  Other service<br>
>> scripts seem to work happily without this PATH, but I'll ask developers to<br>
>> add it to the python service environment to make sure it works fine.<br>
>><br>
>> Thanks again Matthias, Daniel!  I'm a happy guy now :)<br>
>><br>
>> Emre Erenoglu<br>
>><br>
><br>
> Yes, libvirt tries to discover that binaries via the PATH.<br>
><br>
> The utility function virFindFileInPath used the result of<br>
> getenv("PATH") without checking it for NULL. I'll post a patch for<br>
> that in a bit.<br>
><br>
> Matthias<br>
><br>
<br>
</div>As an additional note: you'll need to have PATH set even when this bug<br>
is fixed, because libvirtd discovers the QEMU binaries and the other<br>
relevant binaries via the PATH. So you should define PATH for libvirtd<br>
in a way that it can find those binaries.<br></blockquote><div><br>OK, I'll make sure the PATH is there. I'm fixing the service script now.<br><br></div></div>-- <br>Emre<br>
</div>