Project

Profile

Help

Issue #6420

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

Added by mdepaulo@redhat.com 2 months ago. Updated about 2 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 69

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.

Associated revisions

Revision 10804a79 View on GitHub
Added by Mike DePaulo 2 months ago

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

Revision 7d4896a3 View on GitHub
Added by Mike DePaulo 2 months ago

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)

History

#1 Updated by pulpbot 2 months ago

  • Status changed from NEW to POST

#2 Updated by fao89 2 months ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 69

#3 Updated by Anonymous 2 months ago

  • Status changed from POST to MODIFIED

#4 Updated by Anonymous 2 months ago

#5 Updated by ttereshc about 2 months ago

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

Please register to edit this issue

Also available in: Atom PDF