From: Luca Boccassi Date: Tue, 25 Jul 2023 18:47:29 +0000 (+0100) Subject: pam: lower warning about closing sd-bus after fork X-Git-Tag: v254~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=859ecf0aaa51ac1f5bcefab3fb1ba6156de9d851;p=thirdparty%2Fsystemd.git pam: lower warning about closing sd-bus after fork There is some issue in our code that triggers this warning constantly, but it's nothing users can solve, so downgrade to debug level until we can figure out the original issue (which is a permission denied error on ReleaseSession D-Bus method call). Related to https://github.com/systemd/systemd/issues/28514 --- diff --git a/src/shared/pam-util.c b/src/shared/pam-util.c index 15a8f5de28f..37945ba743c 100644 --- a/src/shared/pam-util.c +++ b/src/shared/pam-util.c @@ -88,7 +88,7 @@ static void pam_bus_data_destroy(pam_handle_t *handle, void *data, int error_sta * happen. */ if (error_status & PAM_DATA_SILENT) - pam_syslog(handle, LOG_WARNING, "Attempted to close sd-bus after fork, this should not happen."); + pam_syslog(handle, LOG_DEBUG, "Attempted to close sd-bus after fork, this should not happen."); pam_bus_data_free(data); }