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

Package: libpam-ck-connector; Reported by: Arne Wichmann <aw@saar.de>; dated Thu, 29 Aug 2019 13:18:01 UTC; Maintainer for libpam-ck-connector is Devuan Developers <devuan-dev@lists.dyne.org>.

Message received at 348@bugs.devuan.org:


Received: (at 348) by bugs.devuan.org; 2 Apr 2020 13:10:02 +0000
Return-Path: <aw@old-forest.org>
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 13:10:02 +0000 (UTC)
Received: from old-forest.org (penta.old-forest.org [217.197.86.38])
	(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 7F5B7F606E9
	for <348@bugs.DevuAn.org>; Thu,  2 Apr 2020 15:06:33 +0200 (CEST)
Received: from [192.168.3.5] (helo=chao)
	by old-forest.org with esmtp (Exim 4.92.2)
	(envelope-from <aw@old-forest.org>)
	id 1jJzYA-0001YF-9T; Thu, 02 Apr 2020 14:06:26 +0100
Received: from [192.168.10.23] (helo=anhrefn.saar.de)
	by chao with esmtps (Exim 4.89)
	(envelope-from <aw@old-forest.org>)
	id 1jJzSG-0003lp-F6; Thu, 02 Apr 2020 15:00:20 +0200
Received: from aw by anhrefn.saar.de with local (Exim 4.92)
	(envelope-from <aw@old-forest.org>)
	id 1jJzYE-0007nz-1T; Thu, 02 Apr 2020 15:06:30 +0200
Date: Thu, 2 Apr 2020 15:06:29 +0200
From: Arne Wichmann <aw@old-forest.org>
To: Mark Hindley <mark@hindley.org.uk>
Cc: 348@bugs.devuan.org
Subject: Re: libpam-ck-connector: pam_ck_connector logs cannot determine
 display-device when non-interactive
Message-ID: <20200402130629.GG25187@anhrefn.saar.de>
References: <156708416092.7556.11299955678221931618.reportbug@anhrefn.saar.de>
 <20200401155249.GF4674@hindley.org.uk>
 <20200402105230.GH4674@hindley.org.uk>
 <20200402111214.GD25187@anhrefn.saar.de>
 <20200402124742.GI4674@hindley.org.uk>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="JkW1gnuWHDypiMFO"
Content-Disposition: inline
In-Reply-To: <20200402124742.GI4674@hindley.org.uk>
X-message-flag: Outluck ist kaputt :-)
Return-Receipt-To: aw@anhrefn.saar.de
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org


--JkW1gnuWHDypiMFO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

begin  quotation  from Mark Hindley (in <20200402124742.GI4674@hindley.org.=
uk>):
> On Thu, Apr 02, 2020 at 01:12:14PM +0200, Arne Wichmann wrote:
> > Well - the bug is mostly logging as an error which is at most an info: =
not
> > having a display device should be considered a normal case, it can happ=
en
> > for quite a number of reasons.
> >=20
> > I surely can make the message go away.
>=20
> Ah, I see. We can lower the syslog level to warning for this case.
>=20
> The problem with lowering it further is that in some cases it is a
> problem. I'll take a look to see if there is a way of disentangling
> those.

Really understanding (and possibly documenting - at least in the code) the
problematic interactions is of course "the kings way" (as we might say in
german).

Again - thank you for caring! Even though I now see the problem is minor.

cu

AW
--=20
[...] If you don't want to be restricted, don't agree to it. If you are
coerced, comply as much as you must to protect yourself, just don't support
it. Noone can free you but yourself. (crag, on Debian Planet)
Arne Wichmann (aw@saar.de)

--JkW1gnuWHDypiMFO
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIzBAABCAAdFiEEtFUkbndwdIn81UX3EIremXYA/4kFAl6F41UACgkQEIremXYA
/4l8Tw/+P0YDiXiC6epAx1DlaTmFukKcHSuZ+PbEwMr5CwyiUIuYrkSH/bvC/Not
d/A5Sf5VDLdCkD3y6+Nb1whrMUHPGO/l2KyE+ppK5/ZaDlFFTZc6iBovEQF89+fs
6Q6q+2M3RGeiXF0dtudAjYhYr+vGo9FiP0PVPpaJEyOJnf7m0UQsxjY2DkF8s8tp
3CcuzvZJjWWhQdGtNIo/S1qiwP0Cl5/gT+mP41ZH6zqq0mdp4ToWwNhgMur19c8h
WbJCOF67IZT8sjgWm3S56Wqhja+dGJbP0AfkUa4kEufAn/poUIfphKWYmdMnE4Au
KFwZqZE1SLQrrmVAevaB3Nz1Z0yUmcIv8lVOvIJCA0tZd07uVgxN1d8L1BSVdgOf
d5ONaN9SB61dwvZd9ukSJHq2FIdGIw9LDKc946ZAUjpBjQVmIK6lOcpxuFY1sFju
eZpsv9vT3UNtrTAwHS1qNITqBCRnkEiDUI59PlGW+t7D/em8T+5EAYqstHw8ujFF
K9EepqRReufC9wkMZHVNK9xFGJsoLG2lXzFpR8rS0WzDo55ORDAqcVz/EO59cf0O
4ErJ1S5qHLiREpdl11l2QtGTg9C+PkysvjZb96DaOQNOhhjy5otyQDmOB7qRnM0z
+MBNBQD8kaN9JxCOHtZv4qA8mywt4sIL1YbuM1Q/wk8qZ4Od/ik=
=p5c0
-----END PGP SIGNATURE-----

--JkW1gnuWHDypiMFO--

Acknowledgement sent to Arne Wichmann <aw@old-forest.org>:
Extra info received and forwarded to list. Copy sent to Devuan Developers <devuan-dev@lists.dyne.org>. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#348; Package libpam-ck-connector. Full text available.

Message received at 348@bugs.devuan.org:


Received: (at 348) by bugs.devuan.org; 2 Apr 2020 12:50:09 +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 12:50:09 +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 D5398F60B77
	for <348@bugs.devuan.org>; Thu,  2 Apr 2020 14:47:48 +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 1jJzG4-00047e-D7; Thu, 02 Apr 2020 13:47:45 +0100
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1jJzG2-0002s8-UT; Thu, 02 Apr 2020 13:47:42 +0100
Date: Thu, 2 Apr 2020 13:47:42 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Arne Wichmann <aw@old-forest.org>
Cc: 348@bugs.devuan.org
Subject: Re: libpam-ck-connector: pam_ck_connector logs cannot determine
 display-device when non-interactive
Message-ID: <20200402124742.GI4674@hindley.org.uk>
References: <156708416092.7556.11299955678221931618.reportbug@anhrefn.saar.de>
 <20200401155249.GF4674@hindley.org.uk>
 <20200402105230.GH4674@hindley.org.uk>
 <20200402111214.GD25187@anhrefn.saar.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200402111214.GD25187@anhrefn.saar.de>
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, Apr 02, 2020 at 01:12:14PM +0200, Arne Wichmann wrote:
> Well - the bug is mostly logging as an error which is at most an info: not
> having a display device should be considered a normal case, it can happen
> for quite a number of reasons.
> 
> I surely can make the message go away.

Ah, I see. We can lower the syslog level to warning for this case.

The problem with lowering it further is that in some cases it is a problem. I'll
take a look to see if there is a way of disentangling those.

Thanks.

Mark

Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to Devuan Developers <devuan-dev@lists.dyne.org>. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#348; Package libpam-ck-connector. Full text available.

Message received at 348@bugs.devuan.org:


Received: (at 348) by bugs.devuan.org; 2 Apr 2020 11:20:05 +0000
Return-Path: <aw@old-forest.org>
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:20:05 +0000 (UTC)
Received: from old-forest.org (penta.old-forest.org [217.197.86.38])
	(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 7BD54F60983
	for <348@bugs.DevuAn.org>; Thu,  2 Apr 2020 13:12:18 +0200 (CEST)
Received: from [192.168.3.5] (helo=chao)
	by old-forest.org with esmtp (Exim 4.92.2)
	(envelope-from <aw@old-forest.org>)
	id 1jJxlb-00019Z-3V; Thu, 02 Apr 2020 12:12:11 +0100
Received: from [192.168.10.23] (helo=anhrefn.saar.de)
	by chao with esmtps (Exim 4.89)
	(envelope-from <aw@old-forest.org>)
	id 1jJxfh-0002vp-Dw; Thu, 02 Apr 2020 13:06:05 +0200
Received: from aw by anhrefn.saar.de with local (Exim 4.92)
	(envelope-from <aw@old-forest.org>)
	id 1jJxlf-0007HE-06; Thu, 02 Apr 2020 13:12:15 +0200
Date: Thu, 2 Apr 2020 13:12:14 +0200
From: Arne Wichmann <aw@old-forest.org>
To: Mark Hindley <mark@hindley.org.uk>
Cc: 348@bugs.devuan.org
Subject: Re: libpam-ck-connector: pam_ck_connector logs cannot determine
 display-device when non-interactive
Message-ID: <20200402111214.GD25187@anhrefn.saar.de>
References: <156708416092.7556.11299955678221931618.reportbug@anhrefn.saar.de>
 <20200401155249.GF4674@hindley.org.uk>
 <20200402105230.GH4674@hindley.org.uk>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="2Z2K0IlrPCVsbNpk"
Content-Disposition: inline
In-Reply-To: <20200402105230.GH4674@hindley.org.uk>
X-message-flag: Outluck ist kaputt :-)
Return-Receipt-To: aw@anhrefn.saar.de
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org


--2Z2K0IlrPCVsbNpk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi, and thanks for taking the time.

begin  quotation  from Mark Hindley (in <20200402105230.GH4674@hindley.org.=
uk>):
> 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
> > >=20
> > > Good day to you.
> > >=20
> > > When doing as root:
> > >   echo 'su $USER ls'|at now
> > > auth.log logs
> > >   [...] su: pam_ck_connector(su:session): cannot determine display-de=
vice
> > >=20
> > > I presume that is because there rightfully is none.
> >=20
> > I have just tried this in a beowulf VM and cannot reproduce it.
>=20
> I have managed to reproduce this.
>=20
> I can't immediately see there is a bug in what consolekit is doing. As yo=
u say,
> there is no display device.
>=20
> If you want to avoid the messages appearing in your logs, then I suggest =
the
> following rsyslog configuration (or something similar to your taste).
>=20
> % cat /etc/rsyslog.d/10-local.conf
> :msg, contains, "cannot determine display-device" ~

I should note that.

> That filters the messages for me.
>=20
> Is that a solution for you?

Well - the bug is mostly logging as an error which is at most an info: not
having a display device should be considered a normal case, it can happen
for quite a number of reasons.

I surely can make the message go away.

cu

AW
--=20
[...] If you don't want to be restricted, don't agree to it. If you are
coerced, comply as much as you must to protect yourself, just don't support
it. Noone can free you but yourself. (crag, on Debian Planet)
Arne Wichmann (aw@saar.de)

--2Z2K0IlrPCVsbNpk
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIzBAABCAAdFiEEtFUkbndwdIn81UX3EIremXYA/4kFAl6FyIkACgkQEIremXYA
/4m9gxAAj9iFF4kvWAMQNcHB4v3G2GgLPp90RxmdVmCYIBH5hqTuTqc6vvEKrACU
THvsq8TxOTzIAe/QyZcbNOcag5iiLg7xpKXFUGrxLEVECtw+9uE2WuL5KIbyIErX
9KHtUL4nGVv7k/t6fQK7gndw+5wChXKftISVdCt2tbDyjq+JTkXJ3maP1EdRN6W1
VHps6lsAt7Mnz02bAV1Fg0ho1Rx1l7oYGns7kPeMqJLvKZ0WaPBM/ieuHMGmcSMQ
AOercs5mvSHD+C0pIeFe+VvAEanXCbyVVsvztMim89MMjo0JHteqqUGqOZUEx74i
Gk9JsoedPYIBt/H4BDa0wjMw7VLo64jzAkyRSZOkH73EDQ6ZUZJqcEh86JybFsOP
M1SOHn2W0Edu3vnRHzPjq3V8Oi2HXQaaIpDw6jdQe1IZI+OWdPmJq5IuQshgAodk
zP7T+CwWC9SVgc21T75JnQcyTubNctc+20RV5RGcoc/NciVTN3jXgwqj1dMLuhGB
25r4lQ+y038xMBRMG6V14a2gGLh9Q0OptpCZnKygc4Ljm8xdue8vYIDQMSmLOrAm
85SbjOWSEHCHeYMNCeLnv39631lBs6+1GHf4mHCctYC0dZfqKI+cTegWORMd4WkU
HzxzdkzjBiDvIRuNH9m00TQKRLcv2TCwHve/20egW9ZbHbDZyZw=
=WGHy
-----END PGP SIGNATURE-----

--2Z2K0IlrPCVsbNpk--

Acknowledgement sent to Arne Wichmann <aw@old-forest.org>:
Extra info received and forwarded to list. Copy sent to Devuan Developers <devuan-dev@lists.dyne.org>. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#348; Package libpam-ck-connector. Full text available.
Removed tag(s) moreinfo. Request was from Mark Hindley <mark@hindley.org.uk> to 348-submit@bugs.devuan.org. Full text available.

Message received at 348@bugs.devuan.org:


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

Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#348; Package libpam-ck-connector. Full text available.
Added tag(s) moreinfo. Request was from Mark Hindley <mark@hindley.org.uk> to control@bugs.devuan.org. Full text available.

Message received at 348@bugs.devuan.org:


Received: (at 348) by bugs.devuan.org; 1 Apr 2020 16: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); Wed, 01 Apr 2020 16: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 05A55F60506
	for <348@bugs.devuan.org>; Wed,  1 Apr 2020 17:52:54 +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 1jJfff-0004AZ-4A; Wed, 01 Apr 2020 16:52:51 +0100
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1jJffd-0000IL-Oq; Wed, 01 Apr 2020 16:52:49 +0100
Date: Wed, 1 Apr 2020 16:52:49 +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: <20200401155249.GF4674@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <156708416092.7556.11299955678221931618.reportbug@anhrefn.saar.de>
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=FAKE_REPLY_C,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Arne,

Control: tags -1 moreinfo

Thanks for this and sorry about the slow reply.

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.

The current version is 1.2.1-8 although I can't immediately see anything in the
changelog that might have fixed it.

Please can you verify it is still present and give instructions to reproduce.

Thanks

Mark

Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#348; Package libpam-ck-connector. Full text available.

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 29 Aug 2019 13:10:03 +0000
Return-Path: <aw@saar.de>
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, 29 Aug 2019 15:10:02 +0200 (CEST)
Received: from old-forest.org (penta.old-forest.org [217.197.86.38])
	(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 60004F60C75
	for <submit@bugs.devuan.org>; Thu, 29 Aug 2019 15:09:49 +0200 (CEST)
Received: from [192.168.3.5] (helo=chao)
	by old-forest.org with esmtp (Exim 4.92)
	(envelope-from <aw@saar.de>)
	id 1i3KBM-00025L-KH; Thu, 29 Aug 2019 14:09:44 +0100
Received: from [192.168.10.23] (helo=anhrefn.saar.de)
	by chao with esmtps (Exim 4.89)
	(envelope-from <aw@saar.de>)
	id 1i3K3H-0000XK-0D; Thu, 29 Aug 2019 15:01:23 +0200
Received: from aw by anhrefn.saar.de with local (Exim 4.89)
	(envelope-from <aw@saar.de>)
	id 1i3KAy-0001yx-W1; Thu, 29 Aug 2019 15:09:21 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Arne Wichmann <aw@saar.de>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: libpam-ck-connector: pam_ck_connector logs cannot determine display-device when non-interactive
Message-ID: <156708416092.7556.11299955678221931618.reportbug@anhrefn.saar.de>
X-Mailer: reportbug 7.5.1+devuan1
Date: Thu, 29 Aug 2019 15:09:20 +0200
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

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.

If this is not a more general bug, it should at least be possible to
silence the logging as it spams (at least my) log files.

Thank you for your effords!

AW

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux ascii
Release:	9
Codename:	n/a
Architecture: x86_64

Kernel: Linux 5.2.7 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_GB.iso885915, LC_CTYPE=en_GB.iso885915 (charmap=ISO-8859-15), LANGUAGE=en_GB.iso885915 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libpam-ck-connector depends on:
ii  libc6             2.28-10
ii  libck-connector0  1.2.1-4
ii  libdbus-1-3       1.10.28-0+deb9u1+devuan2
ii  libpam-runtime    1.1.8-3.6
ii  libpam0g          1.3.1-5

libpam-ck-connector recommends no packages.

libpam-ck-connector suggests no packages.

-- no debconf information


Acknowledgement sent to Arne Wichmann <aw@saar.de>:
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#348; Package libpam-ck-connector. 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: Mon, 13 Jul 2020 16:39:02 UTC