Devuan bug report logs - #793
Xorg libseat needs to handle duplicate file descriptors.

version graph

Package: xserver-xorg-core; Maintainer for xserver-xorg-core is Devuan Developers <devuan-dev@lists.dyne.org>; Source for xserver-xorg-core is src:xorg-server.

Reported by: Fran Vazquez <fran42@gmx.es>

Date: Wed, 30 Aug 2023 19:32:01 UTC

Severity: normal

Tags: moreinfo

Found in version 2:21.1.7-3devuan2~exp1

Fixed in versions 2:21.1.8-1devuan2, 2:21.1.7-3devuan2

Done: dak@devuan.org

Full log


Message #62 received at 793@bugs.devuan.org (full text, mbox, reply):

Received: (at 793) by bugs.devuan.org; 14 Sep 2023 18:13:32 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f8:140:32a1::58c6:6473]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 14 Sep 2023 18:13:32 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id 7oFfNCVNA2XJWgAAmSBk0A
	(envelope-from <mark@hindley.org.uk>)
	for <bugs@devuan.org>; Thu, 14 Sep 2023 18:12:53 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id C1D6A1CB; Thu, 14 Sep 2023 18:12:53 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; envelope-from=mark@hindley.org.uk; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id C600329
	for <793@bugs.devuan.org>; Thu, 14 Sep 2023 18:12:48 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 4678191F;
	Thu, 14 Sep 2023 19:12:47 +0100 (BST)
Received: (nullmailer pid 26588 invoked by uid 1000);
	Thu, 14 Sep 2023 18:12:46 -0000
Date: Thu, 14 Sep 2023 19:12:46 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Fran Vazquez <fran42@gmx.es>
Cc: 793@bugs.devuan.org
Subject: Re: bug#793: libseat fails to access logind backend
Message-ID: <ZQNNHvAOPcIYI07l@hindley.org.uk>
References: <70507bba-f6da-40e9-d7f2-2256b7ae7fcc@gmail.com>
 <trinity-ed5e720f-9b78-403c-9e14-98746a2f3218-1694518751994@3c-app-mailcom-bs07>
 <70507bba-f6da-40e9-d7f2-2256b7ae7fcc@gmail.com>
 <ZQCdDVbKk4W7bOvD@hindley.org.uk>
 <ZQCjr3d3E0t0iJeW@hindley.org.uk>
 <trinity-61b6f575-3c2a-45c5-97d3-f6429023facd-1694635818113@3c-app-mailcom-bs05>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <trinity-61b6f575-3c2a-45c5-97d3-f6429023facd-1694635818113@3c-app-mailcom-bs05>
Control: retitle -1 libseat requires polkitd to access logind backend

Fran,

Thanks.

On Wed, Sep 13, 2023 at 10:10:18PM +0200, Fran Vazquez wrote:
> [ 21082.020] (EE) [libseat/backend/logind.c:317] Could not activate session: Rejected send message, 1 matched rules; type="method_call", sender=":1.0" (uid=0 pid=1571 comm="elogind-daemon") interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" error name="(unset)" requested_reply="0" destination="org.freedesktop.PolicyKit1" (uid=105 pid=2987 comm="/usr/lib/polkit-1/polkitd --no-debug")
> [ 21082.020] (II) [libseat/libseat.c:76] Backend 'logind' failed to open seat,
> skipping

I had evidently forgotten this was the case and the policy is set in
/usr/share/polkit-1/actions/org.freedesktop.login1.policy.

Once polkitd is installed this error goes away for me and libseat uses the
elogind backend correctly. I can switch VTs and on return inputs are still
available.

With polkitd installed does that work for you?

Do you have apt install recommends disabled?

Mark

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Thu Dec 12 07:37:41 2024;