bwrap-rs: an independent, byte-compatible Rust reimplementation of bubblewrap 0.13.1
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 35/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- linux, rust
調査の方向性
Read the repository README and the linked bwrap-rs project to assess whether a mention in the “Related project comparison” section fits. The issue asks for feedback and a possible README entry; done means maintainers decide whether to add the mention and, if accepted, update that section.
索引モデルが issue の本文から書いたものです。
説明
Hi, and thanks for bubblewrap.
I've written bwrap-rs, an independent reimplementation of bubblewrap 0.13.1
in Rust. It's not a fork and it doesn't vendor any of your code; all design
credit is yours. The goal is a byte-exact, drop-in bwrap: the same
command-line surface, the same behaviour, the same output and exit codes.
Repo: https://github.com/bramheerink/bwrap-rs (LGPL-2.0-or-later, same as bwrap)
How compatibility is checked
I run your test suite, unmodified, against the Rust binary (BWRAP= pointed at
it):
tests/test-run.sh— 67/67 passtests/test-sandbox.py— 69/69 pass
On top of that there's a behavioural matrix that A/Bs every documented option
against the real /usr/bin/bwrap 0.13.1 and requires byte-identical exit code,
stdout and stderr, plus a QEMU e2e for the real-root (uid 0) privilege path that
unprivileged-userns environments can't reach.
Safety architecture
#![forbid(unsafe_code)] in the logic crates; all unsafe is confined to one
small syscall crate. The dependency surface is std + nix. I mention this as a
design fact, not a claim about bubblewrap — your C is the audited reference, and
bwrap-rs is only as trustworthy as that comparison makes it.
Where it deliberately differs
A short, honest list of the handful of intentional deviations (mostly failing
more strictly than C on malformed input) is here:
https://github.com/bramheerink/bwrap-rs/blob/main/DIFFERENCES.md
What I'm (and am not) asking
I'm not asking you to adopt, endorse or maintain it — just sharing it in case
it's useful to the ecosystem. Two small things if you're open to them:
- Would a mention in the "Related project comparison" section of the README be
welcome? - Any feedback on the compatibility approach or anything I've gotten wrong is
very welcome — I'll treat divergences from 0.13.1 as bugs.
Thanks again for the project.
- 主要言語
- C
- スター
- 9.6k
- フォーク
- 418
- 平均マージ
- 4日 8時間
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
containers/bubblewrap のほかの issue
-
Mount point creation fails on NFS with EROFS対応中かも @sarankumar1325 が 15 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
containers/bubblewrap#827 ·
メンテナーはふだん 1 日以内に返信
-
--userns-block-fd can hang when given a closed descriptor対応中かも @sarankumar1325 が 15 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
containers/bubblewrap#826 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
README: writable --bind paths are not isolated from hardlinks created outside the sandbox対応中かも @sairex53 が 45 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
containers/bubblewrap#813 · コメント 3 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bubblewrap manpage is desynced from source code対応中かも @huong8373tt-beep が 25 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
containers/bubblewrap#767 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Related project comparisons in README.md are outdated再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
containers/bubblewrap#743 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
containers/bubblewrap の issue をすべて見る
似ている issue
-
bug severity: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AlessandroSangiuliano/Uros#1014 ·
-
severity: low
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
luainkernel/lunatik#2727 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 6 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bot-triaged module: cuda module: memory usage module: pybind module: tensor creation triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pytorch/pytorch#206707 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信