GNU bug report logs - #65463
Herd `fport_write: Broken pipe` error when running `guix home reconfigure`

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Tanguy LE CARROUR <tanguy@HIDDEN>; dated Wed, 23 Aug 2023 06:48:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at>

Received: (at submit) by; 23 Aug 2023 06:47:37 +0000
From debbugs-submit-bounces <at> Wed Aug 23 02:47:37 2023
Received: from localhost ([]:60902
	by with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1qYheS-0004C1-Kz
	for submit <at>; Wed, 23 Aug 2023 02:47:36 -0400
Received: from ([2001:470:142::17]:46164)
 by with esmtp (Exim 4.84_2)
 (envelope-from <tanguy@HIDDEN>) id 1qYheQ-0004Bf-E4
 for submit <at>; Wed, 23 Aug 2023 02:47:35 -0400
Received: from ([2001:470:142:3::10])
 by with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tanguy@HIDDEN>)
 id 1qYheD-0003BW-6i
 for bug-guix@HIDDEN; Wed, 23 Aug 2023 02:47:21 -0400
Received: from ([2001:1600:4:17::42ae])
 by with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tanguy@HIDDEN>)
 id 1qYheA-000099-Dt
 for bug-guix@HIDDEN; Wed, 23 Aug 2023 02:47:20 -0400
Received: from (unknown [])
 by (Postfix) with ESMTPS id 4RVxbQ1dqMzMpnfX
 for <bug-guix@HIDDEN>; Wed, 23 Aug 2023 06:47:14 +0000 (UTC)
Received: from unknown by (Postfix) with ESMTPA
 id 4RVxbP67fzzMpnPs
 for <bug-guix@HIDDEN>; Wed, 23 Aug 2023 08:47:13 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;;
 s=20230804; t=1692773234;
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
From: Tanguy LE CARROUR <tanguy@HIDDEN>
To: bug-guix@HIDDEN
Subject: Herd `fport_write: Broken pipe` error when running `guix home
Date: Wed, 23 Aug 2023 08:47:13 +0200
Message-ID: <169277323322.1687.15739147838600524142@localhost>
User-Agent: alot/0.10
X-Infomaniak-Routing: alpha
Received-SPF: pass client-ip=2001:1600:4:17::42ae;
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <>
List-Unsubscribe: <>, 
 <mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>, 
 <mailto:debbugs-submit-request <at>>
Errors-To: debbugs-submit-bounces <at>
Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
X-Spam-Score: -0.1 (/)

Hi Guix,

I think this has been happening for quite a long time, but I never paid
attention to it, for everything seemed to be running just fine.
When I run `guix home reconfigure`, it completes with the following message:

# [=E2=80=A6]
Finished updating symlinks.

SSLoading /gnu/store/zbfyaxxigns5lqyxhxzxhm92w54ns1cz-shepherd.conf.
herd: error: exception caught while executing 'load' on service 'root':
In procedure fport_write: Broken pipe
Comparing /gnu/store/2sr90smj33k686394krjx1klhlpipd7z-home/profile/share/fo=
nts and
nts... done (same)
Evaluating on-change gexps.

On-change gexps evaluation finished.

I don't know if it's related, but since my last `guix pull`,
`herd status` has been reporting strange statuses:

$ herd status
 + root
 ^ mcron
 ^ mpd
 - tor
 - transmission

`mcron` and `mpd` (a home service that I will eventually submit) are listed=
`starting`, but they are actually started and they work just fine!?

I had a look at this morning's log. This is what I see right after logging =

2023-08-23 08:21:36 Starting service root...
2023-08-23 08:21:36 Service root started.
2023-08-23 08:21:36 Service root running with value #t.
2023-08-23 08:21:36 Service root has been started.
2023-08-23 08:21:36 Daemonizing...
2023-08-23 08:21:36 Restarting signal handler.
2023-08-23 08:21:36 Now running as process 567.
2023-08-23 08:21:36 Starting services...
2023-08-23 08:21:36 Configuration successfully loaded from '/gnu/store/zbfy=
2023-08-23 08:21:36 Starting service mpd...
2023-08-23 08:21:36 Starting service mcron...
2023-08-23 08:21:36 Service mpd has been started.
2023-08-23 08:21:37 [mpd] Aug 23 08:21 : server_socket: bind to '
00' failed (continuing anyway, because binding to '[::]:6600' succeeded): F=
ailed to bind socket: Address already in use

The last line is strange. It looks like a second instance of `mpd`
started, tried to bind to the same port and failed!?

After `guix home reconfigure` I get:

2023-08-23 08:31:51 Service mcron has been started.
2023-08-23 08:31:51 SSL2023-08-23 08:31:51 oading /gnu/store/zbfyaxxigns5lq=

There is no mention to `mpd` and there's a timestamp right in the middle of
the second line?!

When I try to `herd stop SOMETHING`, it hangs forever and I have to
`ctrl+c` it.

Any idea what might be going wrong?!


Acknowledgement sent to Tanguy LE CARROUR <tanguy@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#65463; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 23 Aug 2023 07:00:02 UTC

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