From unknown Thu Jun 12 08:41:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37596: =?UTF-8?Q?=E2=80=98guix?= system =?UTF-8?Q?roll-back=E2=80=99_?= =?UTF-8?Q?doesn=E2=80=99t?= reload services Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 03 Oct 2019 09:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37596 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: bug-Guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157009379812261 (code B ref -1); Thu, 03 Oct 2019 09:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Oct 2019 09:09:58 +0000 Received: from localhost ([127.0.0.1]:38782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFx7V-0003Bh-KU for submit@debbugs.gnu.org; Thu, 03 Oct 2019 05:09:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:36896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFx7S-0003BY-CX for submit@debbugs.gnu.org; Thu, 03 Oct 2019 05:09:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46035) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFx7R-0000JD-FM for bug-Guix@gnu.org; Thu, 03 Oct 2019 05:09:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,BAYES_05 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iFx7R-00026V-Bw for bug-Guix@gnu.org; Thu, 03 Oct 2019 05:09:53 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=60972 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iFx7O-0005pX-4k for bug-Guix@gnu.org; Thu, 03 Oct 2019 05:09:52 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 =?UTF-8?Q?Vend=C3=A9miaire?= an 228 de la =?UTF-8?Q?R=C3=A9volution?= 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: Thu, 03 Oct 2019 11:09:48 +0200 Message-ID: <87wodmyz37.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, =E2=80=98guix system roll-back=E2=80=99 and =E2=80=98switch-generation=E2= =80=99 don=E2=80=99t reload services and don=E2=80=99t run activation scripts like =E2=80=98guix system reconfig= ure=E2=80=99 does. Indeed: --8<---------------cut here---------------start------------->8--- (define (switch-to-system-generation store spec) "Switch the system profile to the generation specified by SPEC, and re-install bootloader with a configuration file that uses the specified sys= tem generation as its default entry. STORE is an open connection to the store." (let ((number (relative-generation-spec->number %system-profile spec))) (if number (begin (reinstall-bootloader store number) (switch-to-generation* %system-profile number)) (leave (G_ "cannot switch to system generation '~a'~%") spec)))) --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 06 12:46:10 2019 Received: (at control) by debbugs.gnu.org; 6 Nov 2019 17:46:10 +0000 Received: from localhost ([127.0.0.1]:41237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSPNi-0006wC-FT for submit@debbugs.gnu.org; Wed, 06 Nov 2019 12:46:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSPNh-0006vs-L8 for control@debbugs.gnu.org; Wed, 06 Nov 2019 12:46:09 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iSPNc-000878-Fu for control@debbugs.gnu.org; Wed, 06 Nov 2019 12:46:04 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54018 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iSPNb-0007Ea-G0 for control@debbugs.gnu.org; Wed, 06 Nov 2019 12:46:04 -0500 Date: Wed, 06 Nov 2019 18:46:02 +0100 Message-Id: <87woccvqxx.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #36855 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 36855 37596 quit From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 06 12:46:30 2019 Received: (at control) by debbugs.gnu.org; 6 Nov 2019 17:46:30 +0000 Received: from localhost ([127.0.0.1]:41240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSPO1-0006x1-NR for submit@debbugs.gnu.org; Wed, 06 Nov 2019 12:46:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSPO0-0006wf-6f for control@debbugs.gnu.org; Wed, 06 Nov 2019 12:46:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iSPNv-0000cU-1X for control@debbugs.gnu.org; Wed, 06 Nov 2019 12:46:23 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54020 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iSPNu-0007HJ-4f for control@debbugs.gnu.org; Wed, 06 Nov 2019 12:46:22 -0500 Date: Wed, 06 Nov 2019 18:46:20 +0100 Message-Id: <87v9rwvqxf.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #36855 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) retitle 36855 'guix system switch-generation' does not reload Shepherd services quit From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 06 12:46:34 2019 Received: (at control) by debbugs.gnu.org; 6 Nov 2019 17:46:34 +0000 Received: from localhost ([127.0.0.1]:41245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSPO6-0006xM-2y for submit@debbugs.gnu.org; Wed, 06 Nov 2019 12:46:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSPO4-0006wo-Ie for control@debbugs.gnu.org; Wed, 06 Nov 2019 12:46:32 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iSPNz-0000mL-0I for control@debbugs.gnu.org; Wed, 06 Nov 2019 12:46:27 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54022 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iSPNy-0007Hf-B5 for control@debbugs.gnu.org; Wed, 06 Nov 2019 12:46:26 -0500 Date: Wed, 06 Nov 2019 18:46:25 +0100 Message-Id: <87tv7gvqxa.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #36855 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) severity 36855 important quit From unknown Thu Jun 12 08:41:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37596: 'guix system switch-generation' does not reload Shepherd services Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 09 Mar 2021 07:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37596 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Robert Vollmert Cc: 36855@debbugs.gnu.org, 37596@debbugs.gnu.org Received: via spool by 37596-submit@debbugs.gnu.org id=B37596.161527331228556 (code B ref 37596); Tue, 09 Mar 2021 07:02:02 +0000 Received: (at 37596) by debbugs.gnu.org; 9 Mar 2021 07:01:52 +0000 Received: from localhost ([127.0.0.1]:45471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJWNM-0007QV-55 for submit@debbugs.gnu.org; Tue, 09 Mar 2021 02:01:52 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:51083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJWNH-0007Q5-Io; Tue, 09 Mar 2021 02:01:48 -0500 Received: from localhost (i15-les02-ntr-176-181-186-101.sfr.lns.abo.bbox.fr [176.181.186.101]) (Authenticated sender: brice@waegenei.re) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 74748240008; Tue, 9 Mar 2021 07:01:40 +0000 (UTC) From: Brice Waegeneire References: <7BE8190F-A8E9-454E-8F37-FBFE42FBDE10@vllmrt.net> Date: Tue, 09 Mar 2021 08:01:34 +0100 In-Reply-To: <7BE8190F-A8E9-454E-8F37-FBFE42FBDE10@vllmrt.net> (Robert Vollmert's message of "Tue, 30 Jul 2019 12:00:23 +0200") Message-ID: <877dmgzu7l.fsf@waegenei.re> 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-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello Guix, To summarise the whole thread, in addition to the main issue explained in the title =E2=80=9C'guix system switch-generation' does not reload Sheph= erd services=E2=80=9C there are 2 other issues talked about. 1. The activation script isn't executed by 'guix system switch-generation', which is fixed in df138dc20858725b90ed77be85f3318cbe1be73a and later. 2. The activation process isn't exclusivly build during the system building process, whihc may the leave the system in half-hazard state if the building taking place during the activation fail. The second side issue should proablby have it's own bug report since it's still present and we should keep that bug report only for the lack of reloading of shepherd service when using 'guix system switch-generation' (or 'roll-back'). Cheers, - Brice