Re: [PATCH 11/20] util: remove hardcoded ISCSIADM command path

2025-04-29 Thread Peter Krempa via Devel
On Tue, Apr 29, 2025 at 12:14:11 +0100, Daniel P. Berrangé via Devel wrote: > From: Daniel P. Berrangé > > Allow virCommand to find 'dmidecode' in $PATH. This command is only > usable when running privileged since it relies on reading from a > privileged kernel file. Thus we can assume both 'bin'

[PATCH 11/20] util: remove hardcoded ISCSIADM command path

2025-04-29 Thread Daniel P . Berrangé via Devel
From: Daniel P. Berrangé Allow virCommand to find 'dmidecode' in $PATH. This command is only usable when running privileged since it relies on reading from a privileged kernel file. Thus we can assume both 'bin' and 'sbin' dirs will be in $PATH and virFindFileInPath will do the right thing to fin