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 reserve stack segmentation fault when building on RHEL5 or below #523
Conversation
Currently only affects 2.1.7 and 2.2.3. This patch taken from the fix in Ruby trunk and expected to be included in future point releases. https://redmine.ruby-lang.org/issues/11602
smacks forehead |
Patch itself looks good, once you clean up the assignment :) |
👍 pendng 👌 from Travis |
It takes sooo long to re-run the test builds. 😢 |
Only patched 2.1.7 and 2.2.3 on CentOS 5. Did not apply patch on CentOS 6, 7 or Ubuntu.
|
LGTM 👍 |
👍 |
# Currently only affects 2.1.7 and 2.2.3. This patch taken from the fix | ||
# in Ruby trunk and expected to be included in future point releases. | ||
# https://redmine.ruby-lang.org/issues/11602 | ||
if ohai['platform_family'] == 'rhel' && |
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.
chef-sugar's DSL is fully exposed so you could do:
if rhel? &&
Additionally you could compare using a true constraint with:
if rhel? && Chef::Sugar::Version(ohai['platform_version']).satisfies?('> 6')
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.
I'm getting a variety of NameError
s trying to use sugar within omnibus-supermarket
which is pinned to a pretty old version of omnibus
. I'm inclined to keep the longer, but working direct calls to ohai
.
👍 although also 👍 on sethc's comment on better using sugar. |
based on omnibus-supermarket needing a yak shave to get it up to current standards lets just merge this one to unblock the supermarket team, without worrying about the sugar syntax fixes... |
@robbkidd just |
I'm still not used to merging my own PRs. |
Fix reserve stack segmentation fault when building on RHEL5 or below
Currently only affects 2.1.7 and 2.2.3. This patch taken from the fix
in Ruby trunk and expected to be included in future point releases.
https://redmine.ruby-lang.org/issues/11602