From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yGR/IRyfwWHIAAEAgWs5BA (envelope-from ) for ; Tue, 21 Dec 2021 10:32:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WIZPHRyfwWGIIQAA1q6Kng (envelope-from ) for ; Tue, 21 Dec 2021 09:32:12 +0000 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 2698D35792 for ; Tue, 21 Dec 2021 10:32:12 +0100 (CET) Received: from localhost ([::1]:51410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzbVD-0004bR-6k for larch@yhetil.org; Tue, 21 Dec 2021 04:32:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzbV4-0004bJ-6c for bug-guix@gnu.org; Tue, 21 Dec 2021 04:32:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40806) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzbV3-0002HR-Qt for bug-guix@gnu.org; Tue, 21 Dec 2021 04:32:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mzbV3-0002et-Is for bug-guix@gnu.org; Tue, 21 Dec 2021 04:32:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out) Resent-From: Timothy Sample Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 21 Dec 2021 09:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52051 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Josselin Poiret Received: via spool by 52051-submit@debbugs.gnu.org id=B52051.164007909810189 (code B ref 52051); Tue, 21 Dec 2021 09:32:01 +0000 Received: (at 52051) by debbugs.gnu.org; 21 Dec 2021 09:31:38 +0000 Received: from localhost ([127.0.0.1]:52352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzbUf-0002eH-Kp for submit@debbugs.gnu.org; Tue, 21 Dec 2021 04:31:37 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:44777) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzbUd-0002e4-Jv for 52051@debbugs.gnu.org; Tue, 21 Dec 2021 04:31:36 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 58D1D5C012F; Tue, 21 Dec 2021 04:31:30 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 21 Dec 2021 04:31:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=YqQNMvUetBW548l4syuHwb1qGiaDXKzzkYSs6fmCY DI=; b=Hba+S1qqXdODnsl4fV+CqrP0NYamvpqON1G/7BbNcGsRrnBxV0rXc3RD2 eyN6K3aZpOJ2LtFS9wcWXoglj6fQ4je2f0bf9gVmxcmkGKaVqj1BRwkVZ6W4XFXm bME48nNdYPo4oUk47ruDNod7sHIh7luUYNrANz3O3UtjirCNJSC165+CSY/5Vn6h nCCWcl/LmNvOY/Z1ctv2I+B+8mJfD1lPZSPaprBmRJfdpzKuGfpeuiyuLQw6ghXB Og3LgUL1GTuTv0w0b8e+JICq1Avx4TQjnl/BPxpXuDkFa7p8V6UkPfDPplpsYfcH tOfWYNbtCYsr2FFad/lq29qO17spw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddtgedgtdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlvdefmdenucfjughrpefhvffufhffjgfkfgggtgfgsehtqhertddt reejnecuhfhrohhmpefvihhmohhthhihucfurghmphhlvgcuoehsrghmphhlvghtsehngh ihrhhordgtohhmqeenucggtffrrghtthgvrhhnpeetgeefudejjeelhedtueefudeugeff hfelieekieekjefffeeuueduveegtdetveenucffohhmrghinhepfhhrvggvuggvshhkth hophdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehsrghmphhlvghtsehnghihrhhordgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Dec 2021 04:31:29 -0500 (EST) From: Timothy Sample References: <87pmqr1i8k.fsf@gmail.com> <87czmqorjb.fsf@jpoiret.xyz> <87tug0c1zi.fsf@gmail.com> <87wnkvp8cx.fsf@jpoiret.xyz> <87mtlcun1h.fsf@gmail.com> <87a6hahha0.fsf@gnu.org> <87bl1plv4q.fsf@gmail.com> <87v8zxctn5.fsf@gnu.org> <875yrxyrjr.fsf@gmail.com> <8735msz9v8.fsf@jpoiret.xyz> Date: Tue, 21 Dec 2021 04:31:27 -0500 In-Reply-To: <8735msz9v8.fsf@jpoiret.xyz> (Josselin Poiret's message of "Thu, 16 Dec 2021 19:24:11 +0100") Message-ID: <87czlq1ez4.fsf@ngyro.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-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: , Cc: Maxim Cournoyer , 52051@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640079132; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YqQNMvUetBW548l4syuHwb1qGiaDXKzzkYSs6fmCYDI=; b=h2kpdaeUYka1PSyot00YeWfN+76hCiV4h1lJxlfElUUFkJjfHzVYALbMT8BiKkMNzyOwCi c/RBVmHezV5qVpsE0ZiPVWAahJ+iWe3VD+606o7nUaxcH0YrVEEzBsCbMsg0g0D3TZPBxl pr7y1PCdEZCD4WUXrHQFaLA62/VoUe4grQjb0aPnQg2crcw+0Sq9C+6AlfhdaPN84fVC7e mAUEuf8d+jO0bivKrdiBGHlSJbPIpV/pkTCs/sNcDbQly5RW26uS2sGC4eceUQt+zcqePz LabGwEQYluE7OHJBIt2C+etFFIFQTeQjp0hGp//1EAWG7anTl6iVqJJcyiR9Jg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640079132; a=rsa-sha256; cv=none; b=ePwSjE3XaXHk7WXn0H245BIcKUK/gvIxaLMg3RUrCymHUh6kO3jD7BBYMq6BDgwcUewga3 PHsuOIBqdELWN07UxqUqEkgt8o9lw9/UwrdT5DS9DO9j9A8qOawO9AxuTvub3IcADt6J3H JIQZ581qxbU7jauCw4I3O4I8VZhxdCHX+TE9pbEAcRbShRT2QPEH0ZtxtitIoYA31lZl1G lIAa/Qzg39j8L7vreoy9MmI4yhdXvudSdc10+AO2YxQ4Rz8lhFFa4yGdygi1/bsqTWoSqv FOepCA5I7e2PCl/pr9ZRumiF6J042tBKPJifrqv+XAwYo1FdrWRpk8llkrIHVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=Hba+S1qq; dmarc=none; 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.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=Hba+S1qq; dmarc=none; 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: 2698D35792 X-Spam-Score: -3.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: vBd56YoDDmaT Hello, I dug out an old HDD, put it in my X200, and was able to reproduce this. Eventually I was able to log in to the thing by fiddling with the =E2=80=9Cauth_timeout=E2=80=9D parameter in the D-Bus config. Josselin Poiret writes: > [...] > > Would it be possible to get both the elogind strace and the dbus log for > the same session? We could then simply `grep` the authentication cookie > sent back by dbus to elogind to track the corresponding fd in the dbus > log. This is exactly what I did (thanks for posting the patches, Maxim). While looking around in the D-Bus log, I noticed it complaining about authentication expiry around where it mentions the PID of elogind. This is in Maxim=E2=80=99s log, too. It counts down an authentication expiry wi= th messages like =E2=80=9CConnection 0x23b9f50 authentication expires in ...= =E2=80=9D. That brought me to the D-Bus NEWS file, which mentions adjusting =E2=80=9Cauth_timeout=E2=80=9D to fix a boot regression for users with olde= r hardware [1]. The NEWS file mentions a bug report [2] that discusses how this might be related to hard disk speed. [1] https://gitlab.freedesktop.org/dbus/dbus/-/blob/master/NEWS#L2487 [2] https://bugs.freedesktop.org/show_bug.cgi?id=3D86431#c3 After reading that I tried with the timeout bumped up to a minute, and the X200 booted into GDM just fine, twice in row, and then failed again when I removed the change. (I should add that it still printed the =E2=80=9Celogind is already running=E2=80=9D messages, but it worked anyway= .) What=E2=80=99s weird is that this bug is very old (2014), and the default timeout was increased at the time from 5s to 30s to solve the bug. So it=E2=80=99s part of the story, but not the whole story. -- Tim