From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oP+EDZk/0GGxLQAAgWs5BA (envelope-from ) for ; Sat, 01 Jan 2022 12:48:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2NIYCpk/0GE6+gAAauVa8A (envelope-from ) for ; Sat, 01 Jan 2022 12:48:41 +0100 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 CB0EF2DFBF for ; Sat, 1 Jan 2022 12:48:40 +0100 (CET) Received: from localhost ([::1]:36574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3csJ-00036z-F5 for larch@yhetil.org; Sat, 01 Jan 2022 06:48:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3crk-00036b-QQ for bug-guix@gnu.org; Sat, 01 Jan 2022 06:48:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46288) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3cri-0002Sk-RU for bug-guix@gnu.org; Sat, 01 Jan 2022 06:48:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3cri-0000ja-KO for bug-guix@gnu.org; Sat, 01 Jan 2022 06:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52786: [aarch64] elogind 246.10 fails to start on ROCK64, breaking sway Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 01 Jan 2022 11:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52786 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 52786@debbugs.gnu.org Received: via spool by 52786-submit@debbugs.gnu.org id=B52786.16410376442654 (code B ref 52786); Sat, 01 Jan 2022 11:48:02 +0000 Received: (at 52786) by debbugs.gnu.org; 1 Jan 2022 11:47:24 +0000 Received: from localhost ([127.0.0.1]:57834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3cr6-0000gj-6i for submit@debbugs.gnu.org; Sat, 01 Jan 2022 06:47:24 -0500 Received: from pelzflorian.de ([5.45.111.108]:44898 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3cr3-0000ga-BV for 52786@debbugs.gnu.org; Sat, 01 Jan 2022 06:47:22 -0500 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id AB6FC3606F6 for <52786@debbugs.gnu.org>; Sat, 1 Jan 2022 12:47:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1641037639; bh=GUOKRyTJFkj4tVv2Kt6jTdeuxp2RNvoQ22j1TMP7H1A=; h=Date:From:To:Subject:References:In-Reply-To; b=rVlL/NvdgRowZGVyf6DgDN0L9dUhPcWeJanz4xHc+Ovb27OKUI864LdBfPHvfYJ/S n/xUKFEoI/nmi4T0TSWylT75SC3nmfxEC9tNMVPMVowF4A6SNhOsRlKcMTDfjdMOxU lU0MtrDQi/5Mba+gr04XvZfHWsFXyudYdUkOvccM= Date: Sat, 1 Jan 2022 12:47:04 +0100 From: "pelzflorian (Florian Pelz)" Message-ID: <20220101114704.sbq3bk3gvebrus65@pelzflorian.localdomain> References: <20211225083537.7tj3n7gxf5wexlip@pelzflorian.localdomain> <20211228153523.abeersugniwcjfvz@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="5brl4juz5qa3nxbn" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211228153523.abeersugniwcjfvz@pelzflorian.localdomain> 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" 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=1641037720; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=UQ6bGGsdRaaM8Gag0VrU2g5x34H+TmbNsaPG7oGWBRw=; b=FKYia4cvLUYgdn+xCmGR/4LLd61YEUPzknZBAHu3EuY3wPQjNo3hHc+ub2OInCK7gRyVbA resVDFfoEi5Q1T/mIkQsXGyoiLHMSekLhaY9NzbjVcgpo6cOF1l4R0wucYFN7ZtyakQSU3 bdcg9XIIsSqpKpolpc4bciBQ4W79YM1xzkpmsVzObsUMwFL/KjNEHDOMXsn89rVc59JQq8 h3JNbJIOYxkAbOv6tDAKd8gTS/8zXEyfcY0oFSNza2Uz60C6IL12r+cB5xOxG7jiP1o9vY FUUSd7grywVVdhbuKdUGdy3HKmQ4pfhviEGQab6TTyYEMg9E/qTPW7brH2IACQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641037720; a=rsa-sha256; cv=none; b=IoJqOWC149rKR4cQNnqJVjf8hzn1lr0BSnxUOJ14TZneqNEH4yzOh7ar071KXKw9wBG58e 9ZpXDhx+9T0SLs2zSM7fJ1GF8KPM9e3SHNkQG5iDczH5ID4D3vq6TC1L2SBu6yCiQ3fq7A kjZnSoI2zmYjrLQTNTbYNHxrzZP98HLSv0nNf1ApK8R5wHNoVbu7C4lqL3ArKgExJMxH5x SWCUgU4JZYTgZwJQTinlOljF/TtCySExuDlGY1ATx1pT1OyWjyAAKLDZRYZaMPT4fFcu0V HyE3QXwpOWa8HD+pbglzA2m+e16s1j3htLTbx3Jw4720KfDsa1FUF3EZfC+Tgw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b="rVlL/Nvd"; 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: -2.08 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b="rVlL/Nvd"; 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: CB0EF2DFBF X-Spam-Score: -2.08 X-Migadu-Scanner: scn1.migadu.com X-TUID: QxpcUhSuiKGi --5brl4juz5qa3nxbn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Tue, Dec 28, 2021 at 04:35:23PM +0100, pelzflorian (Florian Pelz) wrote: > elogind commit 7db52c01ed07f543f8272ea9a726cb542e771595 is the first > elogind version that does not launch, but it is too entangled to > simply revert. I will take another look tomorrow. This was a dead end. With 7db52c01ed07f543f8272ea9a726cb542e771595, elogind did actually launch but shepherd did not recognize it. The attached patch was required, but it does not make a difference for starting sway. (Neither is it an alternative fix for .) Elogind’s entire v246-stable branch does not run sway anymore on ROCK64. I don’t think bisecting is a good way to find the cause. The sway errors are: 00:00:00.013 [ERROR] [wlr] [libseat] [libseat/backend/seatd.c:78] Could not connect to socket /run/seatd.sock: No such file or directory 00:00:00.031 [ERROR] [wlr] [libseat] [libseat/backend/logind.c:267] Could not activate session: Action org.freedesktop.login1.chvt is not registered 00:00:00.031 [ERROR] [wlr] [libseat] [libseat/libseat.c:73] No backend was able to open a seat 00:00:00.031 [ERROR] [wlr] [backend/session/session.c:84] Unable to create seat: Function not implemented 00:00:00.031 [ERROR] [wlr] [backend/session/session.c:218] Failed to load session backend 00:00:00.031 [ERROR] [wlr] [backend/backend.c:353] Failed to start a DRM session 00:00:00.031 [ERROR] [sway/server.c:53] Unable to create backend The first line seems harmless and is also printed on old elogind before sway starts. I will try to actually understand what is happening. Regards, Florian --5brl4juz5qa3nxbn Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="TEST-elogind-Watch-PID-file.patch" Content-Transfer-Encoding: 8bit From: Florian Pelz Date: Sat, 1 Jan 2022 12:17:14 +0100 Subject: [PATCH] TEST elogind: Watch PID file. * gnu/services/desktop.scm (elogind-shepherd-service): Set #:pid-file. --- gnu/services/desktop.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index c6761ca784..fc5617c046 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2020 Tobias Geerinckx-Rice ;;; Copyright © 2020 Reza Alizadeh Majd ;;; Copyright © 2021 Brice Waegeneire +;;; Copyright © 2022 Florian Pelz ;;; ;;; This file is part of GNU Guix. ;;; @@ -731,7 +732,9 @@ (define (elogind-shepherd-service config) #:environment-variables (list (string-append "ELOGIND_CONF_FILE=" #$(elogind-configuration-file - config))))) + config))) + ;; The PID path from elogind's package definition: + #:pid-file "/run/systemd/elogind.pid")) (stop #~(make-kill-destructor))))) (define elogind-service-type base-commit: 87624540b486d710749ad00ef5aa427a9e5c1d0c -- 2.34.0 --5brl4juz5qa3nxbn--