unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#52899: guix home configure with herd reconfigure bug
@ 2021-12-30 16:56 Florian Hoertlehner
  2022-01-24 14:24 ` Ludovic Courtès
  2022-04-26 16:29 ` bug#52899: More info on guix home reconfigure behaviour Bastien Rivière
  0 siblings, 2 replies; 5+ messages in thread
From: Florian Hoertlehner @ 2021-12-30 16:56 UTC (permalink / raw)
  To: 52899

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 591 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#52899: guix home configure with herd reconfigure bug
  2021-12-30 16:56 bug#52899: guix home configure with herd reconfigure bug Florian Hoertlehner
@ 2022-01-24 14:24 ` Ludovic Courtès
  2022-04-26 16:29 ` bug#52899: More info on guix home reconfigure behaviour Bastien Rivière
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2022-01-24 14:24 UTC (permalink / raw)
  To: Florian Hoertlehner; +Cc: 52899

Hi,

Florian Hoertlehner <hoertlehner@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’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#52899: More info on guix home reconfigure behaviour
  2021-12-30 16:56 bug#52899: guix home configure with herd reconfigure bug Florian Hoertlehner
  2022-01-24 14:24 ` Ludovic Courtès
@ 2022-04-26 16:29 ` Bastien Rivière
  2022-05-23 13:18   ` Andrew Tropin
  1 sibling, 1 reply; 5+ messages in thread
From: Bastien Rivière @ 2022-04-26 16:29 UTC (permalink / raw)
  To: 52899

[-- Attachment #1: Type: text/plain, Size: 1303 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1901 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#52899: More info on guix home reconfigure behaviour
  2022-04-26 16:29 ` bug#52899: More info on guix home reconfigure behaviour Bastien Rivière
@ 2022-05-23 13:18   ` Andrew Tropin
  2022-05-23 16:11     ` Bastien Rivière
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Tropin @ 2022-05-23 13:18 UTC (permalink / raw)
  To: Bastien Rivière, 52899

[-- Attachment #1: Type: text/plain, Size: 1527 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#52899: More info on guix home reconfigure behaviour
  2022-05-23 13:18   ` Andrew Tropin
@ 2022-05-23 16:11     ` Bastien Rivière
  0 siblings, 0 replies; 5+ messages in thread
From: Bastien Rivière @ 2022-05-23 16:11 UTC (permalink / raw)
  To: Andrew Tropin, 52899

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-23 16:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-30 16:56 bug#52899: guix home configure with herd reconfigure bug Florian Hoertlehner
2022-01-24 14:24 ` Ludovic Courtès
2022-04-26 16:29 ` bug#52899: More info on guix home reconfigure behaviour Bastien Rivière
2022-05-23 13:18   ` Andrew Tropin
2022-05-23 16:11     ` Bastien Rivière

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).