aktin / aktin/debian-updateagent-pkg

ensure non-blocking execution

Aperta
#21 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Shell
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The current scripts and architecture is coded around certain assumptions of the system. It is possible, that some scripts could unexpectedly return a error code that would exit the entire script, even cleanup afterwards resulting in a messy filesystem. We should consider ways to ensure important steps like cleanup are still possible, even on a failing command.

For that we need to consider
- what are the most important general steps to always perform no matter the execution state (like cleanup step)
- how to implement handlers, catching and logging failures, without terminating
- which commands could lead to those errors (see curl fetching a 404 error page or grep not finding the directory and so on)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.