Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RPM] the rpm post(un) scriptlets are not run in the expected order #411

Open
jcpunk opened this issue Sep 28, 2023 · 0 comments
Open

[RPM] the rpm post(un) scriptlets are not run in the expected order #411

jcpunk opened this issue Sep 28, 2023 · 0 comments
Labels
artifact:rpm Issues related to RPM packages

Comments

@jcpunk
Copy link

jcpunk commented Sep 28, 2023

%postun runs after %post resulting on the otel-service being stopped after an upgrade of the RPM.

On upgrade, the scripts are run in the following order:

  1. %pretrans of new package
  2. %pre of new package
  3. (package install)
  4. %post of new package -- service currently started here
  5. %triggerin of other packages (set off by installing new package)
  6. %triggerin of new package (if any are true)
  7. %triggerun of old package (if it’s set off by uninstalling the old package)
  8. %triggerun of other packages (set off by uninstalling old package)
  9. %preun of old package
  10. (removal of old package)
  11. %postun of old package -- service currently stopped here
  12. %triggerpostun of old package (if it’s set off by uninstalling the old package)
  13. %triggerpostun of other packages (if they’re set off by uninstalling the old package)
  14. %posttrans of new package
@mx-psi mx-psi added the artifact:rpm Issues related to RPM packages label Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
artifact:rpm Issues related to RPM packages
Projects
None yet
Development

No branches or pull requests

2 participants