]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
pam-util: add one more debugging log about sd-bus connection
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 Feb 2024 03:27:42 +0000 (12:27 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 21 Feb 2024 03:09:21 +0000 (12:09 +0900)
Continuation of b5b2510800fa50187f5c7342cb9471fdb97bc4b0.

src/shared/pam-util.c

index fabe21f0ccb2316fdd106bda9fd7a87bb7acd035..c93ab9afebea0950ed9f69349d97ef2886913202 100644 (file)
@@ -179,6 +179,8 @@ int pam_acquire_bus_connection(
         if (r != PAM_SUCCESS)
                 return pam_syslog_pam_error(handle, LOG_ERR, r, "Failed to set PAM bus data: @PAMERR@");
 
+        pam_syslog(handle, LOG_DEBUG, "New sd-bus connection (%s) opened.", d->cache_id);
+
 success:
         *ret_bus = sd_bus_ref(d->bus);