guix home configure with herd reconfigure bug

  • Done
  • quality assurance status badge
Details
4 participants
  • Andrew Tropin
  • Florian Hoertlehner
  • Ludovic Courtès
  • Bastien Rivière
Owner
unassigned
Submitted by
Florian Hoertlehner
Severity
normal

Debbugs page

F
F
Florian Hoertlehner wrote on 30 Dec 2021 08:56
(address . bug-guix@gnu.org)
CADXXfWk6TDujWFG42_0QSGE-EOgXk1Z6aGb4ZBh7PXTjqsvecw@mail.gmail.com
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: file
L
L
Ludovic Courtès wrote on 24 Jan 2022 06:24
(name . Florian Hoertlehner)(address . hoertlehner@gmail.com)(address . 52899@debbugs.gnu.org)
87y235tdn6.fsf@gnu.org
Hi,

Florian Hoertlehner <hoertlehner@gmail.com> skribis:

Toggle quote (11 lines)
> 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’.
L
L
Ludovic Courtès wrote on 30 Jan 2022 09:03
control message for bug #52899
(address . control@debbugs.gnu.org)
87wnih9mwr.fsf@gnu.org
tags 52899 + moreinfo
quit
B
B
Bastien Rivière wrote on 26 Apr 2022 09:29
More info on guix home reconfigure behaviour
(address . 52899@debbugs.gnu.org)
98b0f207-8ba1-4a57-9ddc-d5a587b1dc95@www.fastmail.com
Hello,

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

Toggle quote (4 lines)
> 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~.

Toggle quote (5 lines)
> > 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:

Toggle quote (2 lines)
> (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:

Toggle quote (2 lines)
> 2022-04-26 18:27:48 Loading /gnu/store/p74aw384nqzlw73ccr0167lyj8vlj3mr-shepherd.conf.

Tell me what I can do to help you debug this.
Attachment: file
A
A
Andrew Tropin wrote on 23 May 2022 06:18
87fsl0peup.fsf@trop.in
On 2022-04-26 18:29, Bastien Rivière wrote:

Toggle quote (25 lines)
> 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
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmKLiY4ACgkQIgjSCVjB
3rBvag//XlNbSYTG4Lu2a6Cm5+bGpNfVLFs6ZPUA/FXb7ERHLB3gWsvuKc6YpR65
TjKqNWAcIzMoqb44nvD+sbSj01bn4Qkup3N39QrBcoMsaDQ+WkVNESc6uvPJoFfO
CtwZrLU/ub8fjWRg4WDA6vyS2qMRsAEc2Lfdvdt1gO3731Huln5p5LzRvx9ZpF3p
K0Qvci3utL55TS6SgxUFp7YruprlvcqtStc85hK+jhrzYWDsVhL6Yb859ZeHMM+I
1hgzmeirDnd9uVGX04iwb37BiNBvqrS9iO4oCc6An/rco9RHtqw3U6rIe4+idK2E
EYmOzcnbu4Xa3+VI6fCx2ragj5Xl2nk3XQJieBqwDyyezNzZU+lKoptzmaAO2CsE
NC0v/OPkFvJb+lLOWK0UjfE7u4cpKAoDT7SObrpfMY6rYYaUvL4+qP+WNNA+DgPL
1hFFDubVoaSAK2KY0IhIpjHo0gLg8UH9AokyXws2xx12cBYxQR8OLPWL7FKPl3ud
F72UI8rSGiYCuUr23dvcVCIAgR14dLvn+QJ9b5wKc4XtqycPJKcZ5wlJ4A0ZKgLe
JSBZCdqjekWx48FwbWkCrmsxTGjbtbKsHfZG2nOPoomNrYtx+Ag+wIwD/xiLYCNo
oo1He+afl6I7fpqp25asBDmh8ZTBIyx0MW7x1atn+DVMDfJtMrU=
=6/It
-----END PGP SIGNATURE-----

B
B
Bastien Rivière wrote on 23 May 2022 09:11
4a24c9cc-cd22-4777-89ff-028fab4ea70d@www.fastmail.com
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:
Toggle quote (36 lines)
> 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
A
A
Andrew Tropin wrote on 24 May 2022 03:35
(address . control@debbugs.gnu.org)
87zgj7p69o.fsf@trop.in
close 52899
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmKMtQMACgkQIgjSCVjB
3rBYVw/+Kp7WRYRZW0YzdaH46fO9IHZXURA++HzGaYm1S3JGKiRCz/ZiuIVU9jmq
Q9Gus6N1m1RxNMp8ifkfsi6+TINSpewT3RSj9k/cVKqbPsQtUa1mk3a0hCR6nyW+
fRqr708LULmsejluQDb/kQeaYJDv8Cd0MWf/GValqudYYLwq2eJrdj/5tKw2Hc4R
M57DMa6FfYnX6eawsZ6ImwpkceauyvO4/5xRsFFUatMviysNIC9CY91zw5Sp7YfR
9gX6tKyTi30Oith6313oXsPf6JQmIuri6od+LOT4FZgutedjX0pa0o7QGVyCXiME
2uJ2g8+GO/dtiegjcS3nm8HznRW05jbnbgK63AWwhdMFqhtxOqqWjnCWRkH1KfaS
mdOLx9YxWzs14NOAPRbrFcviReqrkzArsK8jQ6iMyp4Y6eJRl/oHf/VH1Hs4yiaY
SyNBObgP2FInbzR3J3hZGQFDRNknFUKAdPwVJ7EZgyos++nwoWFKXLVxnhl/Q5sP
aYi1ZCZ1pECIgWbJ85n+wkKUTnPqhXxEn8C+5iOgpvZw0LMyeifrkj14GOf7NlSy
neDGENn4Cd9p2U7J9T7R9tzxTzcJDrcWzSEqmsttmDO1xE9rm/4+4g7Dz6qUD5ui
TYRzaFQ1df5NVNpviZzGnmnUnAbwm+8IpYJ7Ubesb2sN9MVx8gI=
=KbKc
-----END PGP SIGNATURE-----

?
Your comment

This issue is archived.

To comment on this conversation send an email to 52899@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 52899
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch