1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-15 09:57:39 +03:00

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
This commit is contained in:
Luca Boccassi 2023-07-25 19:47:29 +01:00 committed by Yu Watanabe
parent 6636b2b6bf
commit 859ecf0aaa

View File

@ -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);
}