Rewrite fuse-overlayfs in Rust by giuseppe · Pull Request #457 · containers/fuse-overlayfs

2 min read Original article ↗

saschagrunert

saschagrunert

saschagrunert

@giuseppe giuseppe changed the title [RFC][WIP] Rewrite fuse-overlayfs in Rust Rewrite fuse-overlayfs in Rust

Apr 3, 2026

saschagrunert

Add comprehensive end-to-end tests covering copyup, directory
operations, hardlinks, readonly mode, rename (including
RENAME_NOREPLACE and RENAME_EXCHANGE), special files, symlinks,
and xattr handling. These tests validate the behavior of
fuse-overlayfs and serve as a regression suite.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
mknod for character/block devices requires CAP_MKNOD in the initial
user namespace. Skip those test cases gracefully when mknod is not
available, allowing the full test suite to pass rootless.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Complete reimplementation of fuse-overlayfs in Rust as a drop-in
replacement.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Add a release job that collects all cross-compiled binaries (x86_64,
aarch64, armv7l, s390x, ppc64le, riscv64), generates SHA256SUMS, and
creates a draft GitHub release when a version tag is pushed. Matches
the existing C release workflow structure.

Also rename armv7 artifact to armv7l for consistency with the C release.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

saschagrunert

cgwalters