tag:github.com,2008:https://github.com/containers/bubblewrap/releasesTags from bubblewrap2024-10-30T16:27:00Ztag:github.com,2008:Repository/51868010/v0.11.02024-10-30T16:30:39Z0.11.0<p>bubblewrap v0.11.0</p>
<p>Dependencies:</p>
<p> * Remove the Autotools build system. Meson ≥ 0.49.0 is now required
<br /> at build-time. (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/625">#625</a>, Hugo Osvaldo Barrera)</p>
<p> * For users of bash-completion, bash-completion ≥ 2.10 is recommended.
<br /> With older bash-completion, bubblewrap might install completions
<br /> outside its `${prefix}` unless overridden with `-Dbash_completion_dir=…`.</p>
<p>Enhancements:</p>
<p> * New `--overlay`, `--tmp-overlay`, `--ro-overlay` and `--overlay-src`
<br /> options allow creation of overlay mounts.
<br /> This feature is not available when bubblewrap is installed setuid.
<br /> (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/issues/412">#412</a>, <a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/663">#663</a>; Ryan Hendrickson, William Manley, Simon McVittie)</p>
<p> * New `--level-prefix` option produces output that can be parsed by
<br /> tools like `logger --prio-prefix` and `systemd-cat --level-prefix=1`
<br /> (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/646">#646</a>, Simon McVittie)</p>
<p>Bug fixes:</p>
<p> * Handle `EINTR` when doing I/O on files or sockets (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/issues/657">#657</a>, Simon McVittie)</p>
<p> * Don't make assumptions about alignment of socket control message data
<br /> (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/issues/637">#637</a>, Simon McVittie)</p>
<p> * Silence some Meson deprecation warnings (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/647">#647</a>, <a class="user-mention notranslate" href="https://github.com/sertonix">@sertonix</a>)</p>
<p> * Update URLs in documentation to https (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/566">#566</a>, <a class="user-mention notranslate" href="https://github.com/TotalCaesar659">@TotalCaesar659</a>)</p>
<p> * Improve tests' compatibility with busybox (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/627">#627</a>, <a class="user-mention notranslate" href="https://github.com/sertonix">@sertonix</a>)</p>
<p> * Improve compatibility with Meson < 1.3.0 (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/664">#664</a>, Simon McVittie)</p>
<p>Internal changes:</p>
<p> * Consistently use `<stdbool.h>` for booleans (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/660">#660</a>, Simon McVittie)</p>
<p> * Avoid `-Wshadow` compiler warnings (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/661">#661</a>, Simon McVittie)</p>
<p> * Update Github Actions configuration (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/658">#658</a>, Simon McVittie)</p>
<p>Git-EVTag-v0-SHA512: e62c03b7b37d117d7b7f51f73ae935bc9d76518837b29c5b84b9680d0e893d2c24581ba73f44b031e5283395af7d1441f1ea281b3ae9b24bd62a0a77b6693e23</p>smcvtag:github.com,2008:Repository/51868010/v0.10.02024-08-14T18:13:58Z0.10.0<p>bubblewrap 0.10.0</p>
<p>New features:</p>
<p>- Add the --[ro-]bind-fd option, which can be used to mount a filesystem
<br /> represented by a file descriptor without time-of-check/time-of-use
<br /> attacks. This is needed when resolving CVE-2024-42472 in Flatpak.</p>
<p>Other changes:</p>
<p>- Fix some confusing syntax in SetupOpFlag (no functional change). (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/636">#636</a>)</p>
<p>Git-EVTag-v0-SHA512: de9d80e633a20683767d96924b456f06776224b733428d70038b3b7b0fc3088a1161c33425704bae76c3e75cca3a03d06e5c2d318258382c5a4c18e17ac99ed8</p>smcvtag:github.com,2008:Repository/51868010/v0.6.32024-08-14T18:14:12Z0.6.3<p>bubblewrap 0.6.3</p>
<p>This release is intended to be used as part of Flatpak 1.14.x.
<br />If possible, please upgrade to 0.10.0 or later instead.</p>
<p>- Backport the --[ro-]bind-fd option from 0.10.0. This can be used to
<br /> mount a filesystem represented by a file descriptor without
<br /> time-of-check/time-of-use attacks, and is needed when resolving
<br /> CVE-2024-42472 in Flatpak.</p>
<p>Git-EVTag-v0-SHA512: a3c17c5d8d939b4e9daf0ba94049f0941e959ccc9f7711c8fb08230a22790c08d902c7846e57c1ceddb51d4afa0a179a6abb611bcd08e68fa006e798cddc8a55</p>smcvtag:github.com,2008:Repository/51868010/v0.9.02024-03-26T21:51:02Z0.9.0<p>bubblewrap 0.9.0</p>
<p>* Building this version of bubblewrap with Meson is recommended. The
<br /> source release bubblewrap-0.9.0.tar.xz no longer contains
<br /> Autotools-generated files, although this version can still be built
<br /> using Autotools after running `./autogen.sh`. Future versions are
<br /> likely to remove the Autotools build system altogether.</p>
<p>* Add `--argv0` (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/issues/91">#91</a>)</p>
<p>* `--symlink` is now idempotent, meaning it succeeds if the
<br /> symlink already exists and already has the desired target (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/issues/549">#549</a>,
<br /> <a class="issue-link js-issue-link" href="https://github.com/flatpak/flatpak/issues/2387">flatpak/flatpak#2387</a>, <a class="issue-link js-issue-link" href="https://github.com/flatpak/flatpak/issues/3477">flatpak/flatpak#3477</a>, <a class="issue-link js-issue-link" href="https://github.com/flatpak/flatpak/issues/5255">flatpak/flatpak#5255</a>)
<br />* Clarify security considerations in documentation (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/issues/555">#555</a>, <a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/560">#560</a>, <a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/621">#621</a>)
<br />* Clarify documentation for `--cap-add` (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/562">#562</a>)
<br />* Report a better error message if `mount(2)` fails with `ENOSPC`
<br /> (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/615">#615</a>, <a class="issue-link js-issue-link" href="https://github.com/ValveSoftware/steam-runtime/issues/637">ValveSoftware/steam-runtime#637</a>)
<br />* Make it easier to add new unit tests (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/issues/420">#420</a>)
<br />* Drop support for ancient Python versions in demo code</p>
<p>* Fix a double-close on error reading from `--args`, `--seccomp` or
<br /> `--add-seccomp-fd` argument (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/558">#558</a>)
<br />* Improve memory allocation behaviour (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/556">#556</a>, <a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/624">#624</a>)
<br />* Silence various compiler warnings (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/559">#559</a>)
<br />* Silence an Automake warning (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/622">#622</a>)
<br />* Fix a test failure when running as uid 0 in a container (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/488">#488</a>)
<br />* Fix a test failure when `/mnt` is a symlink (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/599">#599</a>)
<br />* Fix a test failure on NixOS (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/603">#603</a>)</p>
<p>Git-EVTag-v0-SHA512: 0e327ddf75813b60969d693ebb2fdca24355c988f86d72de666c6a47dfcd168d2fd3135f8cbd477d778faf9770eda0d7f2d3dcc536687be4903a3913fd3399c8</p>smcvtag:github.com,2008:Repository/51868010/v0.8.02023-02-27T13:45:25Z0.8.0<p>bubblewrap v0.8.0</p>
<p>New features:</p>
<p>* Add `--disable-userns` option to prevent the sandbox from creating its own nested user namespace (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/488">#488</a>)
<br />* Add `--assert-userns-disabled` option to check that an existing userns was created with `--disable-userns` (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/488">#488</a>)
<br />* Give a clearer error message if the kernel doesn't have `CONFIG_SECCOMP` and `CONFIG_SECCOMP_FILTER` (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/550">#550</a>)</p>
<p>Bug fixes:</p>
<p>* Fix test failure with recent versions of `capsh` (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/issues/544">#544</a>)
<br />* Fix test failure since 0.7.0 when not using post-2013 GNU coreutils (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/539">#539</a>)
<br />* Fix test failure since 0.7.0 if bubblewrap is setuid (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/539">#539</a>)</p>
<p>Git-EVTag-v0-SHA512: d01204613853596f38f2c4bc732207e47e0917b27786d27524e4d74ff692fcacdf3fc0043d2428e53003fb539c106c70de8d1ec9ed1c2999a2f9342038f91daa</p>smcvtag:github.com,2008:Repository/51868010/v0.7.02022-11-07T18:10:40Zv0.7.0<p>bubblewrap 0.7.0</p>
<p>New features:</p>
<p>* `--size` option controls the size of a subsequent `--tmpfs` (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/509">#509</a>)
<br />* Better error messages if a mount operation fails (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/472">#472</a>)
<br />* Better error message if creating the new user namespace fails with
<br /> `ENOSPC` (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/487">#487</a>)
<br />* When building as a Meson subproject, a `RUNPATH` can be set on the
<br /> executable to make it easier to bundle its `libcap` dependency</p>
<p>Bug fixes:</p>
<p>* When building with Autotools, ensure initial setup for `pkg-config`
<br /> is not disabled by `--with-bash-completion-dir=PATH` (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/316">#316</a>, <a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/342">#342</a>, <a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/441">#441</a>)
<br />* Fix test failures when running as uid 0 but with limited capabilities
<br /> (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/510">#510</a>)
<br />* Use POSIX `command -v` in preference to non-standard `which` (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/527">#527</a>)
<br />* Fix a copy/paste error in `--help` (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/issues/531">#531</a>)</p>
<p>Git-EVTag-v0-SHA512: f4f6e2a92493461c2c39bacc1c3003167162113c88d2142f2041dcb830f3bd3a7df541aad361d1e6ce99576d66bd7eac1065340406e294cd4769b9c4c81c2a2c</p>smcvtag:github.com,2008:Repository/51868010/v0.6.22022-05-11T14:27:52Z0.6.2<p>bubblewrap v0.6.2</p>
<p>New features in Meson build:</p>
<p>* Auto-detect whether the man page can be generated
<br />* `-Dbwrapdir=...` changes the installation directory (useful when being
<br /> used as a subproject)
<br />* `-Dtests=false` disables unit tests</p>
<p>Bug fixes:</p>
<p>* Add `--add-seccomp-fd` to shell completions
<br />* Document `--add-seccomp-fd`, `--json-status-fd` and `--share-net`
<br /> in the man page
<br />* Add attributes to silence various compiler warnings
<br />* Allow compilation of tests with musl on mips architectures
<br />* Allow compilation with older glibc
<br />* Disable sanitizers for a test helper whose seccomp profile breaks
<br /> the instrumentation
<br />* Disable AddressSanitizer leak detection where it interferes with
<br /> unit testing</p>
<p>Git-EVTag-v0-SHA512: c39a93493bbb32c6e0521c62cf8f1683ad7ea71b2c11888ad40ed108b647e65b732177ec28809510e9e5253e09926ff444aada42ed6fe2ffea43608c23f43a44</p>smcvtag:github.com,2008:Repository/51868010/v0.6.12022-02-25T17:53:28Z0.6.1<p>bubblewrap v0.6.1</p>
<p>* Fix `bwrap --version` when built with Meson (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/477">#477</a>)
<br />* Don't install zsh completion as executable when built with Meson</p>
<p>Git-EVTag-v0-SHA512: d70aa47bb1ebfd37dcbf63551f10f824582b7fcd5931f4568c247df5bc2707ca1ea32e6d57dbbd4d0ac08f8c78cfecdced0b24de7339af59d42933cfa7b56b02</p>smcvtag:github.com,2008:Repository/51868010/v0.6.02022-02-24T14:58:30Z0.6.0<p>bubblewrap 0.6.0</p>
<p>New features:</p>
<p>* New `--add-seccomp` option can be used to add more than one seccomp
<br /> program (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/issues/453">#453</a>)
<br />* Add a warning when repeating options where only the last one will be
<br /> used, in particular `--seccomp` (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/issues/454">#454</a>)
<br />* Add a Meson build system. (<a class="issue-link js-issue-link" href="https://github.com/containers/bubblewrap/pull/432">#432</a>)
<br /> * This can be used as a subproject by larger Meson projects. When
<br /> used as a subproject, the `-Dprogram_prefix` option is required:
<br /> see `tests/use-as-subproject/` for an example.
<br /> * There is no equivalent of the `--with-priv-mode=setuid` option
<br /> in this build system. Distributions that still require a setuid
<br /> bubblewrap executable will need to `chown` and `chmod` the executable
<br /> appropriately as a separate step in their packaging.
<br /> * The Autotools build system is still supported in this release,
<br /> but might be removed in a future release if the Meson build system
<br /> is sufficiently successful.</p>
<p>Bug fixes:</p>
<p>* Invoke bash via `PATH` for better compatibility with non-FHS operating
<br /> systems
<br />* Exit early when `argc == 0`, to harden against the equivalent of
<br /> <a title="CVE-2021-4034" href="https://github.com/advisories/GHSA-qgr2-xgqv-24x8">CVE-2021-4034</a> (this is not a security issue in our case)</p>
<p>Other changes:</p>
<p>* The default branch is now named `main`
<br />* Partial REUSE support (add SPDX-License-Identifier to many source files)
<br />* Remove old CI integration</p>
<p>Git-EVTag-v0-SHA512: f07c0e1b6950c698683a802077ad954bdb6a94c62c01971a5eb5b7660376ff880c79f1b65c6eab7cf176933126572cc65ac8bb095b61141c44be16a6c44209fc</p>smcvtag:github.com,2008:Repository/51868010/v0.5.02021-08-20T15:27:28ZRelease 0.5.0<p>Release v0.5.0</p>
<p>New features:</p>
<p>* `--chmod` changes permissions
<br />* `--clearenv` unsets every environment variable (except `PWD`)
<br />* `--perms` sets permissions for one subsequent `--bind-data`, `--dir`,
<br /> `--file`, `--ro-bind-data` or `--tmpfs`</p>
<p>Other enhancements:</p>
<p>* Better diagnostics when a `--bind` or other bind-mount fails
<br />* `zsh` tab-completion
<br />* Better test coverage</p>
<p>Bug fixes:</p>
<p>* Use Python 3 for tests and examples
<br />* Mount points for non-directories are created with permissions
<br /> `-r--r--r--` instead of `-rw-rw-rw-`
<br />* Don't remount items in `/proc` read-only if already `EROFS`, required
<br /> to run under Docker
<br />* Allow mounting an non-directory over an existing non-directory,
<br /> e.g. `--bind "$XDG_RUNTIME_DIR/my-log-socket" /dev/log`
<br />* Silence kernel messages for our bind-mounts
<br />* Make sure `pkg-config` is checked for, regardless of build options
<br />* Improve ability to bind-mount directories on case-insensitive filesystems
<br />* Fix `-Wshadow` warnings
<br />* Fix deprecation warnings with newer SELinux</p>
<p>Git-EVTag-v0-SHA512: b91b729ca27e1ccd86bcdefbc84c25cbecaf49e84f34d2d04c884c0bfbd6c96f56cf57bed0a3127f5ec12f6ab5b4032fb56ace276f66d95bb04f4ca5742e4315</p>smcv