GNU bug report logs

#32182 Login fail after core-update without reboot

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

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

Received: (at 32182) by debbugs.gnu.org; 16 Dec 2021 15:56:19 +0000
From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 16 10:56:19 2021
Received: from localhost ([127.0.0.1]:36473 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1mxt7D-0003EJ-4x
	for submit@debbugs.gnu.org; Thu, 16 Dec 2021 10:56:19 -0500
Received: from mail-qk1-f177.google.com ([209.85.222.177]:40768)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@gmail.com>) id 1mxt78-0003Dv-Eq
 for 32182@debbugs.gnu.org; Thu, 16 Dec 2021 10:56:17 -0500
Received: by mail-qk1-f177.google.com with SMTP id p4so23683272qkm.7
 for <32182@debbugs.gnu.org>; Thu, 16 Dec 2021 07:56:14 -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=cfuKToY8x/z5u9F5wceKjK3NBsvAdIh5XbXT2tgzTT4=;
 b=oHMBs5ObRs2MeRJdpohwcI3trN+d0sPRg9GbSSQwwWL0cTLbPBcKzEdPtsg4gAKzQF
 2A3qYP0HFDW+5w59W8m7FL5ZgzIH/NNdH9i88fuxAKewgLez9fXLQBDcud/Ul+6xtyMI
 i7qJjLOg+GEbHgWjCUbyDV2C7faBlhG4Jbya2li3Lwx9U790ddNstfLBekYKnNhp4Y1l
 q7KlTVLpjOW4iPwAyfMMYZ1PbGN1DL1c+XME+ouDVwvL2rHo8xyIlOYjsSpYoegJ/o/x
 sgL+pSIvZnU48qb5N61oyBRDauyl+Bvw++Dx/nOkWC/xuPxxDnoN5hDrFdI74qILvx99
 N3kA==
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=cfuKToY8x/z5u9F5wceKjK3NBsvAdIh5XbXT2tgzTT4=;
 b=pLZwTTxkOd+XDlUBkX0aSy96SrrfulcaumBzjAlxJyvu18r/27zk6A3rQp+fS95EBq
 HsGQFUdF88W9Ib9L/8VqAQ5VDQU4MbSKfTY408JPljKpT9ILqiWLNM2Ev4kVF9MtjX2r
 HwLfnE8/Rec9AqY/OsA8VJCExGewA3MvFAUNGuVnvf+kJNq8oYCeIU6u79g4CdFMoDIM
 fniKPuMzAJqAxmildBuYAOVrnJbh2cJwnc6EVo01wSg6XSW8tRWEyLDr58jT43YZAEbv
 vM4gx+C809RVUedGooNy/+eN6gpIRsGvXkfPQAMrzr+Xzt7wWHeefAcikfdMj10hYrfD
 OPuA==
X-Gm-Message-State: AOAM532dbolhn3+sXQ5Env2ULCiGJ11xUIMHl7mxhQHMVZjsub6zmGBG
 62xWqwM3HADI3oBfuYPs2uQjfrRnc1E=
X-Google-Smtp-Source: ABdhPJxtt6LKVDuvzRgeKyggpqVK7aITTUzLZLAp65yz+RSbyUMeik63fY+Kt6On4xwQuWanmAr4aQ==
X-Received: by 2002:a37:9ad6:: with SMTP id
 c205mr12491827qke.116.1639670168647; 
 Thu, 16 Dec 2021 07:56:08 -0800 (PST)
Received: from raisin ([2607:fad8:4:6:235e:8579:8464:aacc])
 by smtp.gmail.com with ESMTPSA id u10sm4638252qtx.3.2021.12.16.07.56.07
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 16 Dec 2021 07:56:08 -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>
Date: Thu, 16 Dec 2021 10:56:06 -0500
In-Reply-To: <87mu6q5rnn.fsf@gnu.org> ("Ludovic Courtès"'s message of "Sat, 02 May 2020 16:37:48 +0200")
Message-ID: <878rwksfvt.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 (-)
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.

I guess that means we should look into fixing point 1., as you already
suggested.  On top of that I'd propose disabling PAM unless there's a
good reason to have it on by default; as I wrote in the other issue,
`man sshd_config' documents that by default in OpenSSH it is disabled.

Thanks,

Maxim




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Jan 5 09:21:04 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.