Devuan bug report logs - #540
slim fails to get logind session if logout/login cycle is rapid

version graph

Package: slim; Maintainer for slim is Devuan Dev Team <devuan-dev@lists.dyne.org>; Source for slim is src:slim.

Reported by: Frank <fbug@xs4all.nl>

Date: Mon, 18 Jan 2021 20:33:01 UTC

Severity: normal

Fixed in version 1.3.6-5.2+devuan1

Done: dak@devuan.org

Forwarded to https://github.com/elogind/elogind/issues/95

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#540: elogind unmounts /run/user/$UID tmpfs filesystem after logging in again
Reply-To: Mark Hindley <mark@hindley.org.uk>, 540@bugs.devuan.org
Resent-From: Mark Hindley <mark@hindley.org.uk>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: Devuan Dev Team <devuan-dev@lists.dyne.org>
X-Loop: owner@bugs.devuan.org
Resent-Date: Wed, 20 Jan 2021 17:33:02 +0000
Resent-Message-ID: <handler.540.B540.161116320214996@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 540
X-Devuan-PR-Package: slim
X-Devuan-PR-Keywords: 
References: <799226dc9af49ffdf449c54e013032e1@xs4all.nl> <YAbC59HtYZjxzfBo@hindley.org.uk> <799226dc9af49ffdf449c54e013032e1@xs4all.nl> <0d28c7c8b0ca461ef8376eee0c5ec18e@xs4all.nl> <YAcjg31ZR9ilODdY@hindley.org.uk> <7b2bac156d658c49f638856d445a3b3b@xs4all.nl> <85c8573180e595ee5805d973cc6b1cfa@xs4all.nl> <799226dc9af49ffdf449c54e013032e1@xs4all.nl>
Received: via spool by 540-submit@bugs.devuan.org id=B540.161116320214996
          (code B ref 540); Wed, 20 Jan 2021 17:33:02 +0000
Received: (at 540) by bugs.devuan.org; 20 Jan 2021 17:20:02 +0000
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Wed, 20 Jan 2021 17:20:02 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-5.cfwn.uk [193.36.131.5])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id E8290F604B7
	for <540@bugs.devuan.org>; Wed, 20 Jan 2021 18:11:34 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1l2H10-0006NY-Rf; Wed, 20 Jan 2021 17:11:31 +0000
Received: (nullmailer pid 6556 invoked by uid 1000);
	Wed, 20 Jan 2021 17:11:30 -0000
Date: Wed, 20 Jan 2021 17:11:30 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: Frank <fbug@xs4all.nl>
Cc: 540@bugs.devuan.org
Message-ID: <YAhkQkGH3fTAAHdP@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <85c8573180e595ee5805d973cc6b1cfa@xs4all.nl>
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
On Wed, Jan 20, 2021 at 04:31:25PM +0100, Frank wrote:
> Hi Mark,
> 
> I played around with the slim PAM configuration and found a possible
> solution: change the elogind class from "user" to "greeter". Slim does not
> fork a helper process so changing it makes sense to me. When a new session
> is created, previous sessions close in the background, even if the
> logout/login cycle is rapid. Looks promising?

Interesting. I am wondering (from a very quick read of the docs) if we can
achieve the same by setting XDG_SESSION_CLASS within slim.

Thanks.

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: Sun Apr 28 17:48:34 2024;