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 ms5.migadu.com with LMTPS id gAPcGM8VDmOSrwAAbAwnHQ (envelope-from ) for ; Tue, 30 Aug 2022 15:51:11 +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 QGfbGM8VDmOJVAEA9RJhRA (envelope-from ) for ; Tue, 30 Aug 2022 15:51:11 +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 DA67A3D338 for ; Tue, 30 Aug 2022 15:51:10 +0200 (CEST) Received: from localhost ([::1]:39484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oT1e0-0007Qv-4b for larch@yhetil.org; Tue, 30 Aug 2022 09:51:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT1du-0007PO-JD for bug-guix@gnu.org; Tue, 30 Aug 2022 09:51:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45449) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oT1du-00086J-AU for bug-guix@gnu.org; Tue, 30 Aug 2022 09:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oT1du-0004tH-7Q for bug-guix@gnu.org; Tue, 30 Aug 2022 09:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55898: Services depending on new Shepherd features may fail until reboot Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 30 Aug 2022 13:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55898 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Cc: 55898@debbugs.gnu.org, Maxim Cournoyer Received: via spool by 55898-submit@debbugs.gnu.org id=B55898.166186745818787 (code B ref 55898); Tue, 30 Aug 2022 13:51:02 +0000 Received: (at 55898) by debbugs.gnu.org; 30 Aug 2022 13:50:58 +0000 Received: from localhost ([127.0.0.1]:35198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oT1dq-0004sx-AY for submit@debbugs.gnu.org; Tue, 30 Aug 2022 09:50:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oT1do-0004sj-97 for 55898@debbugs.gnu.org; Tue, 30 Aug 2022 09:50:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT1di-000850-0V; Tue, 30 Aug 2022 09:50:50 -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=KFQeoqDiBT61Boy8EON4lQPXzpLDQdKOdRqVld5fOFA=; b=RU4pSsSnz1P4CoCDoZkM CF/A2+CxMfVW2Kb8d13q3BMJ9KmL4fhLypIIBnJMfjF59DmaagtoBpOQzIZtM0jhOcZ8MH4mu5yrJ kOfRLwvdlErVj5g2U6O1lM1+SVYA9jk1natU58pEvvPKs5zi2mWuHOlFT/y7IXLPS2lMZ3MiX0z8+ cuTdqIGWnpGWyCoZnLnwSSup1NJefqk7fmoKLdPzsqWuPUMrA7XhCDtpb3JDCcwILJlBmnIZW8WQ6 XU+ljohcO+rJYUXTMEM0jLA3Q43Ga21GtcqoOFX2WAQ3GVgK+nhrVwnebuszsxk+rp0fu7aF5yHhb wdxFUO1afqOQDA==; Received: from [193.50.111.124] (port=49814 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT1dh-0004RY-J3; Tue, 30 Aug 2022 09:50:49 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87a6ajg2zv.fsf@gmail.com> <5521716772922285f7c6bc381c82613026eebbd9.camel@telenet.be> <87bkuvdoe4.fsf@gmail.com> <87r13ex7nw.fsf_-_@gmail.com> <87mtdl2a7u.fsf_-_@gmail.com> <87ilo9294m.fsf@gmail.com> <87a693pjm7.fsf_-_@gnu.org> <87r12fqf6j.fsf@gmail.com> <87y1v75fo0.fsf@gnu.org> <8735debvz7.fsf@gmail.com> <878rn6423p.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Tridi 13 Fructidor an 230 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de =?UTF-8?Q?l'=C3=89pine-vinette?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 30 Aug 2022 15:50:48 +0200 In-Reply-To: (Maxime Devos's message of "Tue, 30 Aug 2022 11:35:34 +0200") Message-ID: <87fshdyh53.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (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" 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=1661867471; 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=KFQeoqDiBT61Boy8EON4lQPXzpLDQdKOdRqVld5fOFA=; b=E5ET+8yiKFAKZmVRHfRmLbBLwZUTN+g8KZIl28rJD4aR4qzL0vlwFFt9W1ugdRx+A73zk/ wtxz/eCAW1A0cpJB7Ew2F7zskXkFb0qoQXnVf2anPeZB3210isWcOerj9/H3mXDkIN1cPB T57hTCXjDXfk0LloDEVIdZHtvUxeFRA/BjSm89gYmqxydDXhFKcOoYua1kB77AfG6uwFsR wwwWSV1dDVPj1dPDQgKdayaQTib+gSal0SrDPqoPAh9JYPaADAPxj5Y4eggleLkQIDdbYg dfVsoGRisxwYoowkF3/pYI9C08PbbDuJGD31aJ9dpOr7uncJGt2LYy4XcY51bA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661867471; a=rsa-sha256; cv=none; b=D5KPT6J9Ko0VBpKyigNdCIrD5/YdJKV6oR8cVSgr6Ta9OKicj5x7+GdhZpuoDW/DNFRErC E0O/+NW9TDHyWVC6tkUvUMtnWFW8yDmcdMzGHhLBkArMDW8lON4G+TvrfM3WGnn6gpeFUF BqUKO1Pkx0eWEP1oLQu5Q5HPdIIqaV0fRMo+l1Da2NgYwe1Ua6nnYhXI9UmSqtp2JgzxlC QxRypDdfaTbloiCzjQ4T/rtlaALu1BOs4Lb4daTj/0PDGW2i29FNAuKfk2vuTdFHbCc0vp e8XElstN83m5aikZCJpy8/K/zn2cNEkTZvNcIkjNjyUvaJY6Wlt6UncEkbw19Q== 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=RU4pSsSn; 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-Spam-Score: -4.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=RU4pSsSn; 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-Queue-Id: DA67A3D338 X-Spam-Score: -4.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: iEDac07Imwo/ Maxime Devos skribis: > On 30-08-2022 09:33, Ludovic Court=C3=A8s wrote: > >> So are you suggesting replacing: >> >> (defined? 'make-inetd-constructor) >> >> by something like: >> >> (version> >> or is it something different that you have in mind? >> >> I=E2=80=99m not sure how this could improve the user experience, unless = by >> =E2=80=9Cuser=E2=80=9D you mean the person writing the service? > > (defined? '...) does not work in all contexts -- it works on the > top-level, but not always inside a procedure, as it tests if the thing > is defined in (current-module), and not whether it is defined in the > module that calls (defined? '...). Right, but that=E2=80=99s a bit of a theoretical concern in my view. Alternatively, one could write: (module-defined? (resolve-interface '(shepherd service)) 'make-inetd-constructor) Thanks, Ludo=E2=80=99.