Devuan bug report logs - #301
slim logins don't get registered in utmp

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

Reported by: Ralph Ronnquist <ralph.ronnquist@gmail.com>

Date: Thu, 7 Mar 2019 10:03:01 UTC

Severity: normal

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

Full log


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

Received: (at 301) by bugs.devuan.org; 8 Mar 2019 17: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); Fri, 08 Mar 2019 18:30: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 0A13FF609BC
	for <301@bugs.devuan.org>; Fri,  8 Mar 2019 18:27:46 +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 1h2JHd-0001KH-B8; Fri, 08 Mar 2019 17:27:45 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1h2JHS-0000l0-85; Fri, 08 Mar 2019 17:27:34 +0000
Date: Fri, 8 Mar 2019 17:27:34 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 301@bugs.devuan.org
Cc: Ralph Ronnquist <ralph.ronnquist@gmail.com>
Subject: Re: slim logins don't get registered in utmp
Message-ID: <20190308172734.GD17160@hindley.org.uk>
References: <13b902a1-2c17-4c1b-691a-f8fccf5a6e2d@gmail.com>
 <20190307184006.GX17160@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20190307184006.GX17160@hindley.org.uk>
X-Debbugs-No-Ack: No Thanks
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
Ralph,

Could you try adding this configuration to /etc/slim.conf please?

# sessreg. You can use the %user variable
sessionstop_cmd exec sessreg -d -l $DISPLAY %user
sessionstart_cmd exec sessreg -a -l $DISPLAY %user

It fixes slim utmp/wtmp/lastlog registration for me although the process is
identified as ?xdm?. Trying to fix that....

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 19 19:06:37 2024;