Logs for `Cannot open credentials directory "/etc/apt/auth.conf.d"` when not using Pro archives
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Riproduci l'output con il comando documentato chisel cut --release ubuntu-24.04 --root /root-fs base-files_base e analizza il percorso di individuazione delle credenziali degli archivi Pro. Il lavoro è completato quando i log spiegano chiaramente che i controlli delle credenziali riguardano archivi Pro opzionali e che il comportamento previsto quando tali credenziali sono assenti è documentato o gestito esplicitamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Minor UX issue.
I wasn't sure what the logs were about at first until noticing the relation to the Pro archives feature. The logs could better communicate that context.
Installing chisel into an alpine image:
docker run --rm -it alpine
export \
TARGETARCH=amd64 \
CHISEL_VERSION=1.1.0 \
CHISEL_RELEASE="https://github.com/canonical/chisel/releases/download/v${CHISEL_VERSION}/chisel_v${CHISEL_VERSION}_linux_${TARGETARCH}.tar.gz"
# Install chisel:
wget -qO - "${CHISEL_RELEASE}" | tar -xz --no-same-owner -C /usr/local/bin chisel
Install a slice:
$ mkdir /root-fs
$ chisel cut --release ubuntu-24.04 --root /root-fs base-files_base
2025/03/13 02:33:06 Consulting release repository...
2025/03/13 02:33:06 Fetching current ubuntu-24.04 release...
2025/03/13 02:33:06 Processing ubuntu-24.04 release...
2025/03/13 02:33:22 Selecting slices...
2025/03/13 02:33:22 Cannot open credentials directory "/etc/apt/auth.conf.d": open /etc/apt/auth.conf.d: no such file or directory
2025/03/13 02:33:22 Archive "ubuntu-esm-apps" ignored: credentials not found
2025/03/13 02:33:22 Cannot open credentials directory "/etc/apt/auth.conf.d": open /etc/apt/auth.conf.d: no such file or directory
2025/03/13 02:33:22 Archive "ubuntu-esm-infra" ignored: credentials not found
2025/03/13 02:33:22 Fetching ubuntu 24.04 noble suite details...
2025/03/13 02:33:23 Release date: Thu, 25 Apr 2024 15:10:33 UTC
2025/03/13 02:33:23 Fetching index for ubuntu 24.04 noble main component...
2025/03/13 02:33:24 Fetching index for ubuntu 24.04 noble universe component...
2025/03/13 02:33:26 Fetching ubuntu 24.04 noble-security suite details...
2025/03/13 02:33:27 Release date: Wed, 12 Mar 2025 23:28:15 UTC
2025/03/13 02:33:27 Fetching index for ubuntu 24.04 noble-security main component...
2025/03/13 02:33:27 Fetching index for ubuntu 24.04 noble-security universe component...
2025/03/13 02:33:27 Fetching ubuntu 24.04 noble-updates suite details...
2025/03/13 02:33:27 Release date: Thu, 13 Mar 2025 1:23:23 UTC
2025/03/13 02:33:27 Fetching index for ubuntu 24.04 noble-updates main component...
2025/03/13 02:33:28 Fetching index for ubuntu 24.04 noble-updates universe component...
2025/03/13 02:33:28 Fetching pool/main/b/base-files/base-files_13ubuntu10.2_amd64.deb...
2025/03/13 02:33:28 Extracting files from package "base-files"...
Should this be a concern that chisel assumes it runs within an environment that has apt installed? (EDIT: I'm guessing from below chisel only cares about discovering the configs to use itself, hence the ENV configurable)
Cannot open credentials directory "/etc/apt/auth.conf.d": open /etc/apt/auth.conf.d: no such file or directory
This was not part of the earlier 0.10.0 chisel release. Given the other logs associated to it I assume this is the 1.1.0 release introduction of Pro archives?:
I see the path is configurable but as I'm not trying to use the Pro archives is there no way to communicate an opt-out?
- Lingua principale
- Go
- Stelle
- 434
- Fork
- 74
- Merge medio
- 1g 30m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
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 canonical/chisel
-
`mode` of a generated directory is random when it has a generated childForse già presa @Amadeus-22 l’ha presa 24 giorni fa. ApertaBug
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
-
cut fails on uncompressed debForse già presa @yuminn-k l’ha presa 29 giorni fa. ApertaBug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 42/100
-
`prefer` drops a path when the preferred package lists it `until: mutate`Forse già presa @18Abhinav07 l’ha presa 8 giorni fa. ApertaBug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
Tutte le issue di canonical/chisel
Issue simili
-
mcpx scan: flag unsafe tool namesForse già presa @zeyadbadawyy l’ha presa oggi. Apertaarea/scan enhancement good first issue priority/medium size/small
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
rohitgollarahalli/mcpx#45 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Mend: dependency security vulnerability
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Windows 主机
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Lee-xeo/Claude-Cage#1550 ·
I maintainer di solito rispondono entro 1 giorno
-
(bug) ui: spanPaint can index spans past their end (panic: index out of range)Forse già presa @MaxMiksa l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
I maintainer di solito rispondono entro 1 giorno