GNU bug report logs -
#76037
[shepherd] regression: throw to key `assertion-failed' in init.scm
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76037 in the body.
You can then email your comments to 76037 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#76037
; Package
guix
.
(Tue, 04 Feb 2025 02:00:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Tue, 04 Feb 2025 02:00:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
In the latest Shepherd as packaged in Guix, as well as when building it
from commit 63075c9, starting shepherd my home services (which I still
manually roll, not via 'guix home'):
--8<---------------cut here---------------start------------->8---
~/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 `()'."
shepherd: error: "/home/maxim/.config/shepherd/init.scm": exception thrown while loading configuration file
--8<---------------cut here---------------end--------------->8---
And none of the services I have defined in my init are run (file
attached):
$ shepherd status
--8<---------------cut here---------------start------------->8---
$ herd status
Démarrés :
+ root
Arrêtés :
- emacs
- gpg-agent
- ibus-daemon
- jackd
- workrave
--8<---------------cut here---------------end--------------->8---
The services can be manually started, in the meantime, with 'herd start
emacs', etc.
[init.scm (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]
--
Thanks,
Maxim
Information forwarded
to
bug-guix <at> gnu.org
:
bug#76037
; Package
guix
.
(Wed, 05 Feb 2025 10:13:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 76037 <at> debbugs.gnu.org (full text, mbox):
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").
HTH!
Ludo’.
Added tag(s) notabug.
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 05 Feb 2025 14:51:01 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
76037 <at> debbugs.gnu.org and Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 05 Feb 2025 14:51:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#76037
; Package
guix
.
(Thu, 06 Feb 2025 03:01:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 76037-done <at> debbugs.gnu.org (full text, mbox):
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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 06 Mar 2025 12:24:11 GMT)
Full text and
rfc822 format available.
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.