[pkg-fso-maint] Bug#830252: nodm logs warnings when ConsoleKit not installed
Simon McVittie
smcv at debian.org
Thu Jul 7 15:59:47 UTC 2016
Package: nodm
Version: 0.12-1
Severity: minor
Tags: patch
nodm 0.12-1 logs the following warning when run without pam_ck_connector:
Jul 07 15:52:29 host nodm[955]: PAM unable to dlopen(pam_ck_connector.so): /lib/security/pam_ck_connector.so: cannot open shared object file: No such file or directory
Jul 07 15:52:29 host nodm[955]: PAM adding faulty module: pam_ck_connector.so
(but then login proceeds correctly anyway).
PAM has a syntax for silencing such errors, as in the attached patch:
prefix the phase (in this case session) with a "-", a bit like the
syntax for ignoring errors in make.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-debian-nodm.pam-don-t-log-warnings-if-ConsoleKit-isn.patch
Type: text/x-diff
Size: 1336 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20160707/892efb11/attachment.patch>
More information about the pkg-fso-maint
mailing list