From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp1.migadu.com ([2001:41d0:303:e16b::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id EGm9MmOK/GU1swAA62LTzQ:P1
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 21 Mar 2024 20:28:36 +0100
Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1.migadu.com with LMTPS
	id EGm9MmOK/GU1swAA62LTzQ
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 21 Mar 2024 20:28:35 +0100
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=none ("invalid DKIM record") header.d=freakingpenguin.com header.s=x header.b="lW/LqJ5G";
	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=1711049315;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=BS8WzYB8yLRgu9otz7J0buMXzFTkAjB5tOM+S9rEhzY=;
	b=bL5TlrB0ooXnCg+u2x8HHlQ2JkghX+JbMRhOAs7IeGDqENfCpx6ih4dMGt4kOnkoniC17M
	RRfXJj0+T/jw8Cme61GMj+eNhIpKoVN0aNP7Wy6T0jAIFrHmytBpdpYSrDYzKsly3cBZX9
	3nfy00QEx6Cbru/gh2NeD7kRMH5e3VkHPGKnhGbNwOqH9FloN1p0H6YhalqFFqlBHsLgut
	+jI3QwSmm/71qx0C7j+9/BcWhT0yB0JJ63tO04mJE5FtaQPEB6G3Fwxo/SxK/NjY8wvLF3
	p3ZwCfLQ64WpPm4HSTUbbSUNuRom8MfXU+leeeSxgEt/jc4x+q6sc2hMMl1BUw==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=none ("invalid DKIM record") header.d=freakingpenguin.com header.s=x header.b="lW/LqJ5G";
	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-Seal: i=1; s=key1; d=yhetil.org; t=1711049315; a=rsa-sha256; cv=none;
	b=mvy5WRjyFdN4PQj5ECV6raJG+iaaYKJs1t+ZD/XLxrAmm/kRHGj/LbI7xuLNYY06Un9Wxi
	lJbLCbht9Lv9h8PFFbQF6A5Mu1LG1PwwAXJEQqWmjkh275P4RbFE5e8rLXHEWmBaxx4Jns
	UBPHO/ECekjAFP3uzV3Mq3XOO/9ElMRz6knqaA9NoCzCversdPnEDYcb7XWx4DB5uNKo66
	t2u777MTEd7+bu1o1689HfXfQtPAYTJd34PYLUjAfxdn1V9DBOUCJsy3zEyutcn4BlOBl/
	5S4H4GqBigmA12Dx6YYaQ+lqw0J1C6kYZhdiqq5KQF1RtB97rnfBTSVPc0GYDw==
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 707E6602CF
	for <larch@yhetil.org>; Thu, 21 Mar 2024 20:28:35 +0100 (CET)
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 1rnO5Q-0005Hx-OC; Thu, 21 Mar 2024 15:28:24 -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 1rnO5O-0005HK-KA
 for bug-guix@gnu.org; Thu, 21 Mar 2024 15:28:22 -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 1rnO5O-0006nj-CJ
 for bug-guix@gnu.org; Thu, 21 Mar 2024 15:28:22 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rnO62-00065z-E7
 for bug-guix@gnu.org; Thu, 21 Mar 2024 15:29:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: bug#65463: Herd `fport_write: Broken pipe` error when running `guix
 home reconfigure`
Resent-From: Richard Sent <richard@freakingpenguin.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-guix@gnu.org
Resent-Date: Thu, 21 Mar 2024 19:29:02 +0000
Resent-Message-ID: <handler.65463.B65463.171104933323407@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 65463
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
Cc: 65463@debbugs.gnu.org
Received: via spool by 65463-submit@debbugs.gnu.org id=B65463.171104933323407
 (code B ref 65463); Thu, 21 Mar 2024 19:29:02 +0000
Received: (at 65463) by debbugs.gnu.org; 21 Mar 2024 19:28:53 +0000
Received: from localhost ([127.0.0.1]:55709 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1rnO5t-00065R-5f
 for submit@debbugs.gnu.org; Thu, 21 Mar 2024 15:28:53 -0400
Received: from mail-108-mta73.mxroute.com ([136.175.108.73]:44163)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <richard@freakingpenguin.com>) id 1rnO5q-00065B-AQ
 for 65463@debbugs.gnu.org; Thu, 21 Mar 2024 15:28:51 -0400
Received: from filter006.mxroute.com ([136.175.111.2] filter006.mxroute.com)
 (Authenticated sender: mN4UYu2MZsgR)
 by mail-108-mta73.mxroute.com (ZoneMTA) with ESMTPSA id 18e627c23db0003bea.001
 for <65463@debbugs.gnu.org>
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Thu, 21 Mar 2024 19:28:06 +0000
X-Zone-Loop: db085fd075815e5ddcccf37fd266aa6ae90071aced41
X-Originating-IP: [136.175.111.2]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=freakingpenguin.com; s=x; h=Content-Transfer-Encoding:Content-Type:
 MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Sender
 :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:
 Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:
 List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=BS8WzYB8yLRgu9otz7J0buMXzFTkAjB5tOM+S9rEhzY=; b=lW/LqJ5GzvV7Tp0HtB4sm0qISn
 oC6uBpp53PiZWRK2nLbIEeVYx7GHcJgchq95ifL7I+nWvbVr3ZqpRlU7RMoUnLBg3v7UZQVDl0Wgy
 rp2jBMEzjqv9aDNbuMgL7wKsoTyrd00udk8NE3VQ3PYH98GZOatpCjxocUs5GIFIXw8P6gO624pQR
 So+4toYMTRleLylL+TmDZC79Mvwx2Cm9mo2yKuqvZ/XL2lFJBpK1S0xZxXCQ/wGnsNEdmKpSPQYvM
 7Btmll4EbPAPeOdnJevQj6XJ5W+JDhvyn0bhjAcXFiHIVrfnBY+UNEwncqgiuh6/l8qTXMnag0Z64
 1jEkSNNw==;
From: Richard Sent <richard@freakingpenguin.com>
In-Reply-To: <8734skzshv.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s
 message of "Wed, 20 Mar 2024 19:07:56 +0100")
References: <169277323322.1687.15739147838600524142@localhost>
 <5538caef3f592a7adc5b75e1cb99a711@freakingpenguin.com>
 <8734skzshv.fsf@gnu.org>
Date: Thu, 21 Mar 2024 15:27:56 -0400
Message-ID: <878r2b1j2b.fsf@freakingpenguin.com>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Authenticated-Id: richard@freakingpenguin.com
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-Scanner: mx13.migadu.com
X-Migadu-Spam-Score: -5.43
X-Spam-Score: -5.43
X-Migadu-Queue-Id: 707E6602CF
X-TUID: Dn2G4p0uFluT

Hi Ludo,

I tried replicating this issue on guix
d67e4f0f9b10c7ddac8fb0ca68cbf1d6ad0a6e5d and was not able to. My guess
is either shepherd 10.2->10.3 resolved the issue or there was a change in
fish.

It seems to work fine now, but I've not tested thoroughly. Hopefully
anyone else who can into the issue can chime in.

> (I assume this is the strace of shepherd, not herd.)

When you say this do you mean daemon vs. CLI process? I'm fairly
confident that was the strace of the daemon although I can't recall how
I pulled that off.

> Maybe we should unconditionally run shepherd with stdout/stderr
> redirected to /dev/null?
>=20
> That would sidestep the problem and it=E2=80=99s probably a good idea any=
way.

Would unconditionally redirecting to /dev/null mess with the system
shepherd? I noticed that stdout and stderr for my system shepherd (in
/proc/1/fd) are printing to /dev/console. If so that would probably make
debugging shepherd issues harder, particularly on something like a
single board computer.

Thanks for looking at this!

--=20
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.