richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
9fc0f6
From 46405e5b293eeb66eb10e79f824a51cbaf5147ab Mon Sep 17 00:00:00 2001
9fc0f6
From: Kay Sievers <kay@vrfy.org>
9fc0f6
Date: Thu, 28 Nov 2013 01:25:10 +0100
9fc0f6
Subject: [PATCH] automount: log info about triggering process
9fc0f6
9fc0f6
Conflicts:
9fc0f6
	src/core/automount.c
9fc0f6
---
9fc0f6
 src/core/automount.c | 4 ++--
9fc0f6
 1 file changed, 2 insertions(+), 2 deletions(-)
9fc0f6
9fc0f6
diff --git a/src/core/automount.c b/src/core/automount.c
9fc0f6
index d1379e0..203104e 100644
9fc0f6
--- a/src/core/automount.c
9fc0f6
+++ b/src/core/automount.c
9fc0f6
@@ -776,8 +776,8 @@ static void automount_fd_event(Unit *u, int fd, uint32_t events, Watch *w) {
9fc0f6
                         _cleanup_free_ char *p = NULL;
9fc0f6
 
9fc0f6
                         get_process_comm(packet.v5_packet.pid, &p);
9fc0f6
-                        log_debug_unit(u->id,
9fc0f6
-                                       "Got direct mount request on %s, triggered by %lu (%s)",
9fc0f6
+                        log_info_unit(u->id,
9fc0f6
+                                       "Got automount request for %s, triggered by %lu (%s)",
9fc0f6
                                        a->where, (unsigned long) packet.v5_packet.pid, strna(p));
9fc0f6
                 } else
9fc0f6
                         log_debug_unit(u->id, "Got direct mount request on %s", a->where);