GNU bug report logs - #77365
no error handling on activation scripts

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Sat, 29 Mar 2025 14:47:02 UTC

Severity: normal

Merged with 76698

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: no error handling on activation scripts
Date: Sat, 29 Mar 2025 23:45:22 +0900
Hi,

Currently, every activation gexp added to the activation-service-type
ends up in a script loaded via primitive-load of the main activation
script, which is in turn loaded by the boot script entry point.

This means that raising an exception in the activation scripts may abort
the boot script and thus the boot itself.

It would probably be nicer and more useful to handle and report the
errors, while attempting to continue booting.

-- 
Thanks,
Maxim




This bug report was last modified 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.