Bug 1867314 - udica does not parse published ports for podman 2.0
Summary: udica does not parse published ports for podman 2.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: udica
Version: 32
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-08 15:59 UTC by Guy Streeter
Modified: 2020-08-12 02:03 UTC (History)
3 users (show)

Fixed In Version: udica-0.2.2-1.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-12 02:03:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Guy Streeter 2020-08-08 15:59:51 UTC
Description of problem:

udica does not properly parse the published ports from "podman inspect" for version 2.0 or greater podman


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

udica-0.2.1-2

How reproducible:

Always

Steps to Reproduce:

1. run a podman container publishing network ports
2. create a policy with udica from the "podman inspect" output of the container
3. re-run the container specifying the new policy with "--security-opt"

Actual results:

The application in the container get permission errors on its network ports.
ausearch shows AVC name_bind denials for the container's ports.


Expected results:

The application in the container should be able to access the network through its published ports.


Additional info:

The json output of "podman inspect" changed in version 2.0, and udica needs a change to deal with that.

upstream pull request https://github.com/containers/udica/pull/61 fixes this.

NOTE that this change makes 2.0 the minimum supported podman version for udica.

Comment 1 Lukas Vrabec 2020-08-09 17:06:55 UTC
Hi Guy, 

Following update should fix that: 
https://bodhi.fedoraproject.org/updates/FEDORA-2020-59c7d8a64a

Thanks,
Lukas.

Comment 2 Fedora Update System 2020-08-09 17:07:23 UTC
FEDORA-2020-59c7d8a64a has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-59c7d8a64a

Comment 3 Fedora Update System 2020-08-12 02:03:26 UTC
FEDORA-2020-59c7d8a64a has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


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