ephemeral: selinux + composefs

未关闭
#213 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
rust

调研方向

Start by reading the implementation for how bcvk currently mounts the container root filesystem through virtiofs and where it sets selinux=0; the issue does not name specific files or tests. Investigate how to generate a composefs image backed by virtiofs and preserve SELinux labels. Done means the root filesystem uses composefs and SELinux is enabled with correct labeling during ephemeral testing.

由索引模型根据 Issue 内容生成。

描述

Splitting this from #22

In this we'll make the root filesystem use composefs, and re-enable SELinux with proper labeling.

Composefs provides a content-addressed, immutable filesystem layer that's exactly what bootc uses in production. Rather than mounting virtiofs directly as root, the implementation would generate a composefs image from the container's root filesystem, with virtiofs providing the backing object store.

The key advantage of composefs for this use case is SELinux labeling. Each file in the composefs can have its correct SELinux context baked in, rather than everything inheriting virtiofs_t from the virtiofs mount. This should allow dropping selinux=0 and catching SELinux policy issues during ephemeral testing.

主要语言
Rust
星标
142
派生
40
平均合并
2 天 22 小时
30 天内合并 PR
10

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

bootc-dev/bcvk 的其他 Issue

查看 bootc-dev/bcvk 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。