[libvirt PATCH 00/17] drop meson checks for runtime binaries
Michal Privoznik
mprivozn at redhat.com
Mon Apr 19 12:50:13 UTC 2021
On 4/19/21 2:24 PM, Neal Gompa wrote:
> On Fri, Apr 16, 2021 at 3:13 PM Pavel Hrdina <phrdina at redhat.com> wrote:
>>
>>
>
> I don't think this is a good "cleanup" to do. Having these checks is
> useful since without them, we'd blindly build modules that possibly
> wouldn't work because we haven't verified that those dependencies
> exist. People do install from source into runtime (I don't, but people
> do), and it's useful for making sure all the necessary dependencies
> are captured for runtime use at build-time for package builds (I've
> caught mistakes because of these).
To be fair though, some cleanups Pavel did are worth merging (e.g.
couple of first patches that fix comments or remove unused functions)
regardless of ...
>
> So I NACK the whole series.
>
>
this NACK. What I am worried about is that usually, when a distro builds
libvirt package a path to a runtime binary will be recorded (e.g.
DNSMASQ will be expanded to /usr/sbin/dnsmasq and compiled in). This
way, we will try to find "dnsmasq" in PATH, which may work for
qemu:///system, but may lead to unexpected results for qemu:///session
because for instance I override PATH for my regular user so that a
directory with my helper scripts comes first. Let's hope that I won't
pick wrong name for my scripts.
Michal
More information about the libvir-list
mailing list