[PATCH 8/8] abrtd: disable inotify watch on DUMP_LOC

Denys Vlasenko dvlasenk at redhat.com
Fri Jul 26 09:23:57 UTC 2013


Signed-off-by: Denys Vlasenko <dvlasenk at redhat.com>
---
 src/daemon/abrtd.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/daemon/abrtd.c b/src/daemon/abrtd.c
index 79434d3..0315a0a 100644
--- a/src/daemon/abrtd.c
+++ b/src/daemon/abrtd.c
@@ -1088,6 +1088,7 @@ int main(int argc, char** argv)
         perror_msg_and_die("inotify_init failed");
     close_on_exec_on(inotify_fd);
 
+#if 0
     /* Watching 'g_settings_dump_location' for new files and delete self
      * because hooks expects that the dump location exists if abrtd is running
      */
@@ -1096,6 +1097,7 @@ int main(int argc, char** argv)
         perror_msg("inotify_add_watch failed on '%s'", g_settings_dump_location);
         goto init_error;
     }
+#endif
     /* ...and upload dir */
     if (g_settings_sWatchCrashdumpArchiveDir)
     {
-- 
1.8.1.4



More information about the Crash-catcher mailing list