GNU bug report logs - #52899
guix home configure with herd reconfigure bug

Previous Next

Package: guix;

Reported by: Florian Hoertlehner <hoertlehner <at> gmail.com>

Date: Thu, 30 Dec 2021 16:58:02 UTC

Severity: normal

Tags: moreinfo

Done: Andrew Tropin <andrew <at> trop.in>

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 52899 in the body.
You can then email your comments to 52899 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#52899; Package guix. (Thu, 30 Dec 2021 16:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Florian Hoertlehner <hoertlehner <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 30 Dec 2021 16:58:02 GMT) Full text and rfc822 format available.

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

From: Florian Hoertlehner <hoertlehner <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: guix home configure with herd reconfigure bug
Date: Thu, 30 Dec 2021 17:56:56 +0100
[Message part 1 (text/plain, inline)]
I have a guix home configuration with herd services (mcron jobs).
When I run guix home reconfigure, and the user herd daemon is
running, then I get the following errors:

herd: exception caught while executing 'load' on service 'root':
In procedure fport_write: Broken pipe

When I run the SAME reconfigure command, but BEFORE running
it executing herd stop root. THEN I do not get this error, and the services
do appear correctly.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#52899; Package guix. (Mon, 24 Jan 2022 14:25:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Florian Hoertlehner <hoertlehner <at> gmail.com>
Cc: 52899 <at> debbugs.gnu.org
Subject: Re: bug#52899: guix home configure with herd reconfigure bug
Date: Mon, 24 Jan 2022 15:24:45 +0100
Hi,

Florian Hoertlehner <hoertlehner <at> gmail.com> skribis:

> I have a guix home configuration with herd services (mcron jobs).
> When I run guix home reconfigure, and the user herd daemon is
> running, then I get the following errors:
>
> herd: exception caught while executing 'load' on service 'root':
> In procedure fport_write: Broken pipe
>
> When I run the SAME reconfigure command, but BEFORE running
> it executing herd stop root. THEN I do not get this error, and the services
> do appear correctly.

Can you still reproduce it?  If so, could you share (1) all the output
of ‘guix home reconfigure’, in particular what showed up before
“exception caught”, and (2) the relevant part of your Home config?

Thanks in advance,
Ludo’.




Added tag(s) moreinfo. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 30 Jan 2022 17:04:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#52899; Package guix. (Tue, 26 Apr 2022 16:42:01 GMT) Full text and rfc822 format available.

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

From: Bastien Rivière <me <at> babariviere.com>
To: 52899 <at> debbugs.gnu.org
Subject: More info on guix home reconfigure behaviour
Date: Tue, 26 Apr 2022 18:29:37 +0200
[Message part 1 (text/plain, inline)]
Hello,

Here is what I got on my end when running guix home:

> Loading /gnu/store/p74aw384nqzlw73ccr0167lyj8vlj3mr-shepherd.conf.
> herd: exception caught while executing 'load' on service 'root':
> In procedure fport_write: Broken pipe

I have same output when running ~herd load root~.

> > herd load root /gnu/store/p74aw384nqzlw73ccr0167lyj8vlj3mr-shepherd.conf
> Loading /gnu/store/p74aw384nqzlw73ccr0167lyj8vlj3mr-shepherd.conf.
> herd: exception caught while executing 'load' on service 'root':
> In procedure fport_write: Broken pipe

And the content of sheperd.conf is:

> (begin (use-modules (srfi srfi-34) (system repl error-handling)) (apply register-services (map (lambda (file) (load file)) (quote ("/gnu/store/amvwc8ljsw4v6035q5hi9wlrj5kdi8qv-shepherd-emacs-server.scm")))) (action (quote root) (quote daemonize)) (format #t "Starting services...~%") (let ((services-to-start (quote (emacs-server)))) (if (defined? (quote start-in-the-background)) (start-in-the-background services-to-start) (for-each start services-to-start)) (redirect-port (open-input-file "/dev/null") (current-input-port))))

Watching the log of shepherd, I have only this line:

> 2022-04-26 18:27:48 Loading /gnu/store/p74aw384nqzlw73ccr0167lyj8vlj3mr-shepherd.conf.

Tell me what I can do to help you debug this.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#52899; Package guix. (Mon, 23 May 2022 13:19:02 GMT) Full text and rfc822 format available.

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

From: Andrew Tropin <andrew <at> trop.in>
To: Bastien Rivière <me <at> babariviere.com>,
 52899 <at> debbugs.gnu.org
Subject: Re: bug#52899: More info on guix home reconfigure behaviour
Date: Mon, 23 May 2022 16:18:06 +0300
[Message part 1 (text/plain, inline)]
On 2022-04-26 18:29, Bastien Rivière wrote:

> Hello,
>
> Here is what I got on my end when running guix home:
>
>> Loading /gnu/store/p74aw384nqzlw73ccr0167lyj8vlj3mr-shepherd.conf.
>> herd: exception caught while executing 'load' on service 'root':
>> In procedure fport_write: Broken pipe
>
> I have same output when running ~herd load root~.
>
>> > herd load root /gnu/store/p74aw384nqzlw73ccr0167lyj8vlj3mr-shepherd.conf
>> Loading /gnu/store/p74aw384nqzlw73ccr0167lyj8vlj3mr-shepherd.conf.
>> herd: exception caught while executing 'load' on service 'root':
>> In procedure fport_write: Broken pipe
>
> And the content of sheperd.conf is:
>
>> (begin (use-modules (srfi srfi-34) (system repl error-handling)) (apply register-services (map (lambda (file) (load file)) (quote ("/gnu/store/amvwc8ljsw4v6035q5hi9wlrj5kdi8qv-shepherd-emacs-server.scm")))) (action (quote root) (quote daemonize)) (format #t "Starting services...~%") (let ((services-to-start (quote (emacs-server)))) (if (defined? (quote start-in-the-background)) (start-in-the-background services-to-start) (for-each start services-to-start)) (redirect-port (open-input-file "/dev/null") (current-input-port))))
>
> Watching the log of shepherd, I have only this line:
>
>> 2022-04-26 18:27:48 Loading /gnu/store/p74aw384nqzlw73ccr0167lyj8vlj3mr-shepherd.conf.
>
> Tell me what I can do to help you debug this.

IIRC, it should be fixed already, can you please check if it's still a
problem?

-- 
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#52899; Package guix. (Mon, 23 May 2022 16:17:02 GMT) Full text and rfc822 format available.

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

From: Bastien Rivière <me <at> babariviere.com>
To: "Andrew Tropin" <andrew <at> trop.in>, 52899 <at> debbugs.gnu.org
Subject: Re: bug#52899: More info on guix home reconfigure behaviour
Date: Mon, 23 May 2022 18:11:18 +0200
Hello,

Yes, the issue is gone, thanks for the fix!

Best regards,
Bastien

On Mon, May 23, 2022, at 3:18 PM, Andrew Tropin wrote:
> On 2022-04-26 18:29, Bastien Rivière wrote:
>
>> Hello,
>>
>> Here is what I got on my end when running guix home:
>>
>>> Loading /gnu/store/p74aw384nqzlw73ccr0167lyj8vlj3mr-shepherd.conf.
>>> herd: exception caught while executing 'load' on service 'root':
>>> In procedure fport_write: Broken pipe
>>
>> I have same output when running ~herd load root~.
>>
>>> > herd load root /gnu/store/p74aw384nqzlw73ccr0167lyj8vlj3mr-shepherd.conf
>>> Loading /gnu/store/p74aw384nqzlw73ccr0167lyj8vlj3mr-shepherd.conf.
>>> herd: exception caught while executing 'load' on service 'root':
>>> In procedure fport_write: Broken pipe
>>
>> And the content of sheperd.conf is:
>>
>>> (begin (use-modules (srfi srfi-34) (system repl error-handling)) (apply register-services (map (lambda (file) (load file)) (quote ("/gnu/store/amvwc8ljsw4v6035q5hi9wlrj5kdi8qv-shepherd-emacs-server.scm")))) (action (quote root) (quote daemonize)) (format #t "Starting services...~%") (let ((services-to-start (quote (emacs-server)))) (if (defined? (quote start-in-the-background)) (start-in-the-background services-to-start) (for-each start services-to-start)) (redirect-port (open-input-file "/dev/null") (current-input-port))))
>>
>> Watching the log of shepherd, I have only this line:
>>
>>> 2022-04-26 18:27:48 Loading /gnu/store/p74aw384nqzlw73ccr0167lyj8vlj3mr-shepherd.conf.
>>
>> Tell me what I can do to help you debug this.
>
> IIRC, it should be fixed already, can you please check if it's still a
> problem?
>
> -- 
> Best regards,
> Andrew Tropin
>
> Attachments:
> * signature.asc




bug closed, send any further explanations to 52899 <at> debbugs.gnu.org and Florian Hoertlehner <hoertlehner <at> gmail.com> Request was from Andrew Tropin <andrew <at> trop.in> to control <at> debbugs.gnu.org. (Tue, 24 May 2022 10:36:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 21 Jun 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 321 days ago.

Previous Next


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