]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
manager: add debug logging about BARRIER=1 messages 27510/head
authorLennart Poettering <lennart@poettering.net>
Wed, 3 May 2023 12:12:43 +0000 (14:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 3 May 2023 12:58:17 +0000 (14:58 +0200)
src/core/manager.c

index 2a7e80ca67763078841de15879efcf090aa15e61..36881de479038a997ea2c352aaf597d6872f6f08 100644 (file)
@@ -2672,8 +2672,10 @@ static int manager_dispatch_notify_fd(sd_event_source *source, int fd, uint32_t
         }
 
         /* Possibly a barrier fd, let's see. */
-        if (manager_process_barrier_fd(tags, fds))
+        if (manager_process_barrier_fd(tags, fds)) {
+                log_debug("Received barrier notification message from PID " PID_FMT ".", ucred->pid);
                 return 0;
+        }
 
         /* Increase the generation counter used for filtering out duplicate unit invocations. */
         m->notifygen++;