From b497e9a9e10c614958193d5e9a1fd7baf170707e Mon Sep 17 00:00:00 2001 From: Jan Kolarik Date: Mon, 18 Sep 2023 08:59:35 +0000 Subject: [PATCH 1/2] Revert "Block signals during RPM transaction processing" As the change is causing problems when building other packages in Koji buildroot, reverting this until the root cause is properly resolved. --- dnf/base.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dnf/base.py b/dnf/base.py index ff7c6fe77e..7e97e21298 100644 --- a/dnf/base.py +++ b/dnf/base.py @@ -1028,9 +1028,6 @@ def do_transaction(self, display=()): for display_ in cb.displays: display_.output = False - # block signals to disallow external interruptions of the transaction - rpm.blockSignals(True) - self._plugins.run_pre_transaction() logger.info(_('Running transaction')) @@ -1048,9 +1045,6 @@ def _pto_callback(action, tsis): for msg in dnf.util._post_transaction_output(self, self.transaction, _pto_callback): logger.debug(msg) - # unblock signals as we are done with the transaction - rpm.blockSignals(False) - return tid def _trans_error_summary(self, errstring): From 5c390e4986c9fe2f2afb9c71524319dab4502677 Mon Sep 17 00:00:00 2001 From: Jan Kolarik Date: Mon, 18 Sep 2023 09:01:44 +0000 Subject: [PATCH 2/2] Revert "Bump rpm version to 4.18.0" The calls to RPM block signals API was reverted for now, so we don't need this bump yet. --- dnf.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnf.spec b/dnf.spec index 770604bc58..09ee9e4f29 100644 --- a/dnf.spec +++ b/dnf.spec @@ -5,7 +5,7 @@ %global hawkey_version 0.71.0 %global libcomps_version 0.1.8 %global libmodulemd_version 2.9.3 -%global rpm_version 4.18.0 +%global rpm_version 4.14.0 # conflicts %global conflicts_dnf_plugins_core_version 4.0.26