From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eCwpKEomQ2LdjwAAgWs5BA (envelope-from ) for ; Tue, 29 Mar 2022 17:31:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QCnHJEomQ2LL0gAAauVa8A (envelope-from ) for ; Tue, 29 Mar 2022 17:31:22 +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 5468A8904 for ; Tue, 29 Mar 2022 17:31:22 +0200 (CEST) Received: from localhost ([::1]:60724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZDoX-0006bc-9z for larch@yhetil.org; Tue, 29 Mar 2022 11:31:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZDnO-0006EU-6U for guix-devel@gnu.org; Tue, 29 Mar 2022 11:30:10 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]:55533) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZDnK-0008VE-Fr for guix-devel@gnu.org; Tue, 29 Mar 2022 11:30:08 -0400 Date: Tue, 29 Mar 2022 15:29:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1648567796; bh=usuxh5OrmMJ25TfchAL1+JiPeoHvRM8e+1SURGB5Qm4=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=lxZldh7HlxWo8joTkQLrlgoACxt7kabneQTJG0Vd55562a9OkerkyHxkAjCmbBu5i 9D7pR4wW74Nmm6Wn5kLf1yM27GKOKojMZsbJs3L5xlTSW19/AgKlu7HECEqcyt19og dPt9B0oUuc3P/VZEFDpy27ruXkS7TE7AzfSnWHnnhdTSYZqo9uCNxZDx2zBnqRzXsP dec78AiNWBxHo5SfyAMY7T1IEckGjqmHZBFs7ROEob69++lB1q1zEskQpd6u+SVX9p aLkoU1+pNFUnqt34xy0c9Qb9/PIitOv5RrDauZfhZNCOiJGGeJMe/UXcLxCnlwnbnA AAaOK5N6jN4YA== To: Maxime Devos From: Attila Lendvai Subject: Re: The Shepherd on Fibers Message-ID: <2i8aXvHXSwaDNifAcMqmlAcoo1y_oMzLTZWC9ZFHHjgD1W-VykpU2KZY_4VsRIsE6VGOOxeMnwHjuHWvG1wXcgf449p0oiRuno3OSScdJBQ=@lendvai.name> In-Reply-To: <0294791d8ae67d04b38f16842bcc1b80f2612389.camel@telenet.be> References: <87ee2sfg9d.fsf@inria.fr> <1078954f1707ac12bda6c935b42566cc04db09f1.camel@telenet.be> <87sfr0zzvw.fsf@gnu.org> <0294791d8ae67d04b38f16842bcc1b80f2612389.camel@telenet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.17; envelope-from=attila@lendvai.name; helo=mail-4317.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Attila Lendvai Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648567882; h=from:from:sender:sender:reply-to: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=usuxh5OrmMJ25TfchAL1+JiPeoHvRM8e+1SURGB5Qm4=; b=BFUVjjUFyuqP5ozG+gDhroudniHzXyo2d193rlV4pum+oVkH8v68E/MNHe8eDjNka0Wy71 HdgDt1oFprvZq3H775EZ5bWBBadgRlUNiSaB/AUW2rllCsjSHaz669wlwomkSucO3LKMnW BY4Ypj7YO5CcnF5UoxlUdMK9w9//V3sSZ8G6ceRvm7FOwjm0i+/iPrFuSAsyuZUku7AYR2 03ptzVK4yEhs0yqsL+marYSSNmTIMFXwE1qVc7EnN5PixpgmfQIv4PfbTsNwx6nxPEV7oX DvgdCgQdqi6j8+tjVHCNa7ByLW2MYTo7MpMLs6F/4Yrdsii79/0OQu5eoQnUuQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648567882; a=rsa-sha256; cv=none; b=JoBaBTXYDE45AvLWv6PdDU2h7IUFuO/PVL2N6jfRlypU6xKzCcf53GLBIMkZifxf9aYCzu 98oU6rGpIHnL6E/VelxDwBlZ95nR/y/Nehe7qVQHCbnK+rdaBAMVcfQHyctDLdNye7fhVC Xl02R1B4ap/lr4pz9yqpDhlbnxpLYjnAmgrqdjG+TzakL/GMgKqvKo/KGEuI9yVC3xHmaf aJJg5xcAbFSWKKL3oDqJlBosykdo54mSCpsAWwzAbLpcngGns7z/r3/NSqAnewyldbVfcU SP5A54N4smznUmyB0E6R47zgShM9NxNEpoSg/rk7Y0e81e/fP06Of99CRakhdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lendvai.name header.s=protonmail3 header.b=lxZldh7H; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lendvai.name header.s=protonmail3 header.b=lxZldh7H; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5468A8904 X-Spam-Score: 0.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: WaSO0LMMV8fh > > Which socket file? > > > > (In practice =E2=80=98exec-command=E2=80=99 would only fail if the prog= ram cannot be > > found.) > > Attila Lendvai has encountered the socket file to be deleted before, > this seemed to have been the cause and I have seen a few bug reports > (about tor?) that might have had the same cause. I don't have a bug > number at hand. my first ever service has non-trivial work to do in the start GEXP, and unsurprisingly, it has often ended up throwing an exception while i subled along my learning curve. it's not caught by shepherd right around the call to the start GEXP, and reaches a handler up higher that ends up deleting the socket (and IIRC skipping the start of rest of the services). it's on my TODO to harden the error handling in shepherd once the shepherd-for-guix patch is in, or something equivalent that shortens the edit-compile-test cycle of shepherd. but obviously, i don't mind if it gets fixed meanwhile by the open source fairies... :) -- =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CIf we could read the secret history of our enemies, we should find= in each man's life sorrow and suffering enough to disarm all hostility.= =E2=80=9D =09=E2=80=94 Henry Wadsworth Longfellow (1807=E2=80=931901)