You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# to be placed in /etc/dnf/libdnf5-plugins/actions.d
# requires dnf5 5.2.11.0 or later
pre_base_setup:::raise_error=1:/usr/bin/sh -c /usr/bin/etckeeper\ pre-install\ \|\ /usr/bin/sed\ -e\ 's/^/log.INFO=/'
post_transaction::::/usr/bin/sh -c /usr/bin/etckeeper\ post-install\ \|\ /usr/bin/sed\ -e\ 's/^/log.INFO=/'
Is it expected that raise_error=1 doesn't cause the error to be propagated, or we need to change the way we format the logs from the plugin? Also, is the log format mandatory?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
After #2023 was implemented, we implemented etckeeper-dnf5 plugin using it, but then we run into issues when trying to add
log.INFOformat into output of the plugin now tracked as bz 2383751.So I wonder. With actions file like this:
Is it expected that
raise_error=1doesn't cause the error to be propagated, or we need to change the way we format the logs from the plugin? Also, is the log format mandatory?Beta Was this translation helpful? Give feedback.
All reactions