Bug 2057243
| Summary: | failed to open /dev/fuse: Operation not permitted | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Alex Jia <ajia> | |
| Component: | buildah-container | Assignee: | Jindrich Novy <jnovy> | |
| Status: | CLOSED ERRATA | QA Contact: | Alex Jia <ajia> | |
| Severity: | high | Docs Contact: | Michelle Bearer <mbearer> | |
| Priority: | unspecified | |||
| Version: | 8.6 | CC: | dwalsh, jnovy, tsweeney, ypu | |
| Target Milestone: | rc | Keywords: | Reopened | |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | rhel8-buildah:8.6-4 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2057337 2066138 (view as bug list) | Environment: | ||
| Last Closed: | 2022-05-10 21:27:48 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: | 2044787, 2057337 | |||
|
Description
Alex Jia
2022-02-23 03:30:45 UTC
Jindrich, I think this might be a packaging issue. If not, please let me know and I'll assign elsewhere. [root@sweetpig-22 ~]# podman run --rm --device /dev/fuse -it registry-proxy.engineering.redhat.com/rh-osbs/rhel8-buildah:8.6-4 Trying to pull registry-proxy.engineering.redhat.com/rh-osbs/rhel8-buildah:8.6-4... Getting image source signatures Copying blob 968ce03aa7c4 done Copying blob 6bc6fc7fa3c2 done Copying blob 2208f6c75e6b done Copying config 68ff495c39 done Writing manifest to image destination Storing signatures [root@d61c4e24eed6 /]# rpm -q buildah fuse-overlayfs buildah-1.24.2-2.module+el8.6.0+14379+4ec2a99a.x86_64 fuse-overlayfs-1.8.2-1.module+el8.6.0+14379+4ec2a99a.x86_64 [root@d61c4e24eed6 /]# buildah from registry.access.redhat.com/ubi8 Trying to pull registry.access.redhat.com/ubi8:latest... Getting image source signatures Checking if image destination supports signatures Copying blob 8dfe9326f733 done Copying blob 0d875a68bf99 done Copying config 52de04277b done Writing manifest to image destination Storing signatures ubi8-working-container [root@d61c4e24eed6 /]# buildah ps CONTAINER ID BUILDER IMAGE ID IMAGE NAME CONTAINER NAME dddc404ce84b * 52de04277b39 registry.access.redhat.com/ub... ubi8-working-container [root@d61c4e24eed6 /]# buildah run --isolation=chroot ubi8-working-container ls / ERRO[0000] Unmounting /var/lib/containers/storage/overlay/97d65d3c6ce99f129de3a53da1bf0925055cdb61103afd41daec1e35b636900d/merged: invalid argument error mounting container "dddc404ce84bfacef095a1435a05b4ca62408e3e1ebd24273cd81ba9a50b387c": error mounting build container "dddc404ce84bfacef095a1435a05b4ca62408e3e1ebd24273cd81ba9a50b387c": creating overlay mount to /var/lib/containers/storage/overlay/97d65d3c6ce99f129de3a53da1bf0925055cdb61103afd41daec1e35b636900d/merged, mount_data="nodev,lowerdir=/var/lib/containers/storage/overlay/l/HE3EXTDYFV5L2WHPDHZXOAOAGD:/var/lib/containers/storage/overlay/l/QSOSCSRTNBCD5MC4KVC552A3CX,upperdir=/var/lib/containers/storage/overlay/97d65d3c6ce99f129de3a53da1bf0925055cdb61103afd41daec1e35b636900d/diff,workdir=/var/lib/containers/storage/overlay/97d65d3c6ce99f129de3a53da1bf0925055cdb61103afd41daec1e35b636900d/work,volatile": using mount program /usr/bin/fuse-overlayfs: fuse: failed to open /dev/fuse: Operation not permitted fuse-overlayfs: cannot mount: Operation not permitted : exit status 1 ERRO[0000] exit status 125 The podman v3.4.5 is okay, but it didn't work for podman v4.0 + rhel8-buildah:8.6-4. Alex, do you mind re-checking this with podman-4.0.2? The advisory was updated today. Thanks. (In reply to Jindrich Novy from comment #4) > Alex, do you mind re-checking this with podman-4.0.2? The advisory was > updated today. Thanks. it works well for podman-4.0.2-2.module+el8.6.0+14478+dcf60c19 w/ rhel8-buildah:8.6-4. [root@sweetpig-7 ~]# cat /etc/redhat-release Red Hat Enterprise Linux release 8.6 Beta (Ootpa) [root@sweetpig-7 ~]# rpm -q podman runc systemd kernel podman-4.0.2-2.module+el8.6.0+14478+dcf60c19.x86_64 runc-1.0.3-1.module+el8.6.0+14378+7b18e39f.x86_64 systemd-239-58.el8.x86_64 kernel-4.18.0-372.el8.x86_64 [root@sweetpig-7 ~]# grep cgroup /proc/mounts tmpfs /sys/fs/cgroup tmpfs ro,seclabel,nosuid,nodev,noexec,size=7535720k,nr_inodes=1883930,mode=755 0 0 cgroup /sys/fs/cgroup/systemd cgroup rw,seclabel,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0 cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,seclabel,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0 cgroup /sys/fs/cgroup/rdma cgroup rw,seclabel,nosuid,nodev,noexec,relatime,rdma 0 0 cgroup /sys/fs/cgroup/pids cgroup rw,seclabel,nosuid,nodev,noexec,relatime,pids 0 0 cgroup /sys/fs/cgroup/hugetlb cgroup rw,seclabel,nosuid,nodev,noexec,relatime,hugetlb 0 0 cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,seclabel,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0 cgroup /sys/fs/cgroup/blkio cgroup rw,seclabel,nosuid,nodev,noexec,relatime,blkio 0 0 cgroup /sys/fs/cgroup/memory cgroup rw,seclabel,nosuid,nodev,noexec,relatime,memory 0 0 cgroup /sys/fs/cgroup/freezer cgroup rw,seclabel,nosuid,nodev,noexec,relatime,freezer 0 0 cgroup /sys/fs/cgroup/cpuset cgroup rw,seclabel,nosuid,nodev,noexec,relatime,cpuset 0 0 cgroup /sys/fs/cgroup/devices cgroup rw,seclabel,nosuid,nodev,noexec,relatime,devices 0 0 cgroup /sys/fs/cgroup/perf_event cgroup rw,seclabel,nosuid,nodev,noexec,relatime,perf_event 0 0 [root@sweetpig-7 ~]# podman run --rm --device /dev/fuse -it registry-proxy.engineering.redhat.com/rh-osbs/rhel8-buildah:8.6-4 Trying to pull registry-proxy.engineering.redhat.com/rh-osbs/rhel8-buildah:8.6-4... Getting image source signatures Copying blob 968ce03aa7c4 done Copying blob 6bc6fc7fa3c2 done Copying blob 2208f6c75e6b done Copying config 68ff495c39 done Writing manifest to image destination Storing signatures [root@7d7501e67645 /]# rpm -q buildah fuse-overlayfs buildah-1.24.2-2.module+el8.6.0+14379+4ec2a99a.x86_64 fuse-overlayfs-1.8.2-1.module+el8.6.0+14379+4ec2a99a.x86_64 [root@7d7501e67645 /]# buildah from registry.access.redhat.com/ubi8 Trying to pull registry.access.redhat.com/ubi8:latest... Getting image source signatures Checking if image destination supports signatures Copying blob effc4ea612c8 done Copying blob de9bc33d7337 done Copying config b1b0a30a72 done Writing manifest to image destination Storing signatures ubi8-working-container [root@7d7501e67645 /]# buildah ps CONTAINER ID BUILDER IMAGE ID IMAGE NAME CONTAINER NAME a8ee1eeda649 * b1b0a30a7282 registry.access.redhat.com/ub... ubi8-working-container [root@7d7501e67645 /]# buildah run --isolation=chroot ubi8-working-container ls / bin boot dev etc home lib lib64 lost+found media mnt opt proc root run sbin srv sys tmp usr var @jnovy As Alex verified this with the latest, can we close this as current release? [root@sweetpig-20 ~]# cat /etc/redhat-release Red Hat Enterprise Linux release 8.6 Beta (Ootpa) [root@sweetpig-20 ~]# rpm -q podman runc systemd kernel podman-4.0.2-2.module+el8.6.0+14488+6524fb7f.x86_64 runc-1.0.3-2.module+el8.6.0+14488+6524fb7f.x86_64 systemd-239-58.el8.x86_64 kernel-4.18.0-372.2.1.el8.x86_64 [root@sweetpig-20 ~]# podman run --rm --device /dev/fuse -it registry-proxy.engineering.redhat.com/rh-osbs/rhel8-buildah:8.6-5 Trying to pull registry-proxy.engineering.redhat.com/rh-osbs/rhel8-buildah:8.6-5... Getting image source signatures Copying blob a6fd35289163 done Copying blob 2907092333e1 done Copying blob 76ea87ceff0d done Copying config eda4e8afab done Writing manifest to image destination Storing signatures [root@354215393fce /]# rpm -q buildah fuse-overlayfs buildah-1.24.2-2.module+el8.6.0+14488+6524fb7f.x86_64 fuse-overlayfs-1.8.2-1.module+el8.6.0+14488+6524fb7f.x86_64 [root@354215393fce /]# buildah from registry.access.redhat.com/ubi8 Trying to pull registry.access.redhat.com/ubi8:latest... Getting image source signatures Checking if image destination supports signatures Copying blob 3de00bb8554b done Copying blob c530010fb61c done Copying config 552ac8ae42 done Writing manifest to image destination Storing signatures ubi8-working-container [root@354215393fce /]# buildah ps CONTAINER ID BUILDER IMAGE ID IMAGE NAME CONTAINER NAME 8f0456e15e08 * 552ac8ae4291 registry.access.redhat.com/ub... ubi8-working-container [root@354215393fce /]# buildah run --isolation=chroot ubi8-working-container ls bin boot dev etc home lib lib64 lost+found media mnt opt proc root run sbin srv sys tmp usr var To close this bug per Comment 10. 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 (rhel8/buildah container image 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/RHBA-2022:2157 |