diff --git a/SOURCES/fuse-overlayfs-1867447.patch b/SOURCES/fuse-overlayfs-1867447.patch new file mode 100644 index 0000000..c90157c --- /dev/null +++ b/SOURCES/fuse-overlayfs-1867447.patch @@ -0,0 +1,14 @@ +diff --git a/utils.c b/utils.c +index 749cfb0..bc0edb6 100644 +--- a/utils.c ++++ b/utils.c +@@ -81,7 +81,7 @@ syscall_openat2 (int dirfd, const char *path, uint64_t flags, uint64_t mode, uin + int + safe_openat (int dirfd, const char *pathname, int flags, mode_t mode) + { +- static bool openat2_supported = true; ++ static bool openat2_supported = false; + + if (openat2_supported) + { + diff --git a/SPECS/fuse-overlayfs.spec b/SPECS/fuse-overlayfs.spec index 49981d4..0c15218 100644 --- a/SPECS/fuse-overlayfs.spec +++ b/SPECS/fuse-overlayfs.spec @@ -2,12 +2,15 @@ Name: fuse-overlayfs Version: 1.1.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: FUSE overlay+shiftfs implementation for rootless containers License: GPLv3+ URL: %{git0} ExclusiveArch: aarch64 %{arm} ppc64le s390x x86_64 Source0: %{git0}/archive/v%{version}.tar.gz +# related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1867447 +# patch: https://bugzilla.redhat.com/show_bug.cgi?id=1867447#c6 +Patch0: fuse-overlayfs-1867447.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: fuse3-devel @@ -54,6 +57,11 @@ make DESTDIR=%{buildroot} install install-man %{_mandir}/man1/%{name}.1.gz %changelog +* Fri Sep 18 2020 Jindrich Novy - 1.1.2-3 +- fix "error bind mounting /dev from host into mount namespace" + (the openat2 syscall is not yet supported by the RHEL8 kernel) +- Resolves: #1867447 + * Tue Aug 11 2020 Jindrich Novy - 1.1.2-2 - use proper CFLAGS - Related: #1821193