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