Devuan bug report logs - #348
libpam-ck-connector: pam_ck_connector logs cannot determine display-device when non-interactive

Package: libpam-ck-connector; Maintainer for libpam-ck-connector is Devuan Developers <devuan-dev@lists.dyne.org>; Source for libpam-ck-connector is src:consolekit2.

Reported by: Arne Wichmann <aw@saar.de>

Date: Thu, 29 Aug 2019 13:18:01 UTC

Severity: minor

Full log


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

Received: (at 348) by bugs.devuan.org; 2 Apr 2020 11:00:03 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Thu, 02 Apr 2020 11:00:03 +0000 (UTC)
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 14958F604B6
	for <348@bugs.devuan.org>; Thu,  2 Apr 2020 12:52:34 +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 1jJxSa-0003Nh-0u; Thu, 02 Apr 2020 11:52:32 +0100
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1jJxSY-0000n4-56; Thu, 02 Apr 2020 11:52:30 +0100
Date: Thu, 2 Apr 2020 11:52:30 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: 348@bugs.devuan.org
Cc: Arne Wichmann <aw@saar.de>
Subject: Re: libpam-ck-connector: pam_ck_connector logs cannot determine
 display-device when non-interactive
Message-ID: <20200402105230.GH4674@hindley.org.uk>
References: <156708416092.7556.11299955678221931618.reportbug@anhrefn.saar.de>
 <20200401155249.GF4674@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200401155249.GF4674@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
Control: tags -1 -moreinfo

Arne,

On Wed, Apr 01, 2020 at 04:52:49PM +0100, Mark Hindley wrote:
> On Thu, 29 Aug 2019 15:09:20 +0200 Arne Wichmann <aw@saar.de> wrote:
> > Package: libpam-ck-connector
> > Version: 1.2.1-4
> > Severity: normal
> > 
> > Good day to you.
> > 
> > When doing as root:
> >   echo 'su $USER ls'|at now
> > auth.log logs
> >   [...] su: pam_ck_connector(su:session): cannot determine display-device
> > 
> > I presume that is because there rightfully is none.
> 
> I have just tried this in a beowulf VM and cannot reproduce it.

I have managed to reproduce this.

I can't immediately see there is a bug in what consolekit is doing. As you say,
there is no display device.

If you want to avoid the messages appearing in your logs, then I suggest the
following rsyslog configuration (or something similar to your taste).

% cat /etc/rsyslog.d/10-local.conf
:msg, contains, "cannot determine display-device" ~

That filters the messages for me.

Is that a solution for you?

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: Sun Nov 24 17:25:17 2024;