Blob Blame History Raw
From 7d023c32a565e83306cddf34c894477b7aaf33d1 Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Mon, 20 Apr 2015 08:06:09 +0200
Subject: [ABRT 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 6c6d2e8..d95fc4a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,8 +146,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 6c0d6b0..171ee4c 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.
-- 
1.8.3.1