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)
committerMichael Biebl <biebl@debian.org>
Tue, 20 Nov 2018 18:44:39 +0000 (18:44 +0000)
commit87cf5e4b24432d6ee5aa3f5604fbe6ace9cf6e2d
tree3cbbd2b8dbe5892e2d0e2590f8c393de08ef96ea
parent69c75b7ca7cd55bce66777250ce9e8c8d83c2d94
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