[ComposeFS Backend] Bootc container lint fails with previously-working build, even though the container builds fine
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- linux, rust
- Lĩnh vực
- devops, infrastructure
Hướng nghiên cứu
The failure comes from the runtime-deps container lint check, which resolves usr/local/sbin/chcon and reports that the path leads outside the filesystem. Start by finding the lint check and its path-resolution code in the bootc crate, then reproduce with a container whose /usr/local is a symlink to /var/usrlocal. Done when the lint passes on such an image without treating the missing chcon as a failure.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Tested on: bootc 1.17.1 (latest as of right now) and bootc 1.16.10 (last before SELinux was made a required dependency)
Building with bootc 1.16.10 and running container lint on the result will result in the following
> sudo podman run --rm -it --entrypoint=bootc 9acb7d50041f container lint
Checks passed: 13
Checks skipped: 1
But on 1.17.1:
> sudo podman run --rm -it --entrypoint=bootc localhost/amethyris:latest container lint
error: Linting: Unexpected runtime error running lint runtime-deps: checking whether usr/local/sbin/chcon exists: a path led outside of the filesystem
Both images have podman version 6.1.3
Due to the fact that the referenced binary is chcon I suspect this issue relates to SELinux, however I do not know for certain. My images do not have chcon on them. I suspect the issue is that the binary is not found in /usr/bin, lint then checks /usr/local/bin, but /usr/local is a symlink to /var/usrlocal which is not populated at this time.
- Ngôn ngữ chính
- Rust
- Star
- 2.3k
- Fork
- 230
- Merge trung bình
- 2 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 53
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của bootc-dev/bootc
-
auto-updates fail with `opendir(boot): Operation not permitted` when /boot is a systemd automount that has idled outCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởtriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
bootc-dev/bootc#2402 · 9 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
install: improve error message when systemd-boot is selected without composefs backendCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
more downstream tmt test failureĐang mở
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 45/100
bootc-dev/bootc#2562 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
downstream tmt test failureCó thể đã có người làm @ckyrouac đã nhận 4 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 20/100
bootc-dev/bootc#2559 · 13 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của bootc-dev/bootc
Issue tương tự
-
Add MimirĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
slavakurilyak/awesome-ai-agents#759 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
compiler-explorer/compiler-explorer#9272 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Trash, bin or rubbish?Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 63/100
pop-os/cosmic-files#2117 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
L: java:gradle L: java:maven L: ruby:bundler T: bug 🐞
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
dependabot/dependabot-core#16547 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug status:ready-for-test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
UniClipboard/UniClipboard#1985 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày