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

Package: elogind; Reported by: "Dimitris T." <dimitris@stinpriza.org>; Done: Mark Hindley <mark@hindley.org.uk>; Maintainer for elogind is Mark Hindley <mark@hindley.org.uk>.

Message received at 302-done@bugs.devuan.org:


Received: (at 302-done) by bugs.devuan.org; 17 Apr 2019 10:30:05 +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); Wed, 17 Apr 2019 12:30:05 +0200 (CEST)
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 E0EEFF60BF9
	for <302-done@bugs.devuan.org>; Wed, 17 Apr 2019 12:27:18 +0200 (CEST)
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 1hGhmZ-00024V-Lz; Wed, 17 Apr 2019 11:27:12 +0100
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1hGhmW-0000ME-A9; Wed, 17 Apr 2019 11:27:08 +0100
Date: Wed, 17 Apr 2019 11:27:08 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Dimitris <dimitris@stinpriza.org>
Cc: 302-done@bugs.devuan.org
Subject: Re: elogind: doesn't seem to be updating lastlog
Message-ID: <20190417102708.GP6300@hindley.org.uk>
References: <155197499736.23377.13231103228601464271.reportbug@emma.lan>
 <20190308155308.GC17160@hindley.org.uk>
 <240dddf0-c45e-a5f8-0524-95ba29996234@stinpriza.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <240dddf0-c45e-a5f8-0524-95ba29996234@stinpriza.org>
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 Fri, Mar 08, 2019 at 10:32:02PM +0200, Dimitris wrote:
> On 3/8/19 5:53 PM, Mark Hindley wrote:
> > 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?
> > 
> 
> no i haven't customised anything in pam.d. not in this install at least.
> not sure either about this login on :0, you're right, it shouldn't be
> there. lastlog should only report tty logins. puzzled about that entry
> too now.
> not having around logs from that time is not helpful, i know..
> 
> anyway, not really sure if this is a bug here. during that period
> (dec-jan) i was testing different scenarios & various DEs, something
> could have triggered that..
> so, feel free to proceed (close?) as you like...

Dimitris,

I don't think there is an elogind bug here. I think it is down the the display
manager (slim, lightdm etc) to register logins in lastlog and utmp.

AFAIK lightdm does this already and I have a patch for slim to implement it (see
#301)

So closing, as you suggest.

Thanks

Mark


Notification sent to "Dimitris T." <dimitris@stinpriza.org>:
bug acknowledged by developer. Full text available.
Reply sent to Mark Hindley <mark@hindley.org.uk>:
You have taken responsibility. Full text available.

Message received at 302@bugs.devuan.org:


Received: (at 302) by bugs.devuan.org; 8 Mar 2019 20:40:06 +0000
Return-Path: <dimitris@stinpriza.org>
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 21:40:06 +0100 (CET)
Received: from cacofonix.stinpriza.org (cacofonix.stinpriza.org [148.251.45.81])
	(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 1BAB7F60C5A
	for <302@bugs.devuan.org>; Fri,  8 Mar 2019 21:31:45 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=stinpriza.org header.i=@stinpriza.org header.b="QkAqO4mp";
	dkim-atps=neutral
Received: from [192.168.10.22] (178-183-199.dynamic.cyta.gr [178.59.183.199])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by cacofonix.stinpriza.org (Postfix) with ESMTPSA id 936F12B82A72;
	Fri,  8 Mar 2019 22:31:44 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=stinpriza.org; s=mail;
	t=1552077104; bh=/MFcO4c0tOjGjiSvW/kw813dCbBllHiVKX5K/rJDgv4=;
	h=To:References:From:Cc:Subject:Date:In-Reply-To:From;
	b=QkAqO4mpMh2436zXY9byrWdP5AObwL9XgEKHzpU8vgaFsIVDQaWsy8Y0uzwj74tMS
	 2ctgnhgn4x8MkmWk8wZC7RoQMtdevg1sKDyQO4takmCsHX1ROnXIbZGW7RmDuOVmg0
	 GjCc30mj19NWYYlmzXiPurq4BEG0gE1rDmpu/vG0bar8unuuetZhAQF29RkoAyUUEO
	 isSl/tYYzB4IqotXl6rSo/wBlB1bbufAQFsvC93i1Oh8fRf5f6JgqU5Inx67rKZsB0
	 amxj7LrHREBrRFwNjHcOMww5qg/nG7huN6u0mXGvz1pn/FtTKLH6lZuzVOQXQGWkix
	 NmGFfMa56dKMQ==
To: Mark Hindley <mark@hindley.org.uk>
References: <155197499736.23377.13231103228601464271.reportbug@emma.lan>
 <20190308155308.GC17160@hindley.org.uk>
From: Dimitris <dimitris@stinpriza.org>
Openpgp: preference=signencrypt
Autocrypt: addr=dimitris@stinpriza.org; prefer-encrypt=mutual; keydata=
 mQGNBFx0cVwBDADB6srb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Y0M2hHlIHLTJ92h+B6oLxT1oITMp+bO8sg/NO28DexDcKYUqt
 7ypCAYhcxQRExP+FydyFwL4NJoGHXqO3LVko/4n1W7/msWXg5yCWuMHQNWL3Kc92zAgJmz1X
 saCi9DWvulv/3LuS+e30R/+YQ0JNRv0=
Cc: 302@bugs.devuan.org
Subject: Re: elogind: doesn't seem to be updating lastlog
Message-ID: <240dddf0-c45e-a5f8-0524-95ba29996234@stinpriza.org>
Date: Fri, 8 Mar 2019 22:32:02 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.5.1
MIME-Version: 1.0
In-Reply-To: <20190308155308.GC17160@hindley.org.uk>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="fuIQrzgsds6NhgwMdxoVe3uzkwtBiTA79"
X-Virus-Scanned: clamav-milter 0.100.2 at cacofonix.stinpriza.org
X-Virus-Status: Clean
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--fuIQrzgsds6NhgwMdxoVe3uzkwtBiTA79
Content-Type: multipart/mixed; boundary="Ig1TpswPew3PKlgoRg2mWGWMEkmACQsV5";
 protected-headers="v1"
From: Dimitris <dimitris@stinpriza.org>
To: Mark Hindley <mark@hindley.org.uk>
Cc: 302@bugs.devuan.org
Message-ID: <240dddf0-c45e-a5f8-0524-95ba29996234@stinpriza.org>
Subject: Re: elogind: doesn't seem to be updating lastlog
References: <155197499736.23377.13231103228601464271.reportbug@emma.lan>
 <20190308155308.GC17160@hindley.org.uk>
In-Reply-To: <20190308155308.GC17160@hindley.org.uk>

--Ig1TpswPew3PKlgoRg2mWGWMEkmACQsV5
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 3/8/19 5:53 PM, Mark Hindley wrote:
> I have also been struggling to work out where the user login on :0 (abo=
ve) comes
> from. With the default install could only reproduce logins on ptys. I e=
ventually
> managed to do it by adding pam_lastlog.so to the display manager PAM st=
ack in
> /etc/pam.d/{slim,lightdm}
>=20
> Had you customised that and it was overwritten in the upgrade at the en=
d of January?
>=20

no i haven't customised anything in pam.d. not in this install at least.
not sure either about this login on :0, you're right, it shouldn't be
there. lastlog should only report tty logins. puzzled about that entry
too now.
not having around logs from that time is not helpful, i know..

anyway, not really sure if this is a bug here. during that period
(dec-jan) i was testing different scenarios & various DEs, something
could have triggered that..
so, feel free to proceed (close?) as you like...

thanks,
d.



--Ig1TpswPew3PKlgoRg2mWGWMEkmACQsV5--

--fuIQrzgsds6NhgwMdxoVe3uzkwtBiTA79
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEEddlu1gom7sXWP9ZRvUcY7+WkADkFAlyC0UIACgkQvUcY7+Wk
ADlq6Av/bE/Rlmr1QkphACNZeJleCAi16Dwb7G6e/lZNTrtVJ4WlIHJxAPhpPdTM
OJUOow9xxd8jPASUISV1r9dnqIkWEkqz6nkKO3S1bJC0I3xe2hAh1dGTbuql5LF0
WhbbNV+9qNc8oexaUFWTSYuLk00nZISUeEpBp9tl+NI6al6ZkHuCejhuO75TQMq2
R/AAPB/zTtjjp4Gju0vwvFYtRAy90N2/hVD2ollHVXkdHTGr+OSLxZxdwMkXWyQh
KtpUwRKf4ds+TQUAdeACMTi8EmMD3Z+fBRq3NJZlz5/9G1oKYowaLfgLlBnBU3ac
pdakYqMJu+X5y4iyg7ldv1aCkbRmtpm2+VSWsjoymF/TsO0GsJdbCxY1UynUM2An
Kj/uFn3D6pRyp1oBTWSbLd2p6xn7UFuMSgfCqLnW/TjMB3/gxANfR6Wy/z/vT0gJ
JY6LEA7aLkAyRMAp5NCaCwTxyIxjqV1pyS+VpjFvkhdsxBWJDDHyD7QPVM1rLTvA
QQMbEn2J
=SXyM
-----END PGP SIGNATURE-----

--fuIQrzgsds6NhgwMdxoVe3uzkwtBiTA79--


Acknowledgement sent to Dimitris <dimitris@stinpriza.org>:
Extra info received and forwarded to list. Copy sent to owner@bugs.devuan.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#302; Package elogind. Full text available.

Message received at 302@bugs.devuan.org:


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


Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to owner@bugs.devuan.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#302; Package elogind. Full text available.

Message received at 302@bugs.devuan.org:


Received: (at 302) by bugs.devuan.org; 8 Mar 2019 08:30:04 +0000
Return-Path: <dimitris@stinpriza.org>
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 09:30:04 +0100 (CET)
Received: from cacofonix.stinpriza.org (cacofonix.stinpriza.org [148.251.45.81])
	(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 8EBE6F6096A
	for <302@bugs.devuan.org>; Fri,  8 Mar 2019 09:27:57 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=stinpriza.org header.i=@stinpriza.org header.b="tqnaW+OT";
	dkim-atps=neutral
Received: from [192.168.10.22] (178-183-199.dynamic.cyta.gr [178.59.183.199])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by cacofonix.stinpriza.org (Postfix) with ESMTPSA id AF88D2B01A15;
	Fri,  8 Mar 2019 10:27:53 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=stinpriza.org; s=mail;
	t=1552033674; bh=9+VtGq503xkEKMIHb5W4lt01OyrZ37ymjeNbJegLd0A=;
	h=To:Cc:References:From:Subject:Date:In-Reply-To:From;
	b=tqnaW+OTSe0oZzOTsMCxeG7fqPDoAn4xI7sR02foey3CPDc0edQQhg040apsyMbeD
	 PAlmf/Q1COdx+kulH9ssdFbEUPZ3dNNnlEO+mesB38+cAzXbUOKAtdeHKQMlCC1yTP
	 4rKWoKqHBEKiea1AnLGF3HHl8RYQhgOJBte3jCw+Bz5LK1qJ4U2Ba1vvKp8TO1C2Lk
	 4skWZlE/LUdI/J/GUuvJnVhAu5i/XKkEr/SNHKQOgJ1ELd86fnAtCiY0lCDI7JwCfY
	 gXXXt3WGO7u+gBDiaXKuSoC89O/S2JyGsDc4Jw9l07oo4H7pi4Awq0HQ8T824zX5nX
	 HxFo8V+HQKKZA==
To: Mark Hindley <mark@hindley.org.uk>
Cc: 302@bugs.devuan.org
References: <155197499736.23377.13231103228601464271.reportbug@emma.lan>
 <20190307180518.GW17160@hindley.org.uk>
 <05e3bb0a-a62c-75a0-3fef-b24fc63eca85@stinpriza.org>
 <20190308071354.GY17160@hindley.org.uk>
From: Dimitris <dimitris@stinpriza.org>
Openpgp: preference=signencrypt
Autocrypt: addr=dimitris@stinpriza.org; prefer-encrypt=mutual; keydata=
 mQGNBFx0cVwBDADB6srbTMHsVS6I0kSUs1Zz/3Y7vziTqMojOvuD1w8wQJMeK5hun25xbIN6
 ku2Kd/cmh5J2gbp9v0cuStAamoMk85IWHZmMypmLIw6/WSg6MzjJPWNPnR2yRoa3NFXhSSJJ
 2sgReEl/4s4L1oF/hUsBxVzRZF8TnOBKuBlNhiXOAdR/XHTmTqvE6TDgcT5xUsaA75uOYQXY
 /ieeuJHSzC3JBbHQrt5WdIsuSQtbtg4veG4MlmemAGekNYRbgxoEBWFODddb3s7Kw9IRoSf8
 lHIjKj/0DiHdd+yQQMHfkhu+0vtc0STag9g1418RisReA7Z2kEL74cELYqVzNWwRdGRjrUdU
 A81uIk/Y1KS171AsI5X2mZ2tSJZJ6r/VbKdmM1+BjN4pZbClBp6F1Ygevz0qSI3NIIqGbAjY
 lcGZNV69dlP8Hm/U1luPD6aXm6yD1nCuyv1FXLNGyv0HV86zLQPhxywNhpdGe2TJfC5x2+lz
 rsbfPJb06FizH8pruLAbzJsAEQEAAbQYPGRpbWl0cmlzQHN0aW5wcml6YS5vcmc+iQG8BBMB
 CAAmBQJcdHFtBQkAAAAAAhkBAhsDBgsJBwMCAQYVCAkKCwICFgICHgEACgkQvUcY7+WkADn3
 mgwApgad0N8pRtVWSNx6KlxKFyyuGTtnfM55I1n2GSj7JqDWrT3klwrRC5sOYMyhoCNyM6iI
 GIvDXnB6NkmeX1Cfg9rT18zeUDHmGFaxanEdFiEUAgLSGkyQ3Ft8wkdRbfAQto6qoN3lWQc0
 Qr6JPA9OJR89qA6OgNusOLTokhI1jA8qgyLvVa/LFGtCLzFwYGmvFJeM2onHc/YD881xxk5r
 +whP+zw3YvWzLJ5MFvYXtqqbAGHEMwaH+dIZLjhPpc/0+N4/iejcBztKZTEQK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ZQXyVdmll2FiM/h81LdfhA77d0w9XKl/KNDNqYmYK42qq
 UEiaHNf49KgPB3V4xtdlXuBVjaP+zIiVt85kXAEoUfFxtJkumLEKx3odNX79JAK0xcuTUVbq
 M6Rfs70SNXmPNcrv0gCahdeY0M2hHlIHLTJ92h+B6oLxT1oITMp+bO8sg/NO28DexDcKYUqt
 7ypCAYhcxQRExP+FydyFwL4NJoGHXqO3LVko/4n1W7/msWXg5yCWuMHQNWL3Kc92zAgJmz1X
 saCi9DWvulv/3LuS+e30R/+YQ0JNRv0=
Subject: Re: elogind: doesn't seem to be updating lastlog
Message-ID: <86549bf7-f999-c7cb-919b-f0745e65721c@stinpriza.org>
Date: Fri, 8 Mar 2019 10:28:05 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.5.1
MIME-Version: 1.0
In-Reply-To: <20190308071354.GY17160@hindley.org.uk>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="NJfGoeshCcAsySu4jLrYju2DMgXeJ29yX"
X-Virus-Scanned: clamav-milter 0.100.2 at cacofonix.stinpriza.org
X-Virus-Status: Clean
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--NJfGoeshCcAsySu4jLrYju2DMgXeJ29yX
Content-Type: multipart/mixed; boundary="Oxz4LLR8cKcT8xOEQZ4XVPPdjv55btn2Z";
 protected-headers="v1"
From: Dimitris <dimitris@stinpriza.org>
To: Mark Hindley <mark@hindley.org.uk>
Cc: 302@bugs.devuan.org
Message-ID: <86549bf7-f999-c7cb-919b-f0745e65721c@stinpriza.org>
Subject: Re: elogind: doesn't seem to be updating lastlog
References: <155197499736.23377.13231103228601464271.reportbug@emma.lan>
 <20190307180518.GW17160@hindley.org.uk>
 <05e3bb0a-a62c-75a0-3fef-b24fc63eca85@stinpriza.org>
 <20190308071354.GY17160@hindley.org.uk>
In-Reply-To: <20190308071354.GY17160@hindley.org.uk>

--Oxz4LLR8cKcT8xOEQZ4XVPPdjv55btn2Z
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 3/8/19 9:13 AM, Mark Hindley wrote:
>=20
> By default they get gzipped, I think. But maybe you have changed that ;=
)

yes i do, never keep more than a month old files.
also checked external backup, no luck there either. :(

>=20

> Yes, I think it may be the lightdm to slim switch.
>=20

i've used lightdm since 30/1 and slim for the past days. didn't seem to
make a difference...
something else: installed yesterday consolekit & libpam-ck-connector.
parts of MATE DE were removed with this change, so it was just for testin=
g.
result : no updates in lastlog with consolekit either...
switched back to elogind after testing, as libpam-elogind is a
dependency for DE packages i need.


thanks,
d.



--Oxz4LLR8cKcT8xOEQZ4XVPPdjv55btn2Z--

--NJfGoeshCcAsySu4jLrYju2DMgXeJ29yX
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEEddlu1gom7sXWP9ZRvUcY7+WkADkFAlyCJ5UACgkQvUcY7+Wk
ADlqNQv7B8vej0fEAIvryC1oadImFqd27xcbMXORSvcLUPlLE2OZ6A37rFim5sSF
MCXayKt8xcJlvCnhLPRWJt7Ajb6C6qu9RXbLpnrotAubeeXL6tRN1sq+Wl560XYr
3SQ15XzUcQ1isesiTQEMQY5EWOWa6iFsRhl4eH97cW0WgV1ydAm7PXLuYwm3+2/3
oO6LAUMFanwuNmerKVrXfztaJkYBbgqC5PCjvjPeoVDoYgOZwqiSyNkf2pnbPU23
xKX2jBUYfEveHDg97y5Nrl7wLfm3TWtOZulAoAScwyxpdWBhs53DRKI4pWGE8GqD
2rDLAUH1LUc6ife6ofzdIh5aJ3FXmemzglF0H/OT2KNBLUsGH1z/qwwnQ2icqnY1
RAtR6oGHzpFM8ejDtVB31aMDjSMMfSTR95d0oam2XY4rGl52RpFcWrq0xoxCxNxj
KVZ7WTTP9o6yQIawW95JdE+hTKRC90Qe9EYPijYxGvppN1YlgST1+wSYy5mlheE1
xl6SF3B7
=ooWT
-----END PGP SIGNATURE-----

--NJfGoeshCcAsySu4jLrYju2DMgXeJ29yX--


Acknowledgement sent to Dimitris <dimitris@stinpriza.org>:
Extra info received and forwarded to list. Copy sent to owner@bugs.devuan.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#302; Package elogind. Full text available.

Message received at 302@bugs.devuan.org:


Received: (at 302) by bugs.devuan.org; 8 Mar 2019 07:20:05 +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 08:20:05 +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 EF0E5F609E8
	for <302@bugs.devuan.org>; Fri,  8 Mar 2019 08:14:07 +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 1h29hh-0006pi-7F; Fri, 08 Mar 2019 07:14:02 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1h29ha-0001fy-5A; Fri, 08 Mar 2019 07:13:54 +0000
Date: Fri, 8 Mar 2019 07:13:54 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: Dimitris <dimitris@stinpriza.org>
Cc: 302@bugs.devuan.org
Subject: Re: elogind: doesn't seem to be updating lastlog
Message-ID: <20190308071354.GY17160@hindley.org.uk>
References: <155197499736.23377.13231103228601464271.reportbug@emma.lan>
 <20190307180518.GW17160@hindley.org.uk>
 <05e3bb0a-a62c-75a0-3fef-b24fc63eca85@stinpriza.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <05e3bb0a-a62c-75a0-3fef-b24fc63eca85@stinpriza.org>
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 08:21:50PM +0200, Dimitris wrote:
> On 3/7/19 8:05 PM, Mark Hindley wrote:
> > Any chance you could have a look in /var/log/apt/history.log* and post the
> > packages and versions that were updated on 31/1?
> > 
> 
> unfortunately no, logs are rotated each month & deleted.

By default they get gzipped, I think. But maybe you have changed that ;)

> i might be able to find it on some old external backup, but that
> requires some extra time. will do and keep you posted.
> i do remember apart from policykit, that i switched to lightdm and
> elogind that day also, see here :

Yes, I think it may be the lightdm to slim switch.

I will check.

Thanks

Mark


Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to owner@bugs.devuan.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#302; Package elogind. Full text available.

Message received at 302@bugs.devuan.org:


Received: (at 302) by bugs.devuan.org; 7 Mar 2019 18:10:03 +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); Thu, 07 Mar 2019 19:10:03 +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 1F578F60936
	for <302@bugs.devuan.org>; Thu,  7 Mar 2019 19:05:22 +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 1h1xOS-0002Si-7x; Thu, 07 Mar 2019 18:05:20 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1h1xOQ-00083G-S8; Thu, 07 Mar 2019 18:05:18 +0000
Date: Thu, 7 Mar 2019 18:05:18 +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: <20190307180518.GW17160@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>
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 
> 
> 
> 31/1 was the policykit update ( https://lists.dyne.org/lurker/message/20190131.103118.c6fc512b.en.html ), maybe related to that(?).

Any chance you could have a look in /var/log/apt/history.log* and post the
packages and versions that were updated on 31/1?

What display manager are you using?

Thanks

Mark


Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to owner@bugs.devuan.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#302; Package elogind. Full text available.

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 7 Mar 2019 16:10:02 +0000
Return-Path: <dimitris@stinpriza.org>
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); Thu, 07 Mar 2019 17:10:02 +0100 (CET)
Received: from cacofonix.stinpriza.org (cacofonix.stinpriza.org [148.251.45.81])
	(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 7D26DF60B6E
	for <submit@bugs.devuan.org>; Thu,  7 Mar 2019 17:09:41 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=stinpriza.org header.i=@stinpriza.org header.b="qP39ctcB";
	dkim-atps=neutral
Received: from emma.lan (178-183-199.dynamic.cyta.gr [178.59.183.199])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by cacofonix.stinpriza.org (Postfix) with ESMTPSA id 8068C2B0179F;
	Thu,  7 Mar 2019 18:09:39 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=stinpriza.org; s=mail;
	t=1551974980; bh=zIfVbRVixUHwqLpJFADxuJK3KKIbYcV+aJDY4YMW74s=;
	h=From:To:Subject:Date:From;
	b=qP39ctcBhDb966bR8j6T9mlvk/yfPe6lTTjER55uaZqGx9NiCkihh6b5AK4f3mPe4
	 Tgzxq89aSqV8KyNwbaCr5tykkIgopQOJMMYsh6rgyjnwXy1jF8yvHq93772sHjyCtF
	 Fgs8PleGhASC167vCTMPadipFP2+Jc8OG1JqN/d4nUcGAfSzhWUEGC49E7iQ0yIyr+
	 3YwDaWXJLt/3+J9+wgXeNsll9m8UZGPZkj4pCdUi3PmLYxe67IUSIj+1/+sYRfYqrG
	 NZw5AOz0oRI7H9+gKrphLSzB7M4P3sZlhCwxzTkNacwVNK71yM319sGQB3IH3Pk4DM
	 YTLEgoHLDcioA==
Received: by emma.lan (sSMTP sendmail emulation); Thu, 07 Mar 2019 18:09:57 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Dimitris T." <dimitris@stinpriza.org>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: elogind: doesn't seem to be updating lastlog
Message-ID: <155197499736.23377.13231103228601464271.reportbug@emma.lan>
X-Mailer: reportbug 7.5.1+devuan1
Date: Thu, 07 Mar 2019 18:09:57 +0200
X-Virus-Scanned: clamav-milter 0.100.2 at cacofonix.stinpriza.org
X-Virus-Status: Clean
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,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: 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 


31/1 was the policykit update ( https://lists.dyne.org/lurker/message/20190131.103118.c6fc512b.en.html ), maybe related to that(?).

thanks,
d


-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux beowulf/ceres
Release:	10
Codename:	n/a
Architecture: x86_64

Kernel: Linux 4.19.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages elogind depends on:
ii  dbus         1.12.12-1
ii  debconf      1.5.71
ii  libacl1      2.2.53-4
ii  libc6        2.28-8
ii  libelogind0  239.3+20190131-1
ii  libselinux1  2.8-1+b1
pn  libudev1     <none>
ii  lsb-base     10.2018112800

Versions of packages elogind recommends:
ii  policykit-1  0.105-25+devuan1

elogind suggests no packages.

-- no debconf information


Acknowledgement sent to "Dimitris T." <dimitris@stinpriza.org>:
New bug report received and forwarded. Copy sent to owner@bugs.devuan.org. Full text available.
Report forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#302; Package elogind. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Fri, 10 Jul 2020 14:39:01 UTC