systemd/0131-automount-log-info-about-triggering-process.patch
Zbigniew Jędrzejewski-Szmek d66047d776 Backport fixes and hwdb changes
Virt patch which had to be backed-out is enabled again, along with the
patch to fix the compilation issues.
2013-12-03 19:08:51 -05:00

27 lines
1.2 KiB
Diff

From e64e35b2f24f0a2979d435a752d2ab141c5a0cc2 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);