-
Notifications
You must be signed in to change notification settings - Fork 267
CORENET-6311: Skip running _stackmanager for libreswan 5.3+ #2787
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
CORENET-6311: Skip running _stackmanager for libreswan 5.3+ #2787
Conversation
c8da991 to
1d489fe
Compare
| /usr/libexec/ipsec/_stackmanager start | ||
| # Check kernel modules only for libreswan version <= 5.2. The _stackmanager binary is | ||
| # removed from 5.3 onwards, so this check is not needed on later versions. | ||
| if [ -e /usr/libexec/ipsec/_stackmanager ]; then |
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.
One space should be enough. :)
Otherwise, lgtm.
The _stackmanager binary was removed in libreswan 5.3 and is no longer required for prerequisite checks. This commit conditionally runs _stackmanager only when the binary is present on the system. Signed-off-by: Periyasamy Palanisamy <pepalani@redhat.com>
1d489fe to
53dbf9b
Compare
|
/retest-required |
|
@pperiyasamy if libreswan 5.3 is what we have in the OCP master, why do we still keep the code for versions <= 5.2? |
@pliurh currently master is still with libreswan 5.2. even if we bump libreswan version t0 5.3 in master, this script is still getting used when upgrading it from 5.2 to 5.3. |
|
/retest-required |
|
Note: will also need this change down to at least 4.19 as we'll get 5.3 there as soon as it is released. |
|
/approve |
|
/retest-required |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pliurh, pperiyasamy The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@pperiyasamy: This pull request references CORENET-6311 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.21.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/verified by "pre-merge testing" |
|
@huiran0826: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@pperiyasamy: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
37d6525
into
openshift:master
|
/cherry-pick release-4.20 |
|
@pperiyasamy: new pull request created: #2872 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
The
_stackmanagerbinary was removed in libreswan 5.3 and is no longer required for prerequisite checks. This commit conditionally runs_stackmanageronly when the binary is present on the system.cc @huiran0826