]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
pam: lower warning about closing sd-bus after fork
authorLuca Boccassi <bluca@debian.org>
Tue, 25 Jul 2023 18:47:29 +0000 (19:47 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 26 Jul 2023 01:07:06 +0000 (10:07 +0900)
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

index 15a8f5de28f897262b2bc259ea3ac6fa2f7805a5..37945ba743cd332de7d3419bd4dca82c5cdd9987 100644 (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);
 }