From unknown Thu Mar 28 10:35:02 2024 Received: (at 348) by bugs.devuan.org; 2 Apr 2020 11:00:03 +0000 Return-Path: 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 (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 ) 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 ) id 1jJxSY-0000n4-56; Thu, 02 Apr 2020 11:52:30 +0100 Date: Thu, 2 Apr 2020 11:52:30 +0100 From: Mark Hindley To: 348@bugs.devuan.org Cc: Arne Wichmann 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 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