Dependencies:
-
Linux kernel headers with
__NR_pivot_root(Linux 2.3.41+) are required at build-time on all architectures (#789). -
If compiled with
-Dassume_kernel=5.12.0or newer, then a kernel with themount_setattrsyscall is required at runtime, and kernel headers with__NR_mount_setattrare required at build-time on most architectures. On thex86_64,i386andaarch64architectures, a fallback is provided to be able to compile with pre-5.12 kernel headers. (#756, #785)
Enhancements:
-
On kernels that support it (5.12+), use
mount_setattr()to remount filesystems withro,nodevand/ornosuid. (#756) -
Arguments that expect a path argument (
--bind,--overlay-src, etc.) now reject empty strings. Previously they would sometimes be treated as the root directory due to implementation details, but this was unintended. (#771) -
A new build option
-Ddebug_logging=truecan be used to enable verbose debug logging (not recommended for distro builds). These debug messages don't appear unless environment variableDEBUG_INVOCATIONis set at runtime.
Bug fixes:
-
Fix build failures with older gcc or older
-stdargument (#773, #786) -
Fix build failure with musl (#782)
-
Fix test failure on systems that lack hostname(1) (#775)
-
Fix test failure on systems with a mount point containing a backslash (#778)
-
Fix test failure on systems with older xdg-desktop-portal (#794)
-
Don't leave a temporary file behind after running the test suite (#775)
-
CI improvements
Thanks: abhinavmir, ao2, smcv, vaibhav8a, xxyzz
4734237473c0e5d695e4e9034a34e43b2dbf5164655bd13fa59ae376b2b7a765 *bubblewrap-0.13.0.tar.xz