From 6617ed97ca693f525c3b92567ae543ca92a0364a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 28 Apr 2017 11:43:52 +0200 Subject: Update todo: revert to old version on upgrade failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- TODO | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index 676994d..ec55340 100644 --- a/TODO +++ b/TODO @@ -94,6 +94,12 @@ Security features: group of the executable, and the path of the executable, and possibly other attributes. +Stability features: + On failed re-execution, execute back to the old version. + This is done by opening /proc/self/exec before preexecuting + and execute back to that file descriptor on upgrade failure + and close that file descriptor on successful upgrade + Full introspection may be useful for debugging. -- cgit v1.2.3-70-g09d2