Red Hat Bugzilla – Bug 601261
yum-plugin-post-transaction-actions triggers actions at the end of the yum transaction
Last modified: 2014-01-21 18:15:01 EST
Description of problem:
The yum-plugin-post-transaction-actions plugging allows the user to run arbitrary actions immediately following a transaction when specified ackages are changed.
As the plugin give information on the package and the state (remove, update, install) it would be better to have the action triggers after the package action and not at the end of the YUM transaction.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install the package yum-plugin-post-transaction-actions
2. configure /etc/yum/post-actions/sample.action in order to trigger a command
3. do a yum update.
The command configured in the sample.action will be trigger at the end of the yum update when all packages are updated/removed or installed.
The command is trigger after EACH package update/remove or installation.
posttransaction actions happen after the transaction is over entirely.
It was never intended to work otherwise.