Handle `qemu:///system` with podman rootless
Maintainer antworten meist innerhalb von 2 Tagen
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- rust
Rechercherichtung
Start by reading the code that creates the disk image in ephemeral and mounts the source container, then trace how it selects and writes to the libvirt storage pool. The issue suggests checking direct write access and falling back to a temporary disk uploaded over the socket; compare both paths for qemu:///system with rootless Podman. Done means persistent VM disk creation works in this setup.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
For many Linux devs operating on a desktop with podman, "rootless" is the default, and here one's container images live in ~/.local/share/containers/storage.
This all basically works fine with libvirt qemu:///session which is effectively the same, disk images are stored in the homedir.
But I want to support creating persistent "pet system" virtual machines with qemu:///system. Libvirt is a daemon, and everything goes over a socket.
There is support for uploading disks over that socket, e.g. virsh vol-upload.
But the problem here is we're bootstrapping generating the disk image in ephemeral by running a pod which mounts the source container (using the source container).
Now, there's a clear easy fix here which is to switch to creating a temporary disk in e.g. /var/tmp which we always upload over the socket - though that forces a full copy. I guess we can check if we have direct write access to the pool, and if not then we fall back.
- Vorherrschende Sprache
- Rust
- Sterne
- 142
- Forks
- 40
- Ø Merge
- 2 T. 22 Std.
- Gemergte PRs (30 T.)
- 10
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus bootc-dev/bcvk
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 45/100
bootc-dev/bcvk#416 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 50/100
Maintainer antworten meist innerhalb von 2 Tagen
-
extend host testingOffen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 43/100
Maintainer antworten meist innerhalb von 2 Tagen
-
Add `to-containerdisk`Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
bootc-dev/bcvk#386 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 2 Tagen
Ähnliche Issues
-
marketing
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 74/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
aws/aws-emulator#610 ·
-
Wire ISO post: has() accepts text values such as an empty string, true or 0x1A for wire numbersOffenarea:post effort:low enhancement P7 source:agent
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
llm translation
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag