Hide Forgot
Created a PR for this: https://github.com/rpm-software-management/dnf/pull/1379 Thank you for the explanation and help.
Hi Panu, one thing that confuses me is that the bug 1690414 is filed against dnf on RHEL-8 while bug 1660232 is filed against rpm on RHEL-7. Could you please clarify what are the right packages to address the issue and if that would be both in yum/dnf and rpm? Also, is there a way how to verify (functionally) the fix made solely on rpm side? Would that prevent yum/dnf from segfaulting or a different test is needed?
This is a somewhat confusing bug as several different packages are involved with different failure characteristics on each. In a sense, this could be addressed on just dnf/yum side, or rpm. But there are flaws on both sides, so its better to cover both as it's possible those flaws could be reached through other means as well. On rpm we need to avoid a NULL pointer in a specific place, that's bug 1698850 and bug 1660232 for RHEL-8 and RHEL-7 respectively. Both dnf and yum need essentially the same fix for test-transaction return code checking to cover other similar non-package oriented errors that might occur in the (test-)transaction. Rpm itself cannot directly reproduce the issue, but yes the rpm-side fix will prevent the segfault in both dnf and yum, so the same test (using unfixed dnf/yum) can be used to test it.
Hi Panu, thank you for additional info. It seems that we still need RHEL-7 bugs for yum and nextgen-yum4 (dnf).
Bug 1690376 tracks the RHEL-7 yum side, but I wasn't even aware of nextgen-yum4...
Created a PR https://github.com/rpm-software-management/dnf/pull/1424 that should prevent the empty Error Summary.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:3583