In the rpm.spec file that is used to guide the installation of an RPM, if the %post section is executed AFTER the package is installed (as stated here: http://www.rpm.org/max-rpm/s1-rpm-inside-scripts.html#S4-RPM-INSIDE-POST-SCRIPT), does that mean that, if multiple yum calls are triggered against a list of RPM packages, they might execute their %post section code in parallel?
If YUM doesn't support concurrent operations, then multiple yum calls won't illustrate this scenario. However, if we have multiple rpms declared in a single "Requires:" parameter within a top-level RPM's rpm.spec script, then, their %post section might run in parallel since YUM will receive a signal that the RPM installation is finished, resulting in operations that might conflict with each other intermittently.
Any ideas on how to solve/mitigate such problematic scenario?