Re: [PATCH v1] virdnsmasq: fix runtime search for executable

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

 



On 1/10/22 14:29, Olaf Hering wrote:
> Tue, 17 Aug 2021 15:13:05 +0200 Pavel Hrdina <phrdina@xxxxxxxxxx>:
> 
>> On Wed, Aug 11, 2021 at 11:47:13AM +0200, Olaf Hering wrote:
>>> dnsmasq is an optional binary which does not neccessary exist during build.
>>>
>>> Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
>>> ---
>>>  src/util/virdnsmasq.c | 28 +++++++++++++++++++++++-----
>>>  1 file changed, 23 insertions(+), 5 deletions(-)  
>>
>> Is there any error or incorrect behavior that you are trying to fix?
>> I did audit the code and within the virdnsmasq.c file we use the
>> binaryPath with virCommandRun() which will do this same check before
>> acutally execing, see virExec().
> 
> The error was, and still is today, like this:
> 
> Jan 10 12:53:36 rdma03 libvirtd[1725]: Cannot check dnsmasq binary dnsmasq: No such file or directory
> 
> How do you intent to fix this?
> 
> Olaf

Yeah, this is a real problem. I think I have a small, non-intrusive
patch. Let me post it.

Michal




[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]

  Powered by Linux