From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2FTkKnHXhWSqIgAASxT56A (envelope-from ) for ; Sun, 11 Jun 2023 16:17:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KDmhKnHXhWSdXwAA9RJhRA (envelope-from ) for ; Sun, 11 Jun 2023 16:17:21 +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 ACB8B308DD for ; Sun, 11 Jun 2023 16:17:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q8LsP-00089e-Cc; Sun, 11 Jun 2023 10:17:05 -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 1q8LsM-00089O-BD for bug-guix@gnu.org; Sun, 11 Jun 2023 10:17:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q8LsM-0007bA-2W for bug-guix@gnu.org; Sun, 11 Jun 2023 10:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q8LsL-0004e3-U4 for bug-guix@gnu.org; Sun, 11 Jun 2023 10:17:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#53580: /var/run/shepherd/socket is missing on an otherwise functional system Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 11 Jun 2023 14:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53580 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Attila Lendvai Cc: 53580@debbugs.gnu.org Received: via spool by 53580-submit@debbugs.gnu.org id=B53580.168649300717826 (code B ref 53580); Sun, 11 Jun 2023 14:17:01 +0000 Received: (at 53580) by debbugs.gnu.org; 11 Jun 2023 14:16:47 +0000 Received: from localhost ([127.0.0.1]:37559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q8Ls7-0004dS-AQ for submit@debbugs.gnu.org; Sun, 11 Jun 2023 10:16:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q8Ls5-0004dG-BO for 53580@debbugs.gnu.org; Sun, 11 Jun 2023 10:16:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q8Lrz-0007XI-Bg; Sun, 11 Jun 2023 10:16:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=P/7MmL+NPnKOxjS6GZOf5IAOfcVIEAXA3VFqX/d7/as=; b=p4/xDWKXVMv2swXvD06a TBxEeWwwJTgHjK4Km42+rKfVYw2rJaCTzYaWYvwOcEmYqlUetHsDh2GOmnPK4JxhfKq6t6Gh/Pj0V 0/yKXOINfQDFEqIlcjimo5RguGlpf0i05a8hMVJhkSCzWMjf/6QfLxUgqkU+2HhJ07HrS2U/8iSXV xDMqrgz/gAiCV39JFtfzLbK4xb8rXG5JKFL7Gr2PhZLPY+k6uH9RRKzSYSYVm8wtnGj/GoqNgpWnh 5g0+OpfHbwqnhq2oE1KTgfzkFfBJcVHg1RvR9UEZRc2maCJb0fkfcA1PP0tn+1Tguto10UcQWtHNM 99Wa9XIDmPz4ag==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q8Lry-0004ch-P5; Sun, 11 Jun 2023 10:16:38 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87v8g07ham.fsf@gnu.org> Date: Sun, 11 Jun 2023 16:16:37 +0200 In-Reply-To: (Attila Lendvai's message of "Thu, 08 Jun 2023 20:56:43 +0000") Message-ID: <87352yrsmy.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686493040; a=rsa-sha256; cv=none; b=AcSN5XZf3v2ONKOgN9R597sKP7fd5t4N8+TfcgZAxcxTwViu5uUS5BdBg77NLUty1vvqdz 1/T/i2GfB3jiNoRhyNvEvJEybMVeeJMW2UwPC4E1tRnlecM0b5mD2nDCJCb35yN2Qt+Rdd wdYUBa+HIa4IwBz3pX6PZTjjLjmouCdYPrga/MsJolbKroC/bHMpVrZXyFQ7EMdhq/PnGh i729sAHN6J+ckURYay48xR4mIdO31UocGgT2Ks7w3LvDGl8PKvDRaZWpxQCmsU78Hn6wVJ RgciGmGYvtc1JoZmlZCG4+dMobRurLXY/zkT4XWGTYU93iuwDKUolb3EZ4264w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="p4/xDWKX"; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686493040; 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=P/7MmL+NPnKOxjS6GZOf5IAOfcVIEAXA3VFqX/d7/as=; b=UjIw8aaO7AoXPpNQoAgjJ0ZXcozATzwaUxlexkcJhhlF9kWeUHoC4sOh8Mjb76qxiw29Ne dZhzKmiMeSolz9lpr1N6cd6rfVc3kI+9kgnHW0phHQAwgDE5Sb56PC0njv+z3wuOeU7CNW R5i6svlbKgEi7d4gVg9LRD1eans7SqxSmEWKX/Lcp0tPsygFZQ14GSW1ALLCxiOU622uWb LOmQH+NAChw6tE7k7+7OaT6FvRGwFvM95V5DRGGUXeHaTAhwPiyM4mI5AivFZWqg3Mwj0+ 0uL9FaU/vGFuF0cacqPPDtmhexOfcfCG/a4yWv5zeCBI1X72d1/q/XDAPrwH3w== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="p4/xDWKX"; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.42 X-Spam-Score: -4.42 X-Migadu-Queue-Id: ACB8B308DD X-TUID: +gpsuT1k6osC Hi, Attila Lendvai skribis: > when i'm working on my service code, which is `guix pull`ed in from my ch= annel, then after a reconfigure i seem to have to reboot for my new code to= get activated. a simple `herd restart` on the service didn't seem to be en= ough. i.e. the guile modules that my service code is using did not get relo= aded into the PID 1 guile. Guile modules do not get reloaded; there=E2=80=99s no mechanism in place to reload previously-loaded Guile modules. > keep in mind that this is a non-trivial service that e.g. spawns a long-l= ived fiber to talk to the daemon through its stdio while the daemon is runn= ing. IOW, its start GEXP is not just a simple forkexec, but something more = complex that uses functions from guile modules that should be reloaded into= PID 1 when the new version of the service is to be started. OK, got it. There=E2=80=99s not enough info here to be concrete, but I=E2= =80=99d recommend making it a separate process if you need to reliably reload/replace the module. IOW, you=E2=80=99d make it a =E2=80=9Cregular= =E2=80=9D service spawned with =E2=80=98make-forkexec-constructor=E2=80=99 or similar. However this doesn=E2=80=99t have anything to do with the initial bug repor= t and the title of this message; for clarity, please move further discussion to guix-devel. Thanks, Ludo=E2=80=99.