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