RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2087994 - podman-1.6.4-32 prints a `Error: read unixpacket` when running in interactive mode
Summary: podman-1.6.4-32 prints a `Error: read unixpacket` when running in interactive...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: podman
Version: 7.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jindrich Novy
QA Contact: Alex Jia
URL:
Whiteboard:
: 2101425 (view as bug list)
Depends On:
Blocks: 1186913
TreeView+ depends on / blocked
 
Reported: 2022-05-18 15:35 UTC by Tristan Cacqueray
Modified: 2022-09-09 09:33 UTC (History)
14 users (show)

Fixed In Version: podman-1.6.4-34.el7_9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-22 09:17:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github containers podman pull 14752 0 None open 1.6.4 cleanup 2022-06-28 11:23:10 UTC
Red Hat Issue Tracker RHELPLAN-122469 0 None None None 2022-05-18 15:48:48 UTC

Description Tristan Cacqueray 2022-05-18 15:35:37 UTC
Description of problem:

Since the latest update (release 32), interactive podman exec is failing.


Version-Release number of selected component (if applicable):

podman-1.6.4-32.el7_9.x86_64


How reproducible:

all the time


Steps to Reproduce:
1. Create a container: `podman create --name interactive-test ubi8 sleep inf`
2. Start the container: `podman start interactive-test`
3. Run a command: `echo test | podman exec -i interactive-test cat`


Actual results:

The command prints `
test
Error: read unixpacket @->/var/run/libpod/socket/023bb7b359ddfbc9aad2568ca37b2ea47d6b4538b366e28880f9f3f5827c4ae2/attach: read: connection reset by peer
`


Expected results:

The command should not print the error.


Additional info:

This issue got introduced with the release 32, the reproducer does not work with the release 29.
The command exit code is still 0

Comment 17 Jindrich Novy 2022-06-27 13:28:15 UTC
*** Bug 2101425 has been marked as a duplicate of this bug. ***

Comment 21 Tom Sweeney 2022-06-28 22:43:32 UTC
The PR from Valentin has merged.  I'm going to set this to POST, THANK Valentin immensely, and assign this to Jindrich for further Packaging BZ needs.  Please adjust the BZ if further work is needed here.

Comment 24 Alex Jia 2022-07-06 03:31:18 UTC
This bug has been verified on podman-1.6.4-34.el7_9.x86_64 and podman-1.6.4-35.el7_9.x86_64.


[root@sweetpig-9 ~]# rpm -q podman
podman-1.6.4-34.el7_9.x86_64

[root@sweetpig-9 ~]# podman create --name interactive-test ubi8 sleep inf
b96db437d33d6ce17d87b7d5f2ed8cf9100ae88b9967de7f19aeaf57bc12a1e8

[root@sweetpig-9 ~]# podman start interactive-test
interactive-test
[root@sweetpig-9 ~]# echo test | podman exec -i interactive-test cat
test

[root@sweetpig-9 ~]# rpm -q podman
podman-1.6.4-35.el7_9.x86_64

[root@sweetpig-9 ~]# podman create --name interactive-test ubi8 sleep inf
cbb5da9c89cc23007c58a31f965761d2d6c13a380028b585c0a148c004f83d0b

[root@sweetpig-9 ~]# podman start interactive-test
interactive-test
[root@sweetpig-9 ~]# echo test | podman exec -i interactive-test cat
test

Comment 28 errata-xmlrpc 2022-08-22 09:17:50 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 (Moderate: podman security and bug fix update), 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-2022:6119


Note You need to log in before you can comment on or make changes to this bug.