Subject: bug#77365: no error handling on activation scripts

From: Hilton Chain <[email-masked]>
Date: Tue, 01 Apr 2025 00:45:52 +0800

Hi Maxim,

On Sat, 29 Mar 2025 22:45:22 +0800,
Maxim Cournoyer wrote:
>
> 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.

This issue is reported in bug#76698, a solution is proposed there but I haven't
worked on it yet.

Thanks