Skip to content

SOLR-17353: Fix for golang version 1.18#2542

Closed
khandnb wants to merge 1 commit into
apache:branch_9_6from
khandnb:patch-1
Closed

SOLR-17353: Fix for golang version 1.18#2542
khandnb wants to merge 1 commit into
apache:branch_9_6from
khandnb:patch-1

Conversation

@khandnb
Copy link
Copy Markdown

@khandnb khandnb commented Jun 28, 2024

https://issues.apache.org/jira/browse/SOLR-17353

Description

Please provide a short description of the changes you're making with this pull request.

Solution

Please provide a short description of the approach taken to implement your solution.

Tests

Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.

Checklist

Please review the following and check all that apply:

  • I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
  • I have created a Jira issue and added the issue ID to my pull request title.
  • I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
  • I have developed this patch against the main branch.
  • I have run ./gradlew check.
  • I have added tests for my changes.
  • I have added documentation for the Reference Guide

@cpoerschke cpoerschke changed the title Fix for golang version 1.18 SOLR-17353: Fix for golang version 1.18 Jun 28, 2024
apt-get update; \
apt-get -y --no-install-recommends install acl lsof procps wget netcat gosu tini jattach; \
wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64"; \
chmod +x /usr/local/bin/gosu; \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a known fact that our version of ubuntu offers a slightly older gosu binary based on an older golang. However, there are no known attack vectors known to us how an external attacker might abuse this.

The fix presented here is not acceptable, as the image must work both for amd and arm architectures.

A better solution is to wait until we bump our default Ubuntu version in the docker image. Which I suppose could happen soon?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should definitely bump it for 10x

Copy link
Copy Markdown
Contributor

@janhoy janhoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please instead look into upgrading the ubuntu platform-version and indirectly fix it that way.

@github-actions
Copy link
Copy Markdown

This PR has had no activity for 60 days and is now labeled as stale. Any new activity or converting it to draft will remove the stale label. To attract more reviewers, please tag people who might be familiar with the code area and/or notify the dev@solr.apache.org mailing list. Thank you for your contribution!

@github-actions github-actions Bot added the stale PR not updated in 60 days label Sep 10, 2024
@github-actions
Copy link
Copy Markdown

This PR is now closed due to 60 days of inactivity after being marked as stale. Re-opening this PR is still possible, in which case it will be marked as active again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

closed-stale Closed after being stale for 60 days stale PR not updated in 60 days

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants