From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0EZvC8eoN2CCXQAA0tVLHw (envelope-from ) for ; Thu, 25 Feb 2021 13:40:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OMg+B8eoN2BUIgAA1q6Kng (envelope-from ) for ; Thu, 25 Feb 2021 13:40:23 +0000 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 53B6618DCD for ; Thu, 25 Feb 2021 14:40:22 +0100 (CET) Received: from localhost ([::1]:38124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFGsN-0004Xe-U8 for larch@yhetil.org; Thu, 25 Feb 2021 08:40:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFGoE-0007XA-QJ for bug-guix@gnu.org; Thu, 25 Feb 2021 08:36:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53766) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lFGoE-0004Wh-J2 for bug-guix@gnu.org; Thu, 25 Feb 2021 08:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lFGoE-0001VO-Gr for bug-guix@gnu.org; Thu, 25 Feb 2021 08:36:02 -0500 Subject: bug#46712: Removed service extensions are not unloaded from Shepherd upon reconfiguring Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Thu, 25 Feb 2021 13:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 46712 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Mail-Followup-To: 46712@debbugs.gnu.org, maxim.cournoyer@gmail.com, maxim.cournoyer@gmail.com Received: via spool by 46712-done@debbugs.gnu.org id=D46712.16142601565767 (code D ref 46712); Thu, 25 Feb 2021 13:36:02 +0000 Received: (at 46712-done) by debbugs.gnu.org; 25 Feb 2021 13:35:56 +0000 Received: from localhost ([127.0.0.1]:37077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFGo7-0001Uw-TQ for submit@debbugs.gnu.org; Thu, 25 Feb 2021 08:35:56 -0500 Received: from mail-qk1-f178.google.com ([209.85.222.178]:43030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFGo6-0001Uj-4D for 46712-done@debbugs.gnu.org; Thu, 25 Feb 2021 08:35:55 -0500 Received: by mail-qk1-f178.google.com with SMTP id m144so5543081qke.10 for <46712-done@debbugs.gnu.org>; Thu, 25 Feb 2021 05:35:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ARo876yiL6Jc8I/FKAze48tWYk6K4ztGgDRiUGsewe4=; b=MSlfODKo0XcNK8VuF5I837MXvRQgKs8UpWra6MCD3tJXYVsUlyV25AivxJpc9BZ6IZ l9je+ssyDy7TnJKsa+JxAxdX1bF9VFKbiBlECX8iGxsdypktVy9LZCMctRu2XY/i4v7P /Bym0cXsO+ge1R0GmNjbzGUWEoWvcBQr4azMOZisRnU1CZp8PaMWWbk2DW/uf/g2nJNJ FlpfVwowhjSxia0F+ZyDlvDc7/9ZEQ30RMtjbAtkO4ZPG0NGB7GQGyXn5x+wyyOTTh/j b1wy4DSxo8Mf5gOcKvkXNprd+1IuyY2nGve+VvaK1rse+H4lzSin7MPjEpBfSiWVdLuq kORw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=ARo876yiL6Jc8I/FKAze48tWYk6K4ztGgDRiUGsewe4=; b=HeyKYjf34TxOzPpw59PwCWyfzNrwATf/HLlWzuXHxF2xFcXQXmGUxvFK5cIjTmYdki 275CEB97lDov/odTAyPeTTiSn56YKSiUoQ7tM4nFSK3Zfu/8yr2OFWHVINGM+JSIyEeW LGtTs2mdW3CmOxb3lN5vcm4QM/gkuZ4y/+y4tKl3fY9d4RQXhzaYzD7C3+MEWvJKKyFs FJWGqa1AKpN9B+CUWWzKxaFMnJ/r0uO3P93upn8sfAqcktyTMnGekE77QriIvR4b9JAc 2hZhPZVncycyH5aY1YPaX+dCXTl8TFMm2HkXDIv6vSRFHNqKzElbufmF6eHEUBVeNqMb SQQA== X-Gm-Message-State: AOAM531XKIw0IHiex/6nBGZn1CA+Q6HnD9NHDERogYCiskP3r1CTe/fb DswabtSC0JcNqp9by3MgsBQtI8qhwZCO8g== X-Google-Smtp-Source: ABdhPJxp0kRSFQSDky7Ehebtnc7qeaNwIkf3BWCjZUQ8b+1al1ZCWcrQ0u6twnvkROTe6gCJ6kuK3A== X-Received: by 2002:a05:620a:227:: with SMTP id u7mr2693981qkm.226.1614260148296; Thu, 25 Feb 2021 05:35:48 -0800 (PST) Received: from hurd (dsl-10-130-102.b2b2c.ca. [72.10.130.102]) by smtp.gmail.com with ESMTPSA id s126sm3803226qkf.62.2021.02.25.05.35.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Feb 2021 05:35:47 -0800 (PST) From: Maxim Cournoyer References: <874ki3alfe.fsf@gmail.com> <87a6ru4x3e.fsf@gnu.org> Date: Thu, 25 Feb 2021 08:35:46 -0500 In-Reply-To: <87a6ru4x3e.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 23 Feb 2021 16:34:13 +0100") Message-ID: <87tuq08e31.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: , Cc: 46712-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.27 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=MSlfODKo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 53B6618DCD X-Spam-Score: -1.27 X-Migadu-Scanner: scn1.migadu.com X-TUID: m9zYmIXIZzyH Hello! Ludovic Court=C3=A8s writes: > Hi! > > At the Shepherd level, there=E2=80=99s no notion of service extension. > Normally, after reconfiguring, =E2=80=9Cherd restart guix-daemon=E2=80=9D= (really > =E2=80=9Crestart=E2=80=9D, not =E2=80=9Cstop=E2=80=9D + =E2=80=9Cstart=E2= =80=9D) should start the new service, which > doesn=E2=80=99t have all these =E2=80=98--chroot-directory=E2=80=99 optio= ns. FTR, I had used 'guix deploy' and issued 'sudo herd restart guix-daemon' on the remote after it completed successfully. Why should stop + start be different than restart though? That seems counter-intuitive. > Note that the guix-daemon process you should seems to be a child process > (presumably because there was still a client running when you restarted > the service), not the main guix-daemon process. > > You should check the command line of the main process, the one returned > by =E2=80=9Cherd status guix-daemon=E2=80=9D. You are right that this process has the correct arguments: $ sudo herd status guix-daemon Status of guix-daemon: It is started. Running value is 25628. It is enabled. Provides (guix-daemon). Requires (user-processes). Conflicts with (). Will be respawned. $ cat /proc/25628/cmdline /gnu/store/rqif4yxa6ny4nxrdq6whnva2r089jm0c-guix-1.2.0-13.a53f711/bin/guix-= daemon--build-users-groupguixbuild--max-silent-time0--timeout0--log-compres= sionnone--discover=3Dno--substitute-urlshttps://ci.guix.gnu.org--max-jobs= =3D20 Some of the other process were apparently caused by 'guix=20 environment' shells still running in screen; I've terminated them all now and ran 'sudo herd stop guix-daemon'; surprisingly I still had two remaining guix-daemon processes that were launched manually for testing purposes. That's on a Guix system with an uptime of 174 days and counting :-). Thank you for the answer and sorry for the noise! It works as designed. Closing. Maxim