-
Notifications
You must be signed in to change notification settings - Fork 6
Really support SLES 12 and SLES 15. #71
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
Really support SLES 12 and SLES 15. #71
Conversation
igorpeshansky
left a comment
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.
Thanks for the review. PTAL.
qingling128
left a comment
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.
LGTM.
igorpeshansky
left a comment
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.
This breaks on some older platforms (wheezy, CentOS 6). I'll fix this and ask for another review once done.
|
Sounds good. Let me know when it's ready for another look. |
igorpeshansky
left a comment
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.
Ok, this should be good to review now.
qingling128
left a comment
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.
LGTM
b196940 to
d479209
Compare
igorpeshansky
left a comment
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.
Some fixes to the Provides/Requires dependencies. Should be good now.
qingling128
left a comment
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.
LGTM
Fixes the breakage introduced by #71, and includes the following changes: - Add ENABLE_COREFILES to the RPM script - Use pidfile to properly manage (start/stop) the daemon in the RPM script - Remove the now-redundant lockfile code - Allow using /etc/default/stackdriver-agent in the RPM script - Implement try_restart in the DEB script - Change the RPM script to use force-reload instead of reload - Remove unused legacy genhostid command - Remove broken and unused collectdmon support from the DEB script - Remove unused "wait-for-stop" functionality from the DEB script - Remove unused "disable via defaults" functionality from the DEB script
Fixes the breakage introduced by #71, and includes the following changes: - Add ENABLE_COREFILES to the RPM script - Use pidfile to properly manage (start/stop) the daemon in the RPM script - Remove the now-redundant lockfile code - Allow using /etc/default/stackdriver-agent in the RPM script - Implement try_restart in the DEB script - Change the RPM script to use force-reload instead of reload - Remove unused legacy genhostid command - Remove broken and unused collectdmon support from the DEB script - Remove unused "wait-for-stop" functionality from the DEB script - Remove unused "disable via defaults" functionality from the DEB script
Also make the RPM build honor the
OUTPUT_DIRsetting, and make the DEB builds a bit more uniform with the RPM ones.This is a rebase of the
sles-buildbranch on top of the lateststackdriver-agent-5.5.2(with version support), but with additional fixes that allow building all of the RPM packages from it. It encapsulates the SLES-specific bits into the main configs.I will be doing some additional testing of this tomorrow, but this is ready for an initial review.