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> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 23 Aug 2023 06:47:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 23 02:47:37 2023
Received: from localhost ([127.0.0.1]:60902 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qYheS-0004C1-Kz
	for submit <at> debbugs.gnu.org; Wed, 23 Aug 2023 02:47:36 -0400
Received: from lists.gnu.org ([2001:470:142::17]:46164)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tanguy@HIDDEN>) id 1qYheQ-0004Bf-E4
 for submit <at> debbugs.gnu.org; Wed, 23 Aug 2023 02:47:35 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org 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 smtp-42ae.mail.infomaniak.ch ([2001:1600:4:17::42ae])
 by eggs.gnu.org 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 smtp-2-0001.mail.infomaniak.ch (unknown [10.5.36.108])
 by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4RVxbQ1dqMzMpnfX
 for <bug-guix@HIDDEN>; Wed, 23 Aug 2023 06:47:14 +0000 (UTC)
Received: from unknown by smtp-2-0001.mail.infomaniak.ch (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; d=bioneland.org;
 s=20230804; t=1692773234;
 bh=FhrF6tp0rNBCq7x5lsPQ0P4mfJmvxaW2zKsSFFdZqYk=;
 h=From:To:Subject:Date:From;
 b=sAP8TCUd3zU2j+ua/nNk9ygMI5P1rAZrSA/juEtQLIv577hb0XQAWZrzaxxNzjonZ
 bc2NGQMIvJddQwpYz+O544gZnK3+cHhOvpvLtE8r6aNtCZ6t4xhVcx4KJ6wxdy3QN6
 76QIaorfLfbwehJB/jEpHDA9IKX2SaGjR8UhpMC0cUs5f5u5nmDhnOo7B0WAC2MIPS
 3IdiAvS6CQHVGfxoM0LfxSC8bcJH0gcFFjO1MtDK9DUiSBBkJo0V3nAGA/bCTcukYm
 UO1Xgq0n2obsbVw66ZWQ4xnG1Je6eUENqiFG8GJVl5LXuBH7/NQPneEtbWG6XTyWP8
 OHB7hdscVdQig==
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
 reconfigure`
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;
 envelope-from=tanguy@HIDDEN; helo=smtp-42ae.mail.infomaniak.ch
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,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001,
 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> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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
          /gnu/store/2sr90smj33k686394krjx1klhlpipd7z-home/profile/share/fo=
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
Started:
 + root
Starting:
 ^ mcron
 ^ mpd
Stopped:
 - tor
 - transmission
```

`mcron` and `mpd` (a home service that I will eventually submit) are listed=
 as
`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 =
in:

```
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=
axxigns5lqyxhxzxhm92w54ns1cz-shepherd.conf'.
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 '0.0.0.0:66=
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=
yxhxzxhm92w54ns1cz-shepherd.conf.
```

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?!

--=20
Tanguy




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.