Bug 1902673

Summary: Using rootless podman with slirp4netns and without the --disable-host-loopback
Product: Red Hat Enterprise Linux 8 Reporter: Suhaas Bhat <subhat>
Component: podmanAssignee: Jindrich Novy <jnovy>
Status: CLOSED ERRATA QA Contact: Yuhui Jiang <yujiang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.3CC: bbaude, dornelas, dwalsh, jligon, jnovy, kanderso, lsm5, mheon, pthomas, umohnani, ypu
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: podman-2.1.1-3.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-16 14:21: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:    
Bug Blocks: 1186913, 1823908    

Description Suhaas Bhat 2020-11-30 11:20:34 UTC
Description of problem:
We already have an upstream commit added for this issue.

https://github.com/containers/podman/pull/6965

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

podman-2.0.5-5.module+el8.3.0+8221+97165c3f.x86_64

# podman run -dt -p 8080:8080/tcp --network slirp4netns:allow_host_loopback=true docker.io/httpd
Error: error running container create option: cannot use CNI networks with rootless containers

Comment 1 Matthew Heon 2020-11-30 14:40:30 UTC
Do you need a backport of this urgently? As things stand, a Podman release supporting this will be released with RHEL 8.3.1 in the near future, and I would recommend waiting for this if at all possible.

Comment 2 Daniel Walsh 2020-11-30 19:12:48 UTC
Fixed in podman 2.1.1

Comment 3 Tom Sweeney 2020-12-01 00:31:53 UTC
Assigning to Jindrich for any packaging and BZ needs.

Comment 13 errata-xmlrpc 2021-02-16 14:21: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 (Moderate: container-tools:rhel8 security, bug fix, and enhancement 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-2021:0531