bootc-dev / bootc-dev/bootc

Provide warning when switching between distributions

Aperta
#610 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area/client area/updates enhancement
Lingua principale
Rust
Stelle
2.3k
Fork
230
Merge medio
3g 3h
PR unite (30g)
36

Descrizione

Bootc is available on RHEL, CentOS and Fedora, and I recently accidentally `bootc switch`ed a server from Fedora to CentOS resulting in a broken system (emergency mode in AWS so couldn't change in the grub menu [1]), it would be good if somehow Bootc could detect when you're switching from one distribution to another and provide an appropriate warning.

This was completely my fault, and this operation isn't something I would expect bootc to work with, however a warning or error would help prevent others from making this same mistake.

[1] It's highly likely you can switch to the older grub boot entry from emergency mode, but it's not obvious how to do so (not Bootc's problem though), and the serial console is only available on the more expensive instance types

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia dal comando bootc switch e segui come vengono identificate la distribuzione corrente e quella di destinazione. L'issue non indica file o test, quindi esamina prima il punto di ingresso del comando e la validazione switch esistente. Il lavoro è completato quando il passaggio da una distribuzione all'altra produce un avviso o un errore appropriato che aiuta a prevenire un sistema non funzionante.

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

Valutazione

Stack tecnologico
rust
Ambito
cli, operating-systems
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.