dnf update in my toolbx container broke CA certificates (update-ca-trust)

Aperta
#1,853 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go, linux
Ambito
cli, devops

Direzione di ricerca

The report gives a Fedora 45 toolbox container reproduction but names no project files or tests. Start by checking how toolbox configures containers and CA trust during dnf update, then reproduce the steps and inspect the debug output. Done means the CA bundle remains populated after the update and update-ca-trust rebuild.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

1. Bug

Describe the bug
A clear and concise description of what the bug is. If possible, re-run the command(s) with --log-level debug and put the output here.

Steps how to reproduce the behaviour

  1. Run sudo dnf update in a Fedora 45 toolbox container.
  2. See that /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem is an empty file.
  3. Try to rebuild it using sudo update-ca-trust.
  4. See that /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem is still empty.

Expected behaviour
/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem should not be empty.

Actual behaviour
/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem is empty.

Output of toolbox --version (v0.0.90+)
toolbox version 0.3

Toolbx package info (rpm -q toolbox)
toolbox-0.3-7.fc45.x86_64

Output of podman version

Client:        Podman Engine
Version:       6.2.0-rc1
API Version:   6.2.0-rc1
Go Version:    go1.27.1-X:nodwarf5
Git Commit:    a0cd0c1748448f9ec2863a4f3108442491800c17
Built:         Mon Oct 26 01:00:00 2026
Build Origin:  Fedora Project
OS/Arch:       linux/amd64

Podman package info (rpm -q podman)
podman-6.2.0~rc1-1.fc45.x86_64

Info about your OS
Fedora Silverblue 345

Additional context
I tried to update my toolbox container following the emudhra CA issue.
Related to #1661

Lingua principale
Go
Stelle
3.5k
Fork
265
Merge medio
1g 22h
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di containers/toolbox

Tutte le issue di containers/toolbox

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.