valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

Blame SOURCES/0112-automount-log-info-about-triggering-process.patch

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