From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 16 11:15:53 2021 Received: (at 32182) by debbugs.gnu.org; 16 Dec 2021 16:15:53 +0000 Received: from localhost ([127.0.0.1]:36488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxtQ9-0003nt-Fo for submit@debbugs.gnu.org; Thu, 16 Dec 2021 11:15:53 -0500 Received: from mail-qk1-f177.google.com ([209.85.222.177]:43779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxtQ7-0003ne-Vh for 32182@debbugs.gnu.org; Thu, 16 Dec 2021 11:15:52 -0500 Received: by mail-qk1-f177.google.com with SMTP id 193so23706326qkh.10 for <32182@debbugs.gnu.org>; Thu, 16 Dec 2021 08:15:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=tN0HK2fstwyhK7EEmhNLwOQMMDXFcuqLmdcS335ulV4=; b=G9yIkCIY7QdjbdthmqZbkoTfTxgyAAytbSZNQWzAuAIHd80lmGFADjNJP9v6bwzI3p W4Ej0P7L3Mlf6mlKgqS7e/lvZoGx54qbb+6NMc7r+VyFkglyAH49a+jGYuFtrlxlE3L1 6lzfYyydfZ3C729poh+qjEL3KEkY30fyZNzrqDaXmXyEGSjxwlFFfYvyx+NmGK69tJiM +Ylk8LIydcaXFaZDcGrCEYH+XJOU1EqX9hd/n+KDxxgtSOZQV5Yzh+0CpuqR0KGJ1Rv4 W9ElxDLDJGQTzU0jkn8dOGeQF8d5z7+2Qouvyb3l0yz5cFD0DsDLCfXJF2qLLhLn3moU Fx5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=tN0HK2fstwyhK7EEmhNLwOQMMDXFcuqLmdcS335ulV4=; b=TpQee9bPYr0Nejn2tLXeEViqPfHmVh6rA1GTR8b61/ObuN7/XfIKRkvImCJV+BcXQ+ 9aXl56UaBvfpvAM4XameFtdxKqMoI8AKyvwhGikT9zgbfgNvaToHNhxW3/KlVvXpEOtn pi8H4p45TxC+KI0Mb0HIlnghWL/XXxOYwMb0JKclYR3+YdfFYU9yTDzFyOV/4gA6nF6G 2vZ0ClSGKYazwYTA+JoWX+eVP1ffl9Ntd09LUQe+FRPCgrERbBPPbgRMJeOHhAN0YEE1 JIVBKgrLRHQFC0vEd3lNlWV7ZjO0soumRIYFQ720IaEKEkO/GZOVzj0O8aRWrHHnLfvt /dwQ== X-Gm-Message-State: AOAM533a2Q05c3UdlEc/DfzfMwDvd8bTcI2DG3rhosbF9WL/Gv4CcIhR m/JqMeh6ec5+f/9I3rzb8qg= X-Google-Smtp-Source: ABdhPJwiUZjrcxdWFJLo885Hw/6ImbWsz5+AkMBoPsudyq31SBgSnCHq1BGG2P/WZr3+vuLIiOqaJg== X-Received: by 2002:a05:620a:2808:: with SMTP id f8mr12417257qkp.402.1639671346426; Thu, 16 Dec 2021 08:15:46 -0800 (PST) Received: from raisin ([2607:fad8:4:6:235e:8579:8464:aacc]) by smtp.gmail.com with ESMTPSA id w2sm4649813qta.11.2021.12.16.08.15.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 08:15:45 -0800 (PST) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#32182: Login fail after core-update without reboot References: <655514906.8428771.1531816208634.JavaMail.zimbra@inria.fr> <87r2juqegc.fsf@gnu.org> <87mu6q5rnn.fsf@gnu.org> <878rwksfvt.fsf@gmail.com> Date: Thu, 16 Dec 2021 11:15:44 -0500 In-Reply-To: <878rwksfvt.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 16 Dec 2021 10:56:06 -0500") Message-ID: <875yrosez3.fsf@gmail.com> 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32182 Cc: 32182@debbugs.gnu.org, Pierre-Antoine Rouby 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.0 (-) Hi again, Maxim Cournoyer writes: > Hello, > > Ludovic Court=C3=A8s writes: > > [...] > >>> I can think of several solutions: >>> >>> 1. Arrange for services to refer to /gnu/store/=E2=80=A6-pam.d instea= d of >>> /etc/pam.d. This can maybe be achieved by modifying PAM such that >>> these applications honor $PAM_DIRECTORY or something like that. >>> >>> 2. Add support for =E2=80=9Cservice chain-loading=E2=80=9D in the She= pherd and/or >>> GuixSD. The idea is that, for services that cannot be restarted >>> right away because they are currently running, register code to >>> upgrade the service next time it is restarted (see >>> ). That way, when =E2=80=98login=E2= =80=99 restarts >>> after =E2=80=98reconfigure=E2=80=99, it=E2=80=99s the new =E2=80= =98login=E2=80=99 service that would be >>> restarted. >> >> That bit was implemented long ago with Shepherd service replacements. >> So at least, now, one can run =E2=80=98herd start term-tty1=E2=80=99 or = similar to get a >> working login: > > Point 2 doesn't seem to help in working around or fixing the related > #52533 though, correct? Restarting the remote elogind or even > ssh-daemon doesn't work there, perhaps because 'guix deploy' wasn't able > to complete in the first place. Another bit that probably played a role here: the above failure to complete is perhaps caused/made worst by #41238 (guix deploy close ssh session after each store items sent), which doesn't reuse the same stable SSH session to do the whole of what it needs to do. Maxim