ephemeral: selinux + composefs

Đang mở
#213 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
rust

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
142
Fork
40
Merge trung bình
2 ngày 22 giờ
Pull request đã merge (30 ngày)
10

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của bootc-dev/bcvk

Tất cả issue của bootc-dev/bcvk

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.