GNU bug report logs - #68591
Error when using shepherd on foreign distro

Previous Next

Package: guix;

Reported by: Einar Largenius <jaadu <at> lysator.liu.se>

Date: Fri, 19 Jan 2024 20:35:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 68591 in the body.
You can then email your comments to 68591 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#68591; Package guix. (Fri, 19 Jan 2024 20:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Einar Largenius <jaadu <at> lysator.liu.se>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 19 Jan 2024 20:35:02 GMT) Full text and rfc822 format available.

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

From: Einar Largenius <jaadu <at> lysator.liu.se>
To: bug-guix <at> gnu.org
Subject: Error when using shepherd on foreign distro
Date: Fri, 19 Jan 2024 21:12:18 +0100
Hi,

I am setting up shepherd for use by my user account on a foreign distro. I setup as described in the manual in the section "(shepherd) Managing User Services". When I try to run it using shepherd, it crashes on the line:

     ;; Send shepherd into the background
     (perform-service-action 'shepherd 'daemonize)

with the error:

    Uncaught exception while loading configuration file '/home/jaadu/.config/shepherd/init.scm': (goops-error #f "No applicable method for ~S in call ~S" (#<<generic> service-actions (1)> (service-actions shepherd)) ())

Removing said line resolves the issue.

-- 
Med vänliga hälsningar Einar




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Wed, 20 Mar 2024 18:33:02 GMT) Full text and rfc822 format available.

Notification sent to Einar Largenius <jaadu <at> lysator.liu.se>:
bug acknowledged by developer. (Wed, 20 Mar 2024 18:33:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Einar Largenius <jaadu <at> lysator.liu.se>
Cc: 68591-done <at> debbugs.gnu.org
Subject: Re: bug#68591: Error when using shepherd on foreign distro
Date: Wed, 20 Mar 2024 19:14:06 +0100
Hi Einar,

Einar Largenius <jaadu <at> lysator.liu.se> skribis:

> I am setting up shepherd for use by my user account on a foreign distro. I setup as described in the manual in the section "(shepherd) Managing User Services". When I try to run it using shepherd, it crashes on the line:
>
>      ;; Send shepherd into the background
>      (perform-service-action 'shepherd 'daemonize)
>
> with the error:
>
>     Uncaught exception while loading configuration file '/home/jaadu/.config/shepherd/init.scm': (goops-error #f "No applicable method for ~S in call ~S" (#<<generic> service-actions (1)> (service-actions shepherd)) ())

This was a bug in the documentation, now fixed in Shepherd commit
0fbba586cd1eafa28c827641f093cc9f3cdc1d00.

Instead of the line above, you should write:

  (perform-service-action root-service 'daemonize)

Thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 18 Apr 2024 11:28:02 GMT) Full text and rfc822 format available.

This bug report was last modified 99 days ago.

Previous Next


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