Bug 601261 - yum-plugin-post-transaction-actions triggers actions at the end of the yum transaction
yum-plugin-post-transaction-actions triggers actions at the end of the yum tr...
Product: Fedora
Classification: Fedora
Component: yum-utils (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-06-07 11:21 EDT by Patrick Pichon
Modified: 2014-01-21 18:15 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-06-07 11:35:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Patrick Pichon 2010-06-07 11:21:31 EDT
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):

How reproducible:

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. 
Actual results:
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.

Expected results:
The command is trigger after EACH package update/remove or installation.

Additional info:
Comment 1 seth vidal 2010-06-07 11:35:38 EDT
posttransaction actions happen after the transaction is over entirely.

It was never intended to work otherwise.

Note You need to log in before you can comment on or make changes to this bug.