[ComposeFS Backend] Bootc container lint fails with previously-working build, even though the container builds fine
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- linux, rust
- Ambito
- devops, infrastructure
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 2.3k
- Fork
- 230
- Merge medio
- 2g 20h
- PR unite (30g)
- 52
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bootc-dev/bootc
-
auto-updates fail with `opendir(boot): Operation not permitted` when /boot is a systemd automount that has idled outForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertatriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
bootc-dev/bootc#2402 · 9 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
install: improve error message when systemd-boot is selected without composefs backendForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 45/100
bootc-dev/bootc#2562 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di bootc-dev/bootc
Issue simili
-
ai_p1 comp-message-queues
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ClickHouse/ClickHouse#125890 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
storytold/photocraft#5710 ·
I maintainer di solito rispondono entro 1 giorno
-
Two tests fail on a Windows checkout: a CRLF parse in feature_walk_tests, an 8.3 TEMP path in libraries_testsForse già presa @CamWight l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
bherbruck/solvecraft#1186 · 1 commento ·
-
area: screenshot audit bug good first issue priority: P3 security severity: info type: correctness
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
pierruno-labs/prowl#31 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
limitlessprojects/Go-Hybrid#50 ·
I maintainer di solito rispondono entro 1 giorno