GNU bug report logs - #76037
[shepherd] regression: throw to key `assertion-failed' in init.scm

Previous Next

Package: guix;

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

Date: Tue, 4 Feb 2025 02:00:02 UTC

Severity: normal

Tags: notabug

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 76037-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 76037-done <at> debbugs.gnu.org
Subject: Re: bug#76037: [shepherd] regression: throw to key
 `assertion-failed' in init.scm
Date: Thu, 06 Feb 2025 11:59:53 +0900
Hi,

Ludovic Courtèss <ludo <at> gnu.org> writes:

> Hi Maxim,
>
> Maxim Cournoyer <maxim.cournoyer <at> gmail.com> skribis:
>
>> ~/src/shepherd$ /gnu/store/5hcznfjzxvjbwixr5fkgpfd2w2zi4fxl-shepherd-1.0.99-git/bin/shepherd
>> GNU Shepherd 1.0.1 (Guile 3.0.9, x86_64-unknown-linux-gnu)
>> Starting service root...
>> Service root started.
>> Service root running with value #<<process> id: 2771 command: #f>.
>> Service root démarré.
>> shepherd/service.scm:236: Assertion (procedure? proc) failed.
>> While loading configuration file
>> '/home/maxim/.config/shepherd/init.scm': "Throw to key
>> `assertion-failed' with args `()'."
>
> [...]
>
>> ;; Send shepherd into the background.
>> (action 'shepherd 'daemonize)
>
> This is because you should be writing this instead (info "(shepherd)
> Managing User Services"):
>
>   (perform-service-action root-service 'daemonize)
>
> This is because `action', which was deprecated in 0.10, now has a
> different meaning (info "(shepherd) Defining Services").

OK, I had missed the deprecation (I rarely ever peek into my
~/.local/state/shepherd/shepherd.log).

It works fine now, thank you!  Closing.

-- 
Thanks,
Maxim




This bug report was last modified 103 days ago.

Previous Next


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