GNU bug report logs

#32182 Login fail after core-update without reboot

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #19 received at 32182@debbugs.gnu.org (full text, mbox, reply):

Received: (at 32182) by debbugs.gnu.org; 16 Dec 2021 16:15:53 +0000
From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 16 11:15:53 2021
Received: from localhost ([127.0.0.1]:36488 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	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 <maxim.cournoyer@gmail.com>) 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 <maxim.cournoyer@gmail.com>
To: Ludovic Courtès <ludo@gnu.org>
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 <pierre-antoine.rouby@inria.fr>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Hi again,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Hello,
>
> Ludovic Courtès <ludo@gnu.org> writes:
>
> [...]
>
>>> I can think of several solutions:
>>>
>>>   1. Arrange for services to refer to /gnu/store/…-pam.d instead 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 “service chain-loading” in the Shepherd 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
>>>      <https://bugs.gnu.org/30706>).  That way, when ‘login’ restarts
>>>      after ‘reconfigure’, it’s the new ‘login’ service that would be
>>>      restarted.
>>
>> That bit was implemented long ago with Shepherd service replacements.
>> So at least, now, one can run ‘herd start term-tty1’ 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




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Jan 5 09:15:21 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.