A per transaction file trigger that runs before %posttrans scriptlets #3348
DaanDeMeyer
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
Right, this sounds like a reasonable request. Currently, transactional scriptlets, whether trigger-based or normal, are executed in a fixed order, which means the priority value is not respected for these, as you've noted. I think this deserves an RFE. That's not to say this would be easy to implement, but it does make sense to me. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're looking to move systemd unit operations in rpm scriptlets to
%posttrans
instead of%postun
. While looking into this, I discovered that currentlysystemctl daemon-reload
is run via%transfiletriggerpostun
which is executed after%posttrans
scriptlets. I'd like to have a transaction scriptlet that is executed before%posttrans
scriptlets.Alternatively, having the file trigger priorities apply to
%transfiletriggerpostun
as well so that triggers with a sufficiently high priority are executed before%posttrans
scriptlets would also solve my issue.Beta Was this translation helpful? Give feedback.
All reactions