Devuan bug report logs - #302
elogind: doesn't seem to be updating lastlog

Package: elogind; Maintainer for elogind is Mark Hindley <mark@hindley.org.uk>; Source for elogind is src:elogind.

Reported by: "Dimitris T." <dimitris@stinpriza.org>

Date: Thu, 7 Mar 2019 16:18:01 UTC

Severity: normal

Done: Mark Hindley <mark@hindley.org.uk>

Full log


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

Received: (at 302) by bugs.devuan.org; 8 Mar 2019 16:00:02 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Fri, 08 Mar 2019 17:00:02 +0100 (CET)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(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 C7611F6096D
	for <302@bugs.devuan.org>; Fri,  8 Mar 2019 16:53:14 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=apollo)
	by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1h2Ho7-0000oO-Q3; Fri, 08 Mar 2019 15:53:11 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1h2Ho4-0008Le-JG; Fri, 08 Mar 2019 15:53:08 +0000
Date: Fri, 8 Mar 2019 15:53:08 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 302@bugs.devuan.org
Cc: "Dimitris T." <dimitris@stinpriza.org>
Subject: Re: elogind: doesn't seem to be updating lastlog
Message-ID: <20190308155308.GC17160@hindley.org.uk>
References: <155197499736.23377.13231103228601464271.reportbug@emma.lan>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <155197499736.23377.13231103228601464271.reportbug@emma.lan>
X-IMAPbase: 1220827534 0000000142
X-UID: 142
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
On Thu, Mar 07, 2019 at 06:09:57PM +0200, Dimitris T. wrote:
> Package: elogind
> Version: 239.3+20190131-1
> Severity: normal
> 
> since 30/1 lastlog doesn't seem to be updated for display manager logins. tty logins are reported correctly as seen below :  
> 
> # lastlog  
> Username         Port     From             Latest
> root             tty1                      Thu Mar  7 10:49:55 
> user               :0                        Wed Jan 30 15:36:23 

Dimitris,

I have been looking into this. AFAICS display manager logins have never been
logged in lastlog by any of slim, lightdm, consolekit2 or elogind. So, I am not
sure there is a regression here.

I have also been struggling to work out where the user login on :0 (above) comes
from. With the default install could only reproduce logins on ptys. I eventually
managed to do it by adding pam_lastlog.so to the display manager PAM stack in
/etc/pam.d/{slim,lightdm}

Had you customised that and it was overwritten in the upgrade at the end of January?

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 Apr 26 01:28:37 2024;