From 859ecf0aaa51ac1f5bcefab3fb1ba6156de9d851 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Tue, 25 Jul 2023 19:47:29 +0100 Subject: [PATCH] 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 --- src/shared/pam-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }