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


View this message in rfc822 format

From: Hilton Chain <hako <at> ultrarare.space>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 77365 <at> debbugs.gnu.org
Subject: bug#77365: no error handling on activation scripts
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




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.