Bug 2047251

Summary: dnf api is missing a method to unload plugins
Product: Red Hat Enterprise Linux 8 Reporter: Yedidyah Bar David <didi>
Component: dnfAssignee: Jan Kolarik <jkolarik>
Status: CLOSED ERRATA QA Contact: Eva Mrakova <emrakova>
Severity: unspecified Docs Contact: Mariya Pershina <mpershin>
Priority: medium    
Version: 8.5CC: james.antill, jkolarik, mbanas, mblaha, mpershin, tbajer, yturgema
Target Milestone: rcKeywords: AutoVerified, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-4.7.0-13.el8 Doc Type: Enhancement
Doc Text:
.The `unload_plugins` function is now available for the YUM API With this enhancement, a new `unload_plugins` function has been added to the YUM API to allow plug-ins unloading. IMPORTANT: Note that you must first run the `init_plugins` function, and then run the `unload_plugins` function.
Story Points: ---
Clone Of:
: 2121662 (view as bug list) Environment:
Last Closed: 2023-05-16 09:06:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1455456, 1542492, 2121662    

Description Yedidyah Bar David 2022-01-27 13:13:25 UTC
Description of problem:

Copying from bug 1542492 comment 13:

Dnf currently has several API functions for plugins (init_plugins, pre_configure_plugins, configure_plugins) so it should be possible to add one for unloading them.

Comment 1 Yedidyah Bar David 2022-01-27 13:17:53 UTC
*** Bug 1542482 has been marked as a duplicate of this bug. ***

Comment 8 Jan Kolarik 2022-08-26 07:02:45 UTC
Cloned into RHEL 9 ticket https://bugzilla.redhat.com/show_bug.cgi?id=2121662.

Comment 23 errata-xmlrpc 2023-05-16 09:06:59 UTC
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 (dnf bug fix and enhancement update), 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/RHBA-2023:2980