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
scylla_post_install.sh: "[ $RHEL ]" does not work for RHEL, it only detects CentOS #16040
Comments
syuu1228
added a commit
to syuu1228/scylla
that referenced
this issue
Nov 13, 2023
$ID_LIKE = "rhel" works only on RHEL compatible OSes, not for RHEL itself. To detect RHEL correctly, we also need to check $ID = "rhel". Fixes scylladb#16040
Backported to 5.1, 5.2, 5.4. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On scylla_post_install.sh, Redhat variants detection code only references $ID_LIKE:
https://github.com/scylladb/scylladb/blob/master/scylla_post_install.sh#L21
This will work finely on CentOS, but doesn't work on RHEL itself.
To make it work correctly we also need to check
$ID = "rhel"
.The text was updated successfully, but these errors were encountered: