anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone
Blob Blame History Raw
From 46405e5b293eeb66eb10e79f824a51cbaf5147ab Mon Sep 17 00:00:00 2001
From: Kay Sievers <kay@vrfy.org>
Date: Thu, 28 Nov 2013 01:25:10 +0100
Subject: [PATCH] automount: log info about triggering process

Conflicts:
	src/core/automount.c
---
 src/core/automount.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/core/automount.c b/src/core/automount.c
index d1379e0..203104e 100644
--- a/src/core/automount.c
+++ b/src/core/automount.c
@@ -776,8 +776,8 @@ static void automount_fd_event(Unit *u, int fd, uint32_t events, Watch *w) {
                         _cleanup_free_ char *p = NULL;
 
                         get_process_comm(packet.v5_packet.pid, &p);
-                        log_debug_unit(u->id,
-                                       "Got direct mount request on %s, triggered by %lu (%s)",
+                        log_info_unit(u->id,
+                                       "Got automount request for %s, triggered by %lu (%s)",
                                        a->where, (unsigned long) packet.v5_packet.pid, strna(p));
                 } else
                         log_debug_unit(u->id, "Got direct mount request on %s", a->where);