aktin / aktin/debian-updateagent-pkg

ensure non-blocking execution

Offen
#21 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Shell
Sterne
0
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.