Re: [PATCH 14/20] util: remove use hardcoded MODPROBE/RMMOD paths

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

 



On Tue, Apr 29, 2025 at 12:14:14 +0100, Daniel P. Berrangé via Devel wrote:
> From: Daniel P. Berrangé <berrange@xxxxxxxxxx>
> 
> Allow virCommand to find 'modprobe' & 'rmmod' in $PATH. These commands
> are only used when running privileged in which case both 'bin' and
> 'sbin' dirs will be in $PATH, so virFindFileInPath will do the right
> thing to find them.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
> ---
>  meson.build         | 2 --
>  src/util/virkmod.c  | 4 ++--
>  tests/virkmodtest.c | 4 ++--
>  3 files changed, 4 insertions(+), 6 deletions(-)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>




[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