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 1935376 - Regression: Overlay mounts is broken on existing directories.
Summary: Regression: Overlay mounts is broken on existing directories.
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: podman
Version: 8.4
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Jindrich Novy
QA Contact: Alex Jia
Depends On:
Blocks: 1937641
TreeView+ depends on / blocked
Reported: 2021-03-04 18:23 UTC by Daniel Walsh
Modified: 2021-05-18 15:35 UTC (History)
11 users (show)

Fixed In Version: podman-3.0.1-4.el8 or newer and buildah-1.19.7-1.el8 or newer
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1937641 (view as bug list)
Last Closed: 2021-05-18 15:34:31 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

Description Daniel Walsh 2021-03-04 18:23:26 UTC
sudo /bin/podman run -ti -v $PWD/test_data:/tmp:O busybox ls -l /
Error: OCI runtime error: invalid mount type for ``

Comment 12 Alex Jia 2021-03-23 14:31:21 UTC
I can reproduce this bug on podman-3.0.1-3.module+el8.4.0+10198+36d1d0e3
w/ buildah-1.19.6-1.module+el8.4.0+10198+36d1d0e3.

[root@hp-dl360g9-03 ~]# mkdir -p $PWD/test_data/foo/bar
[root@hp-dl360g9-03 ~]# podman run -ti -v $PWD/test_data:/tmp:O busybox ls -l /
Error: OCI runtime error: invalid mount type for ``

And this bug has been verified on podman-3.0.1-4.module+el8.4.0+10300+f3642519
and podman-3.0.1-6.module+el8.4.0+10398+842aaf04 w/

[root@hp-dl360g9-03 ~]# rpm -q podman buildah

[root@hp-dl360g9-03 ~]# podman run -ti -v $PWD/test_data:/tmp:O busybox ls -l /
total 16
drwxr-xr-x    2 root     root         12288 Jun 27  2020 bin
drwxr-xr-x    5 root     root           360 Mar 23 14:25 dev
drwxr-xr-x    1 root     root            54 Mar 23 14:25 etc
drwxr-xr-x    2 nobody   nogroup          6 Jun 27  2020 home
dr-xr-xr-x  237 root     root             0 Mar 23 14:25 proc
drwx------    2 root     root             6 Jun 27  2020 root
drwxr-xr-x    3 root     root            42 Mar 23 14:25 run
dr-xr-xr-x   13 root     root             0 Mar 23 12:22 sys
drwxr-xr-x    1 root     root             6 Mar 23 14:25 tmp
drwxr-xr-x    3 root     root            18 Jun 27  2020 usr
drwxr-xr-x    4 root     root            30 Jun 27  2020 var

Comment 14 errata-xmlrpc 2021-05-18 15:34:31 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.


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