arrfab / rpms / abrt

Forked from rpms/abrt 5 years ago
Clone

Blame SOURCES/0101-configure-move-the-default-dump-location-to-var-spoo.patch

8ec399
From 7d023c32a565e83306cddf34c894477b7aaf33d1 Mon Sep 17 00:00:00 2001
8ec399
From: Jakub Filak <jfilak@redhat.com>
8ec399
Date: Mon, 20 Apr 2015 08:06:09 +0200
8ec399
Subject: [ABRT PATCH] configure: move the default dump location to /var/spool
8ec399
8ec399
Signed-off-by: Jakub Filak <jfilak@redhat.com>
8ec399
---
8ec399
 configure.ac         | 4 ++--
8ec399
 src/daemon/abrt.conf | 4 ++--
8ec399
 2 files changed, 4 insertions(+), 4 deletions(-)
8ec399
8ec399
diff --git a/configure.ac b/configure.ac
8ec399
index 6c6d2e8..d95fc4a 100644
8ec399
--- a/configure.ac
8ec399
+++ b/configure.ac
8ec399
@@ -146,8 +146,8 @@ PROBLEMS_CONFIG_INTERFACES_DIR=${dbusinterfacedir}
8ec399
 
8ec399
 AC_ARG_WITH([defaultdumplocation],
8ec399
             AS_HELP_STRING([--with-defaultdumplocation=DIR],
8ec399
-                           [Default dump location ('LOCALSTATEDIR/tmp/abrt')]),
8ec399
-            [], [with_defaultdumplocation=${localstatedir}/tmp/abrt])
8ec399
+                           [Default dump location ('LOCALSTATEDIR/spool/abrt')]),
8ec399
+            [], [with_defaultdumplocation=${localstatedir}/spool/abrt])
8ec399
 AC_SUBST([DEFAULT_DUMP_LOCATION], [$with_defaultdumplocation])
8ec399
 
8ec399
 AC_ARG_WITH(augeaslenslibdir,
8ec399
diff --git a/src/daemon/abrt.conf b/src/daemon/abrt.conf
8ec399
index 6c0d6b0..171ee4c 100644
8ec399
--- a/src/daemon/abrt.conf
8ec399
+++ b/src/daemon/abrt.conf
8ec399
@@ -10,11 +10,11 @@
8ec399
 MaxCrashReportsSize = 1000
8ec399
 
8ec399
 # Specify where you want to store coredumps and all files which are needed for
8ec399
-# reporting. (default:/var/tmp/abrt)
8ec399
+# reporting. (default:/var/spool/abrt)
8ec399
 #
8ec399
 # Changing dump location could cause problems with SELinux. See man abrt_selinux(8).
8ec399
 #
8ec399
-#DumpLocation = /var/tmp/abrt
8ec399
+#DumpLocation = /var/spool/abrt
8ec399
 
8ec399
 # If you want to automatically clean the upload directory you have to tweak the
8ec399
 # selinux policy.
8ec399
-- 
8ec399
1.8.3.1
8ec399