Blob Blame Raw
From b0f5fad5d92a8df57c9cf1e92e06d9ed60e49537 Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Mon, 20 Apr 2015 08:06:09 +0200
Subject: [PATCH] configure: move the default dump location to /var/spool

Signed-off-by: Jakub Filak <jfilak@redhat.com>
---
 configure.ac         | 4 ++--
 src/daemon/abrt.conf | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 430f23c..9443c50 100644
--- a/configure.ac
+++ b/configure.ac
@@ -181,8 +181,8 @@ PROBLEMS_CONFIG_INTERFACES_DIR=${dbusinterfacedir}
 
 AC_ARG_WITH([defaultdumplocation],
             AS_HELP_STRING([--with-defaultdumplocation=DIR],
-                           [Default dump location ('LOCALSTATEDIR/tmp/abrt')]),
-            [], [with_defaultdumplocation=${localstatedir}/tmp/abrt])
+                           [Default dump location ('LOCALSTATEDIR/spool/abrt')]),
+            [], [with_defaultdumplocation=${localstatedir}/spool/abrt])
 AC_SUBST([DEFAULT_DUMP_LOCATION], [$with_defaultdumplocation])
 
 AC_ARG_WITH(augeaslenslibdir,
diff --git a/src/daemon/abrt.conf b/src/daemon/abrt.conf
index 02e969d..0050c6d 100644
--- a/src/daemon/abrt.conf
+++ b/src/daemon/abrt.conf
@@ -10,11 +10,11 @@
 MaxCrashReportsSize = 1000
 
 # Specify where you want to store coredumps and all files which are needed for
-# reporting. (default:/var/tmp/abrt)
+# reporting. (default:/var/spool/abrt)
 #
 # Changing dump location could cause problems with SELinux. See man abrt_selinux(8).
 #
-#DumpLocation = /var/tmp/abrt
+#DumpLocation = /var/spool/abrt
 
 # If you want to automatically clean the upload directory you have to tweak the
 # selinux policy.
-- 
2.1.0