[ovs-dev] [PATCH] ovs-ctl: Prepend OVS binary directories to PATH.
Ilya Maximets
i.maximets at ovn.org
Wed Jan 27 17:00:21 UTC 2021
On 10/28/20 8:47 PM, Flavio Leitner wrote:
> The inclusion of LSB functions in ovs-lib resets $PATH to
> system's default. Then ovs-ctl appends missing directories
> including the OVS default ones $sbindir and $bindir.
>
> The problem is that the wrong binaries can be used if they
> are available in the system's default locations because of
> the PATH wrong order. The same issue happens if one changes
> $OVS_BINDIR or $OVS_SBINDIR variables.
>
> The solution is to prepend those directories if they are not
> already in PATH.
>
> Reported-by: Mark Gray <mark.d.gray at redhat.com>
> Signed-off-by: Flavio Leitner <fbl at sysclose.org>
> ---
Thanks! Applied to master.
If you think that this needs to be backported, please let me know.
Best regards, Ilya Maximets.
More information about the dev
mailing list