I have been using a way to update my rkhunter db as a post-transaction plugin execution that I’ve described here rkhunter and dnf
It appears that this got broken after upgrade to 38 with the plugin just reporting the following:
For more information run:
sudo tracer -iat 1684313594.8173504
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/dnf/plugin.py", line 107, in _caller
getattr(plugin, method)()
File "/usr/lib/python3.11/site-packages/dnf-plugins/post-transaction-actions.py", line 146, in transaction
command = self._replace_vars(ts_item, a_command)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/dnf-plugins/post-transaction-actions.py", line 104, in _replace_vars
result = libdnf.conf.ConfigParser_substitute(command, vardict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'libdnf.conf' has no attribute 'ConfigParser_substitute'
Does anyone have a suggestion to fix this or a better solution for me to update my rkhunter information during package upgrades?