[Rpm-maint] [rpm-software-management/rpm] file trigger quirks (#1370)

Panu Matilainen notifications at github.com
Wed Aug 23 07:31:12 UTC 2023


Ran into this old issue while browsing around...

> Speaking of file trigger issues: what's the deal with the %transfiletriggerpostun triggers? Why are they not fed a list of matching files so they can check if there is really something to do? 

Hmm? AFAIK they should behave like the other triggers, if not then it sounds like a bug.

> And why is the implementation so weird? I don't see any reason for that rpmtriggersPrepPostUnTransFileTrigs() function, all it does can also be done at the end of the transaction.

At the end of the transaction where posttrans really runs, the packages that would match are already be gone and the triggers would never run at all.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1370#issuecomment-1689435129
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/1370/1689435129 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230823/aadacbc0/attachment.html>


More information about the Rpm-maint mailing list