-
Notifications
You must be signed in to change notification settings - Fork 166
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
fix: fix Linux package scripts #800
Conversation
|
Please include a changelog. Any way to test those changes? |
10c499f
to
fd7e181
Compare
I have now added a changelog. If the build rpm package works can be tested on a RHEL based OS host. Actually the main fix from this MR, that the service is stopped and disabled after a rpm package update, can't be tested now, because when you install a package release with the fix from this MR, the package preuninstall script from the previous release will still stop and disable the service (see details on this in the linked issue #799). |
Makes sense, that's an unhappy confluence of events, we should ideally add tests to test lifecycle after this release. |
I was also a little surprised that no one else ever noticed this since now. It would make sense to create a release after this MR is merged, to get a fixed version out as soon as possible |
* reload systemd daemon to make it aware of an updated service file after package update * restart service to use the new binary after a package update * don't stop and disable service after rpm package update fixes open-telemetry#799
fd7e181
to
ad35082
Compare
I have just pushed changes again, to fix a copy&paste error I produced myself, and was detected by the build workflow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will your changes also work with the .deb package for debian based systems?
the shell scripts are also used for that package
Yes, the changes work also for the Debian packages. We just don't run the service stop and disable when |
fixes #799