From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp10.migadu.com ([2001:41d0:403:4789::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms9.migadu.com with LMTPS
	id ADqtJ8Kr5WRxYQAASxT56A
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 23 Aug 2023 08:48:34 +0200
Received: from aspmx1.migadu.com ([2001:41d0:403:4789::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp10.migadu.com with LMTPS
	id MCGhJsKr5WRINQAAG6o9tA
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 23 Aug 2023 08:48:34 +0200
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 361AC5D8B7
	for <larch@yhetil.org>; Wed, 23 Aug 2023 08:48:34 +0200 (CEST)
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=bioneland.org header.s=20230804 header.b=sAP8TCUd;
	spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org";
	dmarc=none
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1692773314;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post:dkim-signature;
	bh=JWE6+bgs4FGILNbOGyfxW879NxdhH0QMA7i1A5vPTZ0=;
	b=kj7Tm0arjCWhyO9WbEaGqJ+VEZ9WXic/KfhUy2Fr3oxNGag/Gw1rAFVSeMWAj3ZlPW7YpM
	ZwOOZDTPK20oTrjt6dI66mv9vwQ2C7398+ra58t/WDdnDtNEETYRhAX3QhQLwlATTsrJwW
	keCj7hCjxN6ztrgAYQ2GfZzH3cdXEMJ5t2FO24BJZAzQMf5gMLnsyS5cpRnZ3GPBSgkpmR
	lKCacOfqwZ/WulRyegBx+NiFuBmwQKCn0IUAfJAlmQu/CurwkFK4uHxuRntHP2wRCxIpKv
	Ny/5txIh+nOmDG08lTlkJC+9WohTlnpcoDKAXhQzCsmjQh+8P7uqFF96hAF9yA==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692773314; a=rsa-sha256; cv=none;
	b=jn92nnRHRkbDYHy/QcAKpMlE1U2qrNDZfb321fvBkEfhDWyxQCovgP78t9x3GVBwgIYrps
	3UBbDccIHhSMSE3yjNz5t1551tBHOW+13Md9TARSxThqWzTelisrApSTfEQvG57gOehjTg
	tTUKT1BJBiVs+5maD2drrE5zdakPdKAbGxglvbuu13WbtLz2YRAY9miIw1PnrRUiO+mHTV
	rhsWbDVnPmLmd0npfBdI9aZAJHLiIrtr3lU8RPfcSbDqqSmXuWdx9oH7kehJrNvn6AWci3
	sxnlFbrafwJ18APhJNZjh1lRzDGrj8yZBtkHRpt78uc9CvWQtwZV+biHaJPz7Q==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=bioneland.org header.s=20230804 header.b=sAP8TCUd;
	spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org";
	dmarc=none
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-guix-bounces@gnu.org>)
	id 1qYher-0003UV-BB; Wed, 23 Aug 2023 02:48:01 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1qYhep-0003UL-UA
 for bug-guix@gnu.org; Wed, 23 Aug 2023 02:47:59 -0400
Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1qYhep-0000DC-B8
 for bug-guix@gnu.org; Wed, 23 Aug 2023 02:47:59 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qYhes-0004F1-Hr
 for bug-guix@gnu.org; Wed, 23 Aug 2023 02:48:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: bug#65463: Herd `fport_write: Broken pipe` error when running `guix
 home reconfigure`
Resent-From: Tanguy LE CARROUR <tanguy@bioneland.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-guix@gnu.org
Resent-Date: Wed, 23 Aug 2023 06:48:02 +0000
Resent-Message-ID: <handler.65463.B.169277325716125@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 65463
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 65463@debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.169277325716125
 (code B ref -1); Wed, 23 Aug 2023 06:48:02 +0000
Received: (at submit) by debbugs.gnu.org; 23 Aug 2023 06:47:37 +0000
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@debbugs.gnu.org>)
 id 1qYheS-0004C1-Kz
 for submit@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@bioneland.org>) id 1qYheQ-0004Bf-E4
 for submit@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@bioneland.org>)
 id 1qYheD-0003BW-6i
 for bug-guix@gnu.org; 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@bioneland.org>)
 id 1qYheA-000099-Dt
 for bug-guix@gnu.org; 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@gnu.org>; 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@gnu.org>; 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@bioneland.org>
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@bioneland.org; 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-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-guix@gnu.org
List-Id: Bug reports for GNU Guix <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-guix>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=subscribe>
Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org
Sender: bug-guix-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Spam-Score: -4.81
X-Spam-Score: -4.81
X-Migadu-Queue-Id: 361AC5D8B7
X-Migadu-Scanner: mx1.migadu.com
X-TUID: Hr+wlwAx1XwK

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