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


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

Received: (at submit) by bugs.devuan.org; 18 Jan 2021 20:20:02 +0000
Return-Path: <fbug@xs4all.nl>
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); Mon, 18 Jan 2021 20:20:01 +0000 (UTC)
Received: from lb2-smtp-cloud7.xs4all.net (lb2-smtp-cloud7.xs4all.net [194.109.24.28])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id D91DDF608D1
	for <submit@bugs.devuan.org>; Mon, 18 Jan 2021 21:12:25 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; secure) header.d=xs4all.nl header.i=@xs4all.nl header.b="dKo4u7B6";
	dkim-atps=neutral
Received: from webmail.xs4all.nl ([IPv6:2001:888:0:22:194:109:20:208])
	by smtp-cloud7.xs4all.net with ESMTPA
	id 1asylKjZxyutM1asylZrM9; Mon, 18 Jan 2021 21:12:25 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s2;
	t=1611000745; bh=fOMHvQNloKTSWTnvPLQgHxwIv3Q4bHKRQQ3sQIaEY6E=;
	h=MIME-Version:Date:From:To:Subject:Message-ID:Content-Type:From:
	 Subject;
	b=dKo4u7B6I3SLZIwl8qARfeMjo8IlczTlt9izIrtl1fNrbJmZYxLQ6p7aIagxRn8dd
	 XJsDxM7sVK/noOB0Ke+SFZT/5pmUcXXK0S6OKTJjkmUBM7Xdss4lsKY9IHU4eRGDU8
	 S0kPfYe1EIhwAIkSiFgFs/noAFLyRJtt0uTXpREV3e0u3NhuegqHFZCWrUuVE6uBIz
	 6fOw+61wbOtRRxbMjxkVKANxBXI0urusmHLEhGMhYf0IJ0eXgTrYXRQ5sYkBK/9Z2K
	 P+UzCjcZlv4t70Ik2b+e99OdXMJJfSaPqIZrxe34EgotFs4lr8Phja/ARlbupOCHbb
	 k2opaSGXsW8pA==
Received: from roothub.nl ([83.68.19.244])
 by webmail.xs4all.nl
 with HTTP (HTTP/1.1 POST); Mon, 18 Jan 2021 21:12:24 +0100
MIME-Version: 1.0
Date: Mon, 18 Jan 2021 21:12:24 +0100
From: Frank <fbug@xs4all.nl>
To: submit@bugs.devuan.org
Subject: elogind unmounts /run/user/$UID tmpfs filesystem after logging in
 again
Message-ID: <799226dc9af49ffdf449c54e013032e1@xs4all.nl>
X-Sender: fbug@xs4all.nl
User-Agent: XS4ALL Webmail
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4xfKekSjxC7JaX//qT94YO4ypxqpK9Psoo5HCNBHF7qMSO5B/mMtlj0YuBmFDTwpN6TMnzQrsO+GF9dYeTJJWyNmdXBKcNcuycXAUgkanE7smXSo3FXNiw
 vtDHcrii5Mzuqairt0oMRa9ozCCjpSFXvE4tDoLplI+/Glc2n5p8LKY906tSRUu+YPQHyP3pMFMpHe8QFo/GxseNSevdZaCCykc2RLf8/9wJYyDDBkxu8hQG
X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
Package: elogind
Version: 241.4-2

elogind unmounts /run/user/$UID tmpfs filesystem after logging in again. 
It should not do that.

Devuan was installed using the Refracta installer that is available on 
the iso-file devuan_beowulf_3.0.0_amd64_desktop-live.iso.
Unable to reproduce the issue in a VM booted of iso-file 
devuan_beowulf_3.0.0_i386_desktop-live.iso / 
devuan_beowulf_3.0.0_amd64_desktop-live.iso.

Steps to reproduce (new install, new user, default settings):
1) login to the XFCE desktop environment.
2) in a terminal window, exec df. This shows, amongst others, a tmpfs 
filesystem mounted at /run/user/$UID.
3) log out and log back in (rapidly).
4) in a terminal window, exec watch df. This shows, amongst others, the 
same tmpfs filesystem mounted at /run/user/$UID.
5) wait and watch closely.
6) df no longer shows the tmpfs filesystem mounted at /run/user/$UID, it 
was unmounted by elogind even though the user is still logged in.

Workaround: at "UserStopDelaySec=infinity" to section [Login] in config 
file /etc/elogind/logind.conf. The tmpfs mounted at /run/user/$UID will 
remain available until system reboot.
Workaround: after logout, wait for the tmpfs mounted at /run/user/$UID 
to be unmounted.


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: Sat Apr 27 21:29:05 2024;