Bug 1807379

Summary: podman exec does not reads from stdin
Product: Red Hat Enterprise Linux 8 Reporter: Attila Fazekas <afazekas>
Component: podmanAssignee: Jindrich Novy <jnovy>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: bbaude, ddarrah, dwalsh, hhorak, jligon, jnovy, kanderso, lsm5, mheon, pkubat, tsweeney, ypu
Target Milestone: rc   
Target Release: 8.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: podman-1.9.0-1.module+el8.2.1+6336+d8c27409 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-21 15:31:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1807586, 1807587, 1807588, 1807589, 1807590, 1807591    
Bug Blocks:    

Description Attila Fazekas 2020-02-26 09:04:48 UTC
Description of problem:
echo foo | podman exec 2607c48ac86d cat
echo foo | podman exec -i 2607c48ac86d cat
Error: read unixpacket @->/var/run/libpod/socket/061191f3aa1a2f0c7952f8fc6201c86c30f1391e041f55ef8f17ff620ebbbd4d/attach: read: connection reset by peer


Version-Release number of selected component (if applicable):
podman-1.6.4-2.module+el8.1.1+5363+bf8ff1af.x86_64

How reproducible:
always

Upstream bug:
https://github.com/containers/libpod/issues/4326

Comment 1 Tom Sweeney 2020-02-26 16:29:08 UTC
The fix for this upstream is https://github.com/containers/libpod/pull/4818.  Jindrich I'm assigning to you for packaging, if that's too soon please let me know.

Comment 3 Derrick Ornelas 2020-03-02 18:04:38 UTC
*** Bug 1807590 has been marked as a duplicate of this bug. ***

Comment 5 Jindrich Novy 2020-04-22 07:40:23 UTC
*** Bug 1807591 has been marked as a duplicate of this bug. ***

Comment 6 Jindrich Novy 2020-04-22 07:41:23 UTC
*** Bug 1807589 has been marked as a duplicate of this bug. ***

Comment 11 Jindrich Novy 2020-04-23 16:35:32 UTC
*** Bug 1827324 has been marked as a duplicate of this bug. ***

Comment 12 Joy Pu 2020-06-02 11:13:28 UTC
Test with podman-1.9.3-1.module+el8.2.1+6750+e53a300c.x86_64. And this is working as expected. So set this to verified.
Details:
$ podman run -d busybox top
Trying to pull registry.access.redhat.com/busybox...
  name unknown: Repo not found
Trying to pull registry.redhat.io/busybox...
  unable to retrieve auth token: invalid username/password: unauthorized: Please login to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here: https://access.redhat.com/RegistryAuthentication
Trying to pull docker.io/library/busybox...
Getting image source signatures
Copying blob d9cbbca60e5f done  
Copying config 78096d0a54 done  
Writing manifest to image destination
Storing signatures
fd75b01d86f99baa113f5f8c2df473dcdd3600c894173d80b915daa3dcf3b60b
$ echo foo | podman exec -i fd75b01d86 cat
foo

Comment 14 errata-xmlrpc 2020-07-21 15:31:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:3053