Devuan bug report logs - #900
procps: w does not query elogind for sessions

version graph

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

Reported by: Andrew Bower <andrew@bower.uk>

Date: Sun, 27 Jul 2025 22:50:01 UTC

Severity: grave

Found in version 2:4.0.4-8devuan1

Fixed in version 2.41-5devuan2

Done: dak@devuan.org

Full log


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

Received: (at 900) by bugs.devuan.org; 29 Jul 2025 10:12:04 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Tue, 29 Jul 2025 10:12:03 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id PW9dFiieiGjDegAAmSBk0A
	(envelope-from <mark@hindley.org.uk>)
	for <bugs@devuan.org>; Tue, 29 Jul 2025 10:10:48 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 24AC3585; Tue, 29 Jul 2025 10:10:47 +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,
	T_SCC_BODY_TEXT_LINE 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 5ABD41D
	for <900@bugs.devuan.org>; Tue, 29 Jul 2025 10:10:47 +0000 (UTC)
Received: by mx.hindley.org.uk (Postfix, from userid 1000)
	id DC9F513C; Tue, 29 Jul 2025 11:10:45 +0100 (BST)
Date: Tue, 29 Jul 2025 11:10:45 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Andrew Bower <andrew@bower.uk>
Cc: 900@bugs.devuan.org
Subject: Re: bug#900: procps: w does not query elogind for sessions
Message-ID: <aIieJYSAP9eVSiyg@hindley.org.uk>
References: <175365644638.7806.4267640139913169199.reportbug@arden.ab8.net>
 <aIdUCiy-f5zBOGGe@hindley.org.uk>
 <aIfYMj-jSJbNoPZx@arden.ab8.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <aIfYMj-jSJbNoPZx@arden.ab8.net>
Andrew,

On Mon, Jul 28, 2025 at 09:06:10PM +0100, Andrew Bower wrote:
> > I believe the original impetus to remove libsystemd linkage from procps 
> > was to reduce libsystemd infiltration into 'core' utilities. 
> 
> I am all in favour of that ambition. I don't think the key
> building-block packages should depend on libsystemd, hence my
> disappointment when coreutils recently gained the dependency (should we
> be forking that?)

Hmmm, yes, conceivably.

> > Devuan systems without elogind are viable (I use sway/seatd as my daily 
> > driver) so just adding elogind support to procps isn't a universal 
> > solution.
> 
> Does sway/seatd write to utmp? Does it do anything else?

I think not: I run it from the console, so it relies on login(1).

> > Do you have a suggestion or idea as to a way forward?
> 
> I see we have forked util-linux, so one thing we could do is to fix the
> build of login(1) to restore writing to utmp, for virtual console
> logins. That assumes that this is what has actually been broken - I
> haven't checked yet.

That seems sane. I'll see if I can find the commit.

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: Fri Sep 26 23:23:00 2025;