Skip to contentSkip to conversation

fuse-overlayfs: update to v1.14

PATCH In review Wojciech Slenska 2 participants 2 messages Apr 16, 2025 – May 20, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fuse-overlayfs: update to v1.14

* fuse-overlayfs-1.14
- isolate security xattrs for STAT_OVERRIDE_CONTAINERS. Prefix all security xattrs with XATTR_CONTAINERS_OVERRIDE_PREFIX.
- prefer user.containers.override_stat over user.fuseoverlayfs.
- do not force -1 for owner overriding extended attributes. Otherwise the value is written to the override extended attribute.
- fix file owner retrieval for chmod.
- honor umask with xattr_permissions.
- honor mode for devices with xattr_permissions.
- propagate extended attributes permissions with copyup.

* fuse-overlayfs-1.13
- fix a performance issue when dealing with big directories.

* fuse-overlayfs-1.12
- change license to GPL-2.0-or-later.

* fuse-overlayfs-1.11
- main: if a lower layer doesn't support ACLs do not enable them.

* fuse-overlayfs-1.10
- main: use /proc/self/fd to read xattrs.
- main: inherit ACLs for new files/dirs.
- main: fix passing noatime.
- main: add checks for valid /proc mount.
- main: fix copy_file_range for deleted files.
- main: fix creating links of just deleted files.

---
 ...tils-Add-missing-include-on-limits.h.patch | 36 -------------------
 .../fuse-overlayfs/fuse-overlayfs_1.14.bb     | 15 ++++++++
 .../fuse-overlayfs/fuse-overlayfs_1.9.bb      | 18 ----------
 3 files changed, 15 insertions(+), 54 deletions(-)
 delete mode 100644 recipes-extended/fuse-overlayfs/fuse-overlayfs/0001-utils-Add-missing-include-on-limits.h.patch
 create mode 100644 recipes-extended/fuse-overlayfs/fuse-overlayfs_1.14.bb
 delete mode 100644 recipes-extended/fuse-overlayfs/fuse-overlayfs_1.9.bb
recipes-extended/fuse-overlayfs/fuse-overlayfs/0001-utils-Add-missing-include-on-limits.h.patch deleted +0 -36
deleted file mode 100644
index cd504ce5..00000000
@@ -1,36 +0,0 @@
-From b48e958aaecfdfc3bb48db082a548a09d6487181 Mon Sep 17 00:00:00 2001
-From: Andrei Gherzan <[email protected]>
-Date: Wed, 13 Jul 2022 12:05:07 +0200
-Subject: [PATCH] utils: Add missing include on limits.h
-
-This happens to not be an issue with glibc because it gets indirectly
-included via dirent.h:
-
-.. /usr/include/dirent.h
-[...]
-..... /usr/include/linux/limits.h
-
-When using the musl libc implementation, that is not the case anymore
-and the build fails.
-
-Signed-off-by: Andrei Gherzan <[email protected]>
-Upstream-Status: Submitted [https://github.com/containers/fuse-overlayfs/pull/362]
----
- utils.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/utils.h b/utils.h
-index 13a177e..6fbc328 100644
---- a/utils.h
-+++ b/utils.h
-@@ -32,6 +32,7 @@
- # include <sys/types.h>
- # include <fcntl.h>
- # include "fuse-overlayfs.h"
-+# include <limits.h>
- 
- # define XATTR_OVERRIDE_STAT "user.fuseoverlayfs.override_stat"
- # define XATTR_PRIVILEGED_OVERRIDE_STAT "security.fuseoverlayfs.override_stat"
--- 
-2.25.1
-
recipes-extended/fuse-overlayfs/fuse-overlayfs_1.14.bb new file +15 -0
new file mode 100644
index 00000000..0f6d0fb6
@@ -0,0 +1,15 @@
+SUMMARY = "FUSE implementation of overlayfs."
+DESCRIPTION = "An implementation of overlay+shiftfs in FUSE for rootless \
+containers."
+
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRCREV = "33cb788edc05f5e3cbb8a7a241f5a04bee264730"
+SRC_URI = "git://github.com/containers/fuse-overlayfs.git;nobranch=1;protocol=https"
+
+DEPENDS = "fuse3"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
recipes-extended/fuse-overlayfs/fuse-overlayfs_1.9.bb deleted +0 -18
deleted file mode 100644
index 31199928..00000000
@@ -1,18 +0,0 @@
-SUMMARY = "FUSE implementation of overlayfs."
-DESCRIPTION = "An implementation of overlay+shiftfs in FUSE for rootless \
-containers."
-
-LICENSE = "GPL-3.0-or-later"
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
-
-SRCREV = "51592ea406f48faeccab288f65dcba6c4a67cd90"
-SRC_URI = " \
-	git://github.com/containers/fuse-overlayfs.git;nobranch=1;protocol=https \
-	file://0001-utils-Add-missing-include-on-limits.h.patch \
-"
-
-DEPENDS = "fuse3"
-
-S = "${WORKDIR}/git"
-
-inherit autotools pkgconfig
Signature · 1 line
2.34.1
#1 lore raw

I somehow managed to miss this patch.

I'm just starting an upgrade cycle on the packages of m-virt, but I don't always do fuse-overlayfs .. so I've grabbed the patch and pushed it to master.

Bruce

In message: [meta-virtualization][PATCH] fuse-overlayfs: update to v1.14

Quoted 138 lines · on 16/04/2025 Wojciech Slenska via lists.yoctoproject.org wrote:

* fuse-overlayfs-1.14
- isolate security xattrs for STAT_OVERRIDE_CONTAINERS. Prefix all security xattrs with XATTR_CONTAINERS_OVERRIDE_PREFIX.
- prefer user.containers.override_stat over user.fuseoverlayfs.
- do not force -1 for owner overriding extended attributes. Otherwise the value is written to the override extended attribute.
- fix file owner retrieval for chmod.
- honor umask with xattr_permissions.
- honor mode for devices with xattr_permissions.
- propagate extended attributes permissions with copyup.

* fuse-overlayfs-1.13
- fix a performance issue when dealing with big directories.

* fuse-overlayfs-1.12
- change license to GPL-2.0-or-later.

* fuse-overlayfs-1.11
- main: if a lower layer doesn't support ACLs do not enable them.

* fuse-overlayfs-1.10
- main: use /proc/self/fd to read xattrs.
- main: inherit ACLs for new files/dirs.
- main: fix passing noatime.
- main: add checks for valid /proc mount.
- main: fix copy_file_range for deleted files.
- main: fix creating links of just deleted files.

---
 ...tils-Add-missing-include-on-limits.h.patch | 36 -------------------
 .../fuse-overlayfs/fuse-overlayfs_1.14.bb     | 15 ++++++++
 .../fuse-overlayfs/fuse-overlayfs_1.9.bb      | 18 ----------
 3 files changed, 15 insertions(+), 54 deletions(-)
 delete mode 100644 recipes-extended/fuse-overlayfs/fuse-overlayfs/0001-utils-Add-missing-include-on-limits.h.patch
 create mode 100644 recipes-extended/fuse-overlayfs/fuse-overlayfs_1.14.bb
 delete mode 100644 recipes-extended/fuse-overlayfs/fuse-overlayfs_1.9.bb
recipes-extended/fuse-overlayfs/fuse-overlayfs/0001-utils-Add-missing-include-on-limits.h.patch deleted +0 -36
deleted file mode 100644
index cd504ce5..00000000
@@ -1,36 +0,0 @@
-From b48e958aaecfdfc3bb48db082a548a09d6487181 Mon Sep 17 00:00:00 2001
-From: Andrei Gherzan <[email protected]>
-Date: Wed, 13 Jul 2022 12:05:07 +0200
-Subject: [PATCH] utils: Add missing include on limits.h
-
-This happens to not be an issue with glibc because it gets indirectly
-included via dirent.h:
-
-.. /usr/include/dirent.h
-[...]
-..... /usr/include/linux/limits.h
-
-When using the musl libc implementation, that is not the case anymore
-and the build fails.
-
-Signed-off-by: Andrei Gherzan <[email protected]>
-Upstream-Status: Submitted [https://github.com/containers/fuse-overlayfs/pull/362]
----
- utils.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/utils.h b/utils.h
-index 13a177e..6fbc328 100644
---- a/utils.h
-+++ b/utils.h
-@@ -32,6 +32,7 @@
- # include <sys/types.h>
- # include <fcntl.h>
- # include "fuse-overlayfs.h"
-+# include <limits.h>
- 
- # define XATTR_OVERRIDE_STAT "user.fuseoverlayfs.override_stat"
- # define XATTR_PRIVILEGED_OVERRIDE_STAT "security.fuseoverlayfs.override_stat"
--- 
-2.25.1
-
recipes-extended/fuse-overlayfs/fuse-overlayfs_1.14.bb new file +15 -0
new file mode 100644
index 00000000..0f6d0fb6
@@ -0,0 +1,15 @@
+SUMMARY = "FUSE implementation of overlayfs."
+DESCRIPTION = "An implementation of overlay+shiftfs in FUSE for rootless \
+containers."
+
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRCREV = "33cb788edc05f5e3cbb8a7a241f5a04bee264730"
+SRC_URI = "git://github.com/containers/fuse-overlayfs.git;nobranch=1;protocol=https"
+
+DEPENDS = "fuse3"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
recipes-extended/fuse-overlayfs/fuse-overlayfs_1.9.bb deleted +0 -18
deleted file mode 100644
index 31199928..00000000
@@ -1,18 +0,0 @@
-SUMMARY = "FUSE implementation of overlayfs."
-DESCRIPTION = "An implementation of overlay+shiftfs in FUSE for rootless \
-containers."
-
-LICENSE = "GPL-3.0-or-later"
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
-
-SRCREV = "51592ea406f48faeccab288f65dcba6c4a67cd90"
-SRC_URI = " \
-	git://github.com/containers/fuse-overlayfs.git;nobranch=1;protocol=https \
-	file://0001-utils-Add-missing-include-on-limits.h.patch \
-"
-
-DEPENDS = "fuse3"
-
-S = "${WORKDIR}/git"
-
-inherit autotools pkgconfig
Signature · 11 lines
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9228): https://lists.yoctoproject.org/g/meta-virtualization/message/9228
Mute This Topic: https://lists.yoctoproject.org/mt/112291695/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-