import powerpc-utils-1.3.9-2.el8_6

This commit is contained in:
CentOS Sources 2022-10-25 03:26:07 -04:00 committed by root
parent a63ddfb23f
commit 13c6ec98fe
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,24 @@
commit 5c2d5e838e8a9e2e744b89fa42724118e1cccded
Author: Mingming Cao <mmc@linux.vnet.ibm.com>
Date: Thu Feb 24 09:02:05 2022 -0800
hcnmgr: Fix NM HNV setting primary slave
Fix incorrect usage active_slave attribute instead of primary.
Signed-off-by: Mingming Cao <mmc@linux.vnet.ibm.com>
Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com>
diff --git a/scripts/hcnmgr b/scripts/hcnmgr
index fdb6eaa..3dc1ad2 100644
--- a/scripts/hcnmgr
+++ b/scripts/hcnmgr
@@ -375,7 +375,7 @@ do_config_vdevice_nm() {
# if the device is primary, and link is up, force it as primary se
if [[ $MODE == "primary" ]]; then
hcnlog INFO "Change bonding primary slave to $DEVNAME"
- echo "$DEVNAME" >"$BOND_PATH"/active_slave
+ echo "$DEVNAME" >"$BOND_PATH"/primary
fi
hcnlog DEBUG "do_config_vdevice: exit"

View File

@ -1,6 +1,6 @@
Name: powerpc-utils Name: powerpc-utils
Version: 1.3.9 Version: 1.3.9
Release: 1%{?dist} Release: 2%{?dist}
Summary: PERL-based scripts for maintaining and servicing PowerPC systems Summary: PERL-based scripts for maintaining and servicing PowerPC systems
Group: System Environment/Base Group: System Environment/Base
@ -36,6 +36,7 @@ Patch7: powerpc-utils-1.3.8-hcnmgr.patch
Patch8: powerpc-utils-support-vnic-as-backup-device-for-HNV.patch Patch8: powerpc-utils-support-vnic-as-backup-device-for-HNV.patch
# fixed hexdump format # fixed hexdump format
Patch9: powerpc-utils-1.3.9-fix-hexdump-format.patch Patch9: powerpc-utils-1.3.9-fix-hexdump-format.patch
Patch10: powerpc-utils-1.3.9-Fix-NM-HNV-setting-primary-slave.patch
%description %description
PERL-based scripts for maintaining and servicing PowerPC systems. PERL-based scripts for maintaining and servicing PowerPC systems.
@ -198,6 +199,9 @@ systemctl enable hcn-init.service >/dev/null 2>&1 || :
%{_mandir}/man8/lparnumascore.8* %{_mandir}/man8/lparnumascore.8*
%changelog %changelog
* Mon Apr 25 2022 Than Ngo <than@redhat.com> - 1.3.9-2
- Resolves: #2078537, hcnmgr: Fix NM HNV setting primary slave
* Thu Dec 09 2021 Than Ngo <than@redhat.com> - 1.3.9-1 * Thu Dec 09 2021 Than Ngo <than@redhat.com> - 1.3.9-1
- Resolves: #2028690, rebase to 1.3.9 - Resolves: #2028690, rebase to 1.3.9