-
Notifications
You must be signed in to change notification settings - Fork 203
Description
I recently updated our otelcol-contrib rpm package from version 0.112.0 to 0.117.0 and noticed that after the update the otelcol-contrib systemd service was stopped and disabled.
As you can see in https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#ordering, is first executed the postinstall (post) of the previous package version (4.) and then the preuninstall (preun) of the new package version (9.).
In the here generated rpm package is first the otelcol-contrib service enabled and started in the postinstall of the previous version, and then stopped and disabled in the preuninstall of the new version.
The deb package seams to be not affected, because regarding https://wiki.debian.org/MaintainerScripts#Upgrading is there first executed the preuninstall (prerm) of the previous version and then the postinstall (postinst) of the new version.
I will later create a PR for this.