pam_systemd: suppress LOG_DEBUG log messages if debugging is off
authorLennart Poettering <lennart@poettering.net>
Mon, 19 Nov 2018 10:39:45 +0000 (11:39 +0100)
committerFelipe Sateler <fsateler@debian.org>
Thu, 6 Dec 2018 00:03:34 +0000 (00:03 +0000)
commit1a2ef5a088c4a847fb54327af8b2fb0458512cec
tree1dc0c508b24ab69cfd79e8bb4e50bdcd2b71d107
parent00efcf35d5e3a248a6731dac06c3125c69ffeaf1
pam_systemd: suppress LOG_DEBUG log messages if debugging is off

In the PAM module we need to suppress LOG_DEBUG messages manually, if
debug logging is not on, as PAM won't do this for us. We did this
correctly for most log messages already, but two were missing. Let's fix
those too.

Fixes: #10822
(cherry picked from commit 2675747f3cdd6f1e6236bbb2f79abfa53fb307f1)

Gbp-Pq: Name pam_systemd-suppress-LOG_DEBUG-log-messages-if-debugging-.patch
src/login/pam_systemd.c