GNU bug report logs - #21349
who shows no users nowadays on Debian

Previous Next

Package: coreutils;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Tue, 25 Aug 2015 23:33:02 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 21349 <at> debbugs.gnu.org (full text, mbox):

From: Erik Auerswald <auerswal <at> unix-ag.uni-kl.de>
To: Bob Proulx <bob <at> proulx.com>
Cc: 21349 <at> debbugs.gnu.org,
 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: Re: bug#21349: who shows no users nowadays on Debian
Date: Thu, 27 Aug 2015 09:40:21 +0200
Hi,

On Wed, Aug 26, 2015 at 02:13:37PM -0600, Bob Proulx wrote:
> Erik Auerswald wrote:
> > This works on a current Debian/testing system (stable as well), so it might
> > be a recent Debian/Sid (unstable) issue. Perhaps you want to open a bug
> > report there?
> 
> Updating utmp depends upon the terminal emulator.  XTerm updates it.

Logins via X used to update it as well (seldomly used nowadays). The local
desktop session usually updates utmp as well, at least with XFCE on
Debian/testing this is still the case. GNOME Terminal updates utmp as well.
Screen updates it, too. When I last looked at it, Konsole (from KDE) did
not update utmp.

> AFAIK it doesn't have anything to do with Debian changing anything.

Sven Joachim wrote:
> It most probably has, the latest xterm version (319) only writes a utmp
> entry if you start a login shell (i.e. use the -ls option)

Linda A. Walsh noticed a similar thing:
> The same thing happens on openSuSE

Of course this is most likely caused by changes outside of coreutils. On a
"desktop" system without any terminal windows, the desktop session should
be shown in the "who" output. On all systems I could easily check that is
the case. I do not have any SystemD/GNOME or KDE systems to test.

Thanks,
Erik




This bug report was last modified 6 years and 211 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.