Project

Profile

Help

Issue #6420

closed

Pulp containers do not allow commands like "/bin/bash" to be run, only "bash"

Added by mdepaulo@redhat.com over 2 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 69
Quarter:

Description

This is due to the ENTRYPOINT script pulpcore.git/containers/images/pulp/container-assets/pulp-common-entrypoint.sh being overly broad when it attempts to do special logic, only needed for the 4 pulp-* commands.

It is a usability issue for /bin commands, and prevents running /sbin commands.

Added by Mike DePaulo over 2 years ago

Revision 10804a79

Problem: Pulp containers do not allow commands like "/bin/bash" to be run, only "bash"

Solution: Only apply the /bin/ logic for the 4 pulp-* commands.

fixes: #6420 Pulp containers do not allow commands like "/bin/bash" to be run, only "bash" https://pulp.plan.io/issues/6420

Actions #1

Updated by pulpbot over 2 years ago

  • Status changed from NEW to POST
Actions #2

Updated by fao89 over 2 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 69
Actions #3

Updated by Anonymous over 2 years ago

  • Status changed from POST to MODIFIED

Added by Mike DePaulo over 2 years ago

Revision 7d4896a3

Problem: Pulp containers do not allow commands like "/bin/bash" to be run, only "bash"

Solution: Only apply the /bin/ logic for the 4 pulp-* commands.

fixes: #6420 Pulp containers do not allow commands like "/bin/bash" to be run, only "bash" https://pulp.plan.io/issues/6420

(cherry picked from commit 10804a79115c4dbbd745f7f82ea197f677f77c11)

Actions #4

Updated by Anonymous over 2 years ago

Actions #5

Updated by ttereshc over 2 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
  • Sprint/Milestone set to 3.3.0

Also available in: Atom PDF