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 ms0.migadu.com with LMTPS id oGqxG7p2UWIUzgAAgWs5BA (envelope-from ) for ; Sat, 09 Apr 2022 14:06:18 +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 QP8VGbp2UWLqEgEA9RJhRA (envelope-from ) for ; Sat, 09 Apr 2022 14:06:18 +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 0F7CF17DAF for ; Sat, 9 Apr 2022 14:06:15 +0200 (CEST) Received: from localhost ([::1]:42596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nd9r3-0007aU-CQ for larch@yhetil.org; Sat, 09 Apr 2022 08:06:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nd9qt-0007aB-7d for bug-guix@gnu.org; Sat, 09 Apr 2022 08:06:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43008) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nd9qs-0004v0-TZ for bug-guix@gnu.org; Sat, 09 Apr 2022 08:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nd9qs-0004hG-LO for bug-guix@gnu.org; Sat, 09 Apr 2022 08:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54812: =?UTF-8?Q?=E2=80=98guix?= system =?UTF-8?Q?reconfigure=E2=80=99?= closes SSH connections Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 09 Apr 2022 12:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54812 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 54812@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164950592418004 (code B ref -1); Sat, 09 Apr 2022 12:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Apr 2022 12:05:24 +0000 Received: from localhost ([127.0.0.1]:36905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9qF-0004gK-LL for submit@debbugs.gnu.org; Sat, 09 Apr 2022 08:05:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:58326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9qC-0004gB-7l for submit@debbugs.gnu.org; Sat, 09 Apr 2022 08:05:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nd9qA-0007Wc-Vb for bug-guix@gnu.org; Sat, 09 Apr 2022 08:05:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49014) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nd9qA-0004oO-NH for bug-guix@gnu.org; Sat, 09 Apr 2022 08:05:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=zkS+5uYN1/asFHU1jstCUlnHasjm4JSx0ST67ptaPgE=; b=lv8CztgPjzrAnK xCkhnzoyArO2iSS04Gb9Ks6i5NwCalEFGEeWLSl79OAax+8OZem3o5MjZ/sa+I5m7P9OkFGiJ/3L/ zqPvNOXZsiu6uc88aSLoiTQ+Af/ysVhc2keozjNWSe9ITnZYX7UiIKNYsaTWKsAAYH0YeaLKW+M87 tl+gKT8j0AJOrBfsZAhNETUDeXpir2N58yiAAaNS9vooD5w1IygBveiV2r5MyLHmHpGuouvTqMNvu 6Zw/azooiRNUEoTreK/Rm/sL+Cuey9/5jmSK+Cqo4wroRkiiCjpIymNcfeI+CCyQr16bFm0nInuHt /KwOTLWK/cy6bfT7uLfA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:64129 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nd9q9-0004d8-V6 for bug-guix@gnu.org; Sat, 09 Apr 2022 08:05:18 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 Germinal an 230 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: Sat, 09 Apr 2022 14:05:15 +0200 Message-ID: <87k0by8nt0.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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" 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=1649505975; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=zkS+5uYN1/asFHU1jstCUlnHasjm4JSx0ST67ptaPgE=; b=hT9BHFR5jkXdWv7Wu81YfvWsAIUSEefkHeNyEBB/baR/Y/uxNmu1PLGv3tUTf0bHA5MliY 0Xro1veLxKjdpaaqlOAFrCAL7F668A+6sXSUIps4K78ZehgUU7cH7scgPJ9NLRfPUWOuSr 2hWgj3dpEdiyzeDYVjcqE+/wTQigD1H4qJz8Lzi44CDMBJ/JomGSahgleRh18oHmenVeU7 vOvM8ILElfBUfK0XfvUMvFpe2XUBGK7Oi+7OZV4u4dzhcagJNTrCIMNQ2SspMhcLWcWUjc SHpIQ/VP9ifPuIEpZiP08bXJLfAWT1w/FkQjKnKmtHL3btvBI5fYtdK8i8KXJw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649505975; a=rsa-sha256; cv=none; b=Q/+1Q3vSf3V7Zh2Zd4psUOtbNyYllKz8LVFkkBK6myklXpeT9doRwJiS9rWAv5Xank4MZU 98aaoKbRJNl8AjRtut49i3uIfH5VwlPBIIzbwXZ8yFW1OZwUuxEteH17dZvaOnT5JKLQpu AVPhZm9WfeZMjVsb6b/YOYaEbaVXgqgUSw5qYy4AQTyH+riG20gtZZCC2uzgPxWbG+p2Sv bx3IRjRlnjW/t25hbtL6b+SOHporVzztJiVl0BPpUGw1LyhQGEQM8gQsnWSJBYhL3BS8OB HmDZWl7XqFTfDeWchCh4aD4uWvEOKt+AizYGdiXc2ePbwBQE0VmUkxXtJRvXBg== 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=lv8CztgP; 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: -3.97 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=lv8CztgP; 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: 0F7CF17DAF X-Spam-Score: -3.97 X-Migadu-Scanner: scn1.migadu.com X-TUID: S2UgkFQd/Adi With OpenSSH turned into inetd style in commit 808b9e850491c7b1d867a5f1f4d5ee6f61f345d4, the service upgrade code used by =E2=80=98guix system reconfigure=E2=80=99 and =E2=80=98guix deploy=E2=80= =99 wrongfully decides that the =E2=80=98sshd-*=E2=80=99 transient services corresponding to individual= SSH connections should be closed: --8<---------------cut here---------------start------------->8--- $ sudo guix system reconfigure =E2=80=A6 [=E2=80=A6] guix system: chargeur d'amor=C3=A7age correctement install=C3=A9 sur =C2=AB= (/dev/sda) =C2=BB 0,0 Mo seront t=C3=A9l=C3=A9charg=C3=A9s module-import-compiled 20KiB = 1= .2MiB/s 00:00 [##################] 100.0% The following derivation will be built: /gnu/store/n99ahnnw94cay1drg499kxsg5ma6598p-upgrade-shepherd-services.scm= .drv 0,0 Mo seront t=C3=A9l=C3=A9charg=C3=A9s module-import-compiled 20KiB = 1= .8MiB/s 00:00 [##################] 100.0% construction de /gnu/store/n99ahnnw94cay1drg499kxsg5ma6598p-upgrade-shepher= d-services.scm.drv... shepherd: Removing service 'sshd-1'... shepherd: Service sshd-1 has been stopped. shepherd: Transient service sshd-1 unregistered. shepherd: Done. shepherd: Removing service 'sshd-3'... shepherd: Service sshd-3 has been stopped. shepherd: Transient service sshd-3 unregistered. shepherd: Done. shepherd: Service swap-swap could not be started. shepherd: Service host-name has been started. shepherd: Service user-homes has been started. shepherd: Service sysctl has been started. shepherd: Service host-name has been started. shepherd: Service term-console could not be started. shepherd: Service bluetooth has been started. Pour compl=C3=A9ter la mise =C3=A0 jour, lancez =C2=AB herd restart SERVICE= =C2=BB pour arr=C3=AAter, mettre =C3=A0 jour et red=C3=A9marrer tous les services qui n'ont pas =C3= =A9t=C3=A9 red=C3=A9marr=C3=A9s automatiquement. Lancez =C2=AB herd status =C2=BB pour visualiser la liste des services de v= otre syst=C3=A8me. --8<---------------cut here---------------end--------------->8--- I think the solution is to leave transient services untouched. Unfortunately, the status sexp returned by =E2=80=98services->sexp=E2=80=99= currently lacks information about whether a service is transient. Ludo=E2=80=99.