[ovs-dev] [PATCH] rhel: Fix ovs-kmod-manage.sh that may create invalid soft links

Yi-Hung Wei yihung.wei at gmail.com
Mon Nov 18 19:35:24 UTC 2019


On Mon, Nov 18, 2019 at 11:24 AM Yifeng Sun <pkusunyifeng at gmail.com> wrote:
>
> Current code iterates every kernel under '/lib/modules' for a matched
> version. As a result, this script may create invalid soft links if the
> matched kernel doesn't have openvswitch-kmod RPM installed.
>
> This patch fixes it.
>
> VMWare-BZ: #2257534
>
> Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>
> ---

Thanks Yifeng for the fix.  This patch fixes the issue where RHEL has
been upgraded, and the script may create weak-update symbolic link to
the old kernel's directory.

Can you add a fix tag to this patch? Otherwise, this patch looks good to me.

Acked-by: Yi-Hung Wei <yihung.wei at gmail.com>

Thanks,

-Yi-Hung


More information about the dev mailing list