[Freeipa-devel] [PATCH 477] spec file: Add Requires(pre) on selinux-policy

Jan Pazdziora jpazdziora at redhat.com
Wed Aug 26 07:40:03 UTC 2015


On Tue, Aug 25, 2015 at 10:22:42PM +0300, Alexander Bokovoy wrote:
>
> The flow above is not correct. Each scriptlet of the package is executed
> when package is installed. In particular, there is no period of waiting
> until end of whole transaction to start executing %posttrans scriptlet of
> a specific package. RPM only guarantees you that %posttrans scriptlet is
> executed as the last thing of this package intall, after all
> %post/%postun scriptlets were executed for this package and all triggers
> for affected packages were executed.

This went against my undertanding of %posttrans, so I asked rpm
maintainer and he confirmed that %posttrans scriptlets are executed as
the last thing in the transaction. I might be misunderstanding what
you say but I'd say that there actually is a period of waiting /
postponing execution of %posttrans scriptlets of all packages until
the end of the transaction.

-- 
Jan Pazdziora
Senior Principal Software Engineer, Identity Management Engineering, Red Hat




More information about the Freeipa-devel mailing list