From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6GbrH2ZR6GQSRQAASxT56A (envelope-from ) for ; Fri, 25 Aug 2023 08:59:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aI7aH2ZR6GS9WwEAauVa8A (envelope-from ) for ; Fri, 25 Aug 2023 08:59:50 +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 0280258E15 for ; Fri, 25 Aug 2023 08:59:49 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=bioneland.org header.s=20230804 header.b=gNKdmgmd; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692946790; a=rsa-sha256; cv=none; b=jkYNmxeERAL0NhPEiOwqxqd0xePaooEqVEHe0hsIccgrOFBYNCOFmUT823Ws8ZETroWtuv KAocQI0fwJUJLO0oh4Pcl5eSSrILTuo/mgHrY5LuRkhOhLNSaDLesLnTof0AHvsuQrg0C4 wBtWL39UhPCPR+HR6WcfsQX6kBmIZ2t/5G0l9b4hK1MSKK/wFJhZDnY6W62jVpo4ZtATO9 T5YVGtq3uOLFCxAAZ/UCw5EJKCLdZ2hFHTG6FQbN4aAUh2BWVl4eTCzmBzMrnCuBltJ9C2 dOhMw6RKy5jTN9kiQmd4L8bGBs7D/AqERbBpW5goVsK1QmnKqxm52FxadYeb2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=bioneland.org header.s=20230804 header.b=gNKdmgmd; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-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=1692946790; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Uh1HdekHk53fVm5A7dlVrkcpkHub/WyYgOZZpFhmQng=; b=V2raK45Z+LpE4Tw2cVyjeARpBK+Jf9qse669xBGdrVOqAnca8DGd/bntgjGn0N7sK47MWA 9R0eijoT+BMFK0cWJ32vFmcFpRl9XQUXm2sH5bHw8kNhYUfr8vZdUFkJYplkysnsv/1mTe eyb0gUwX0QR/yxMRKjkYIa8N6tNAzxiGXP2vE4rQjDrjPfLAoNGFClbEVApj93gwuD8kr3 PBiJpFsmATwuGwe+AXyf/iE3vGGYLc8o/aPC9t9WI3WZCdgBYKRk0h+6j4tqtG/H+EW9YH QrSjJ9x8fsdta7HrJqo97o/GfteG/LsL3s8cBnxvssfZ4dMwJfvGmau/OK7DQw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZQmp-00027N-Pz; Fri, 25 Aug 2023 02:59:15 -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 ) id 1qZQmm-00027E-Vi for help-guix@gnu.org; Fri, 25 Aug 2023 02:59:13 -0400 Received: from smtp-42aa.mail.infomaniak.ch ([84.16.66.170]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZQmk-0007oi-2j for help-guix@gnu.org; Fri, 25 Aug 2023 02:59:12 -0400 Received: from smtp-3-0001.mail.infomaniak.ch (unknown [10.4.36.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4RX9m83C8vzMq9pb; Fri, 25 Aug 2023 06:59:04 +0000 (UTC) Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4RX9m80THyzMppB3; Fri, 25 Aug 2023 08:59:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bioneland.org; s=20230804; t=1692946744; bh=LOxaoPemSMsbW+Koupnj/oexnWPVaF78qMzL0bxGsHQ=; h=References:Subject:From:Cc:To:In-Reply-To:Date:From; b=gNKdmgmdZcTZ4QXY0BiglTIF2h0aCOAMb29Sg41DKtPJhITomnd9ekkBZXImx2TlG mJT+tre+i52PNz7v+zHE2Qv8qQppj9YoUi1PNELcxwnI7x91G2mr5t+NWDrnkLwP/n Xd8MYLPIZWTAMK5BtO12tlVlXUah5+j1u0kgw22dO0U76sGiBLEx59EsiH/DXLf+21 U4N46iBygQAmQJ0GA5KGmx5QvMbpqdX4U39SlDikfVCZfYv06tftMseJSW0lYJ777z ejw+sDI2xqoj4wJYcovHCckHUNnLIfFp3yCnVwzaxrEbBnhBgbCCbL6B+TFObpyGH6 jkE5seHh0qUNw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable References: <169270038577.21161.10509568575565107521@localhost> <87a5ujw8py.wl-hako@ultrarare.space> <169271226794.29627.13908806565940408141@localhost> <875y57w1fs.wl-hako@ultrarare.space> <169272340179.1042.14613382112400844621@localhost> <1217260541.312222.1692778146145@office.mailbox.org> Subject: Re: Problem with Shepherd after `guix home reconfigure` From: Tanguy LE CARROUR Cc: help-guix@gnu.org To: nils@landt.email In-Reply-To: <1217260541.312222.1692778146145@office.mailbox.org> Date: Fri, 25 Aug 2023 08:59:03 +0200 Message-ID: <169294674347.1605.4839628488753357709@bioneland.org> User-Agent: alot/0.10 X-Infomaniak-Routing: alpha Received-SPF: pass client-ip=84.16.66.170; envelope-from=tanguy@bioneland.org; helo=smtp-42aa.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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -9.05 X-Migadu-Queue-Id: 0280258E15 X-Migadu-Spam-Score: -9.05 X-TUID: 43uFRyZPO8ZA Hi, Quoting nils@landt.email (2023-08-23 10:09:06) > Tanguy LE CARROUR hat am 22.08.2023 18:56 CEST ges= chrieben: > > I now have a slightly different error message: > >=20 > > ``` > > $ guix home reconfigure > > # [=E2=80=A6] > > SSLoading /gnu/store/zbfyaxxigns5lqyxhxzxhm92w54ns1cz-shepherd.conf. > > herd: error: exception caught while executing 'load' on service 'root': > > In procedure fport_write: Broken pipe > > ``` > > [=E2=80=A6] > > Even though `mpd` is reported as "starting" it actually works. > > `herd stop mcron` still hangs forever, but `herd status` keeps on > > working and reporting "starting" services. > >=20 > > Thoughts? =F0=9F=A4=94 >=20 > I had a similar issue about 2 months ago. I was using XDG_LOG_HOME in > a shepherd service definition, and it was not available anymore. > The error message I got was different, but the result was the same - > some services shown as "starting" and working, but herd not > working for one particular broken service. >=20 > I suggest to check your > /gnu/store/zbfyaxxigns5lqyxhxzxhm92w54ns1cz-shepherd.conf file for the > log path of the mcron job. Maybe your XDG_STATE_HOME points to a > non-writable directory? ``` $ cat /gnu/store/l1463gh71pm62404rxpwbzhwmz8dakl2-shepherd-mcron.scm # [=E2=80=A6] #:log-file (string-append %user-log-dir "/mcron.log") $ env | grep XDG # [=E2=80=A6] XDG_STATE_HOME=3D/home/tanguy/.local/state $ ls /home/tanguy/.local/state log nvim shepherd wireplumber $ ls /home/tanguy/.local/state/log/ dbus.log mcron.log shepherd.log ``` I have no XDG "log" variable, but the `shepherd.log` in `~/.local/state/log= /` contains today's log, so=E2=80=A6 I guess it can write to the log folder. The strange thing is that today mcron's log is in `~/.local/state/shepherd/`?! =F0=9F=A4=94 --=20 Tanguy