Bootc status without sysroot lock
- Vorherrschende Sprache
- Rust
- Sterne
- 2.3k
- Forks
- 230
- Ø Merge
- 3 T. 3 Std.
- Gemergte PRs (30 T.)
- 36
Beschreibung
When an automated upgrade is happening in the background, you are unable to query `bootc status` to see information about the current deployment (or to see the upgrade is in progress), since status requires a sysroot lock. I would expect such read-only commands (I can only think of status for now) to not require a system lock, and display the regular output regardless of whether another process is happening.
This could cause some confusion when you're blocked from seeing information about your system due to a command that's invoked without the user saying to do so.
If there's some context I am missing or a technical limitation, I'm more than happy for you to say "this is expected" and close this.
Beitragsleitfaden
Rechercherichtung
Beginnen Sie damit, den Befehl `bootc status` und die Stelle zu finden, an der er die sysroot-Sperre erwirbt, und sehen Sie sich anschließend alle vorhandenen Status- oder Sperrtests an. Die Aufgabe ist abgeschlossen, wenn die schreibgeschützte Statusausgabe weiterhin verfügbar ist, während ein automatisiertes Upgrade die Sperre hält, und es eine Regressionstestabdeckung für diese Situation gibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- cli, operating-systems
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100