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 MHy/G6mqoGHm6wAAgWs5BA (envelope-from ) for ; Fri, 26 Nov 2021 10:36:41 +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 wEZfF6mqoGFQZwAA1q6Kng (envelope-from ) for ; Fri, 26 Nov 2021 09:36:41 +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 1B3C435AEB for ; Fri, 26 Nov 2021 10:36:41 +0100 (CET) Received: from localhost ([::1]:41342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqXeq-0007yL-9f for larch@yhetil.org; Fri, 26 Nov 2021 04:36:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqXeE-0007hU-Nj for bug-guix@gnu.org; Fri, 26 Nov 2021 04:36:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47144) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqXeE-00060C-En for bug-guix@gnu.org; Fri, 26 Nov 2021 04:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mqXeE-0001P5-8s for bug-guix@gnu.org; Fri, 26 Nov 2021 04:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out) Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 26 Nov 2021 09:36:02 +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: Maxim Cournoyer Cc: dev@jpoiret.xyz, 52051@debbugs.gnu.org Received: via spool by 52051-submit@debbugs.gnu.org id=B52051.16379193475368 (code B ref 52051); Fri, 26 Nov 2021 09:36:02 +0000 Received: (at 52051) by debbugs.gnu.org; 26 Nov 2021 09:35:47 +0000 Received: from localhost ([127.0.0.1]:58690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqXdy-0001OW-OO for submit@debbugs.gnu.org; Fri, 26 Nov 2021 04:35:46 -0500 Received: from jpoiret.xyz ([206.189.101.64]:60466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqXdw-0001OO-Qx for 52051@debbugs.gnu.org; Fri, 26 Nov 2021 04:35:45 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id BED42183B2B; Fri, 26 Nov 2021 09:35:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1637919343; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bAUuRerdDleqm+/SoWrjwN9+iFBaXJq1oAdWrmjCK4c=; b=jMbTFseBVjvCo28RKTXOnx3sOQbmFeO2vxyAF3hJMycavf5h2iMQtBqyl3Xmn90lQ0xLaD ig17vzEe0O62+uJe9oiepk+dMYqdBVUhQyaVErZepQRnJ3QwfVhul6kPmVTmAZQ/FpFBR/ cb7jepz48N5G8no5IhHJJov1VE3ZMrWV8fiphxBdaY4bwbHiGpiIFYEqKfO4Nv5N5gnYKf 5r6LBvIsegCq75uY3OrmQqaPDkKrJWpXBRzIxkA64YeyyP61YV8B6LHnVq+PdLjMQg5VqV FgXBaiofl12S942K/YU7Wa3dBzwZM9O5LFqZBM3n7u6+latzaaysuA7PqmgzAg== In-Reply-To: <87tug0c1zi.fsf@gmail.com> References: <87pmqr1i8k.fsf@gmail.com> <87czmqorjb.fsf@jpoiret.xyz> <87tug0c1zi.fsf@gmail.com> Date: Fri, 26 Nov 2021 09:35:42 +0000 Message-ID: <87wnkvp8cx.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Bar: / 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" Reply-to: Josselin Poiret From: Josselin Poiret via Bug reports for GNU 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=1637919401; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=bAUuRerdDleqm+/SoWrjwN9+iFBaXJq1oAdWrmjCK4c=; b=aBGi9z+pcgmjwguNXHYeVBEXK4kB57urIpTVe/FbF9usaEsTkhJ1WU1ntZKy/GUi2GTPmx PqoDAQbA+zEpPZTDJBFc3Mjlm1eq7MKh/yCcNVpO29PfPe9H+fO0qXT2CslX7NGjyp4uhT BZciYAx/ONy9vjLGlD5lJ1I2Lod4e46f4ClHWiH/Z2TKI70/UrckMChFfPedPeB8s2ZCDW CFsODqn5HG+xJsMEZItAjVEl2e712nxXIW2CnpmpUR4Wvqu26d+n/ujZ+FgJYsotXQME1Z /1GOJD+VmGmXVAKveO4S4fjsK16MWxBiVx7mB7eyr5Pxddzl5eRPIq3PU/1aPA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637919401; a=rsa-sha256; cv=none; b=jhhF3tJ7BV1t8oK+gZdWPCQmBn643o1EysOYwR9QDCJIdvUZy+WZCzf3ZapL9hW5XkfpRy tVbx/jLuTvvumbam5ylJ8aMo4nEJhrbxQmmzj9aXBxFJLAID93/7no/lf1yKPhM+nezEJA 06LgdIQ10F7O+2qFKwCCIvlc/jrzc/OmZoctEmeAO/x60XugFDrpK71711xml4n5w3hbnX wlCDbNe4ecRpT1VP+MD0J6mqJHbPd2956GrNCMGxMcLEByGgm8QQvPt8xx/+jO8A7EkE+n KgwETZEf3o4BZVtBXaa16spPP792XlJEsC5kDdGt/fB0pCWilF51wFENjF0/QQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=jMbTFseB; 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.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=jMbTFseB; 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: 1B3C435AEB X-Spam-Score: -3.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: kyX+b6wP3I/s Maxim Cournoyer writes: > Hello, > > I've found a workaround: restarting elogind via SSH resolved the issue. > > I guess itt may be a race between elogind and dbus-system (elogind gets > started before dbus-system is fully up, and the communication with the > session bus is somehow crippled from there?). Does this happen with other login managers on your system, like LightDM? The thing is that elogind depends on dbus-system, so I'm not sure there should be a race there. I noticed though that none of our desktop managers's shepherd services require elogind, and in the case of SLiM not even dbus-system. Maybe we should add it there, since we want Shepherd to handle launching elogind, and avoid dbus launching one by itself if the login1 service is used or even by the PAM elogind module. Can you try adding that to slim-shepherd-service? Also, maybe patching the dbus service to Exec=false instead would be a good safeguard against dbus launching elogind itself. Tangentially: SLiM is very old and unmaintained, so it may one day simply break with newer versions of systemd/elogind. Best, Josselin Poiret