diff --git a/.fuse-overlayfs.metadata b/.fuse-overlayfs.metadata index 0379741..d1a33fa 100644 --- a/.fuse-overlayfs.metadata +++ b/.fuse-overlayfs.metadata @@ -1 +1 @@ -aea6a90f46a525c3e647a47126e2f9560125daf1 SOURCES/v1.0.0.tar.gz +19d8cbb0252ccc8490ffc44df0d9b2593809189a SOURCES/v1.1.2.tar.gz diff --git a/.gitignore b/.gitignore index 58b6875..1b4f9b9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/v1.0.0.tar.gz +SOURCES/v1.1.2.tar.gz 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 2aa512c..0c15218 100644 --- a/SPECS/fuse-overlayfs.spec +++ b/SPECS/fuse-overlayfs.spec @@ -1,13 +1,16 @@ %global git0 https://github.com/containers/%{name} Name: fuse-overlayfs -Version: 1.0.0 -Release: 2%{?dist} +Version: 1.1.2 +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 @@ -34,6 +37,7 @@ building other packages which use import path with %autosetup -Sgit %build +export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" ./autogen.sh ./configure --prefix=%{_usr} --libdir=%{_libdir} %{__make} generate-man @@ -53,17 +57,34 @@ make DESTDIR=%{buildroot} install install-man %{_mandir}/man1/%{name}.1.gz %changelog -* Thu Apr 30 2020 Jindrich Novy - 1.0.0-2 -- remove bogus Provides from spec -- Related: RHELPLAN-39206 +* 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 -* Mon Apr 20 2020 Jindrich Novy - 1.0.0-1 -- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.0.0 -- Related: RHELPLAN-39206 +* Tue Aug 11 2020 Jindrich Novy - 1.1.2-2 +- use proper CFLAGS +- Related: #1821193 -* Wed Apr 08 2020 Jindrich Novy - 0.7.8-1 +* Mon Jun 29 2020 Jindrich Novy - 1.1.2-1 +- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.1.2 +- Related: #1821193 + +* Mon Jun 22 2020 Jindrich Novy - 1.1.1-1 +- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.1.1 +- Related: #1821193 + +* Thu Jun 18 2020 Jindrich Novy - 1.1.0-1 +- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.1.0 +- Related: #1821193 + +* Tue May 12 2020 Jindrich Novy - 1.0.0-1 +- synchronize containter-tools 8.3.0 with 8.2.1 +- Related: #1821193 + +* Tue Apr 07 2020 Jindrich Novy - 0.7.8-1 - update to https://github.com/containers/fuse-overlayfs/releases/tag/v0.7.8 -- Related: #1821204 +- Related: #1821193 * Thu Mar 19 2020 Jindrich Novy - 0.7.2-5 - latest iteration of segfault fix patch, thanks to Giuseppe Scrivano