Skip to content
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

Incorrect permissions for otelcol in UBI based images #1506

Closed
kasia-kujawa opened this issue Mar 14, 2024 · 1 comment · Fixed by #1510
Closed

Incorrect permissions for otelcol in UBI based images #1506

kasia-kujawa opened this issue Mar 14, 2024 · 1 comment · Fixed by #1510
Labels
bug Something isn't working

Comments

@kasia-kujawa
Copy link
Contributor

Incorrect permissions for otelcol in UBI based images, otelcol is not executable:

vagrant@sumologic-otel-collector:/sumologic$ docker run -it public.ecr.aws/sumologic/sumologic-otel-collector:0.96.0-sumo-0-ubi  --version
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/otelcol-sumo": permission denied: unknown.
ERRO[0000] error waiting for container: context canceled 
vagrant@sumologic-otel-collector:/sumologic$ docker run -it public.ecr.aws/sumologic/sumologic-otel-collector:0.96.0-sumo-0  --version
otelcol-sumo version v0.96.0-sumo-0
vagrant@sumologic-otel-collector:/sumologic$ docker run public.ecr.aws/sumologic/sumologic-otel-collector-dev:latest  --version
otelcol-sumo version v0.96.0-sumo-0-2-g5c474
vagrant@sumologic-otel-collector:/sumologic$ docker run public.ecr.aws/sumologic/sumologic-otel-collector-dev:latest-ubi  --version
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/otelcol-sumo": permission denied: unknown.
ERRO[0000] error waiting for container: context canceled 

image

@kasia-kujawa kasia-kujawa added the bug Something isn't working label Mar 14, 2024
@sumo-drosiek sumo-drosiek linked a pull request Mar 18, 2024 that will close this issue
@sumo-drosiek sumo-drosiek reopened this Mar 20, 2024
@sumo-drosiek
Copy link
Contributor

Fixed by #1517

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants