summaryrefslogtreecommitdiffstats
path: root/src/Daemon
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-21 15:42:18 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-21 15:42:18 +0200
commit4136f61dbd4325a636b513513ee7c8f2cbbd3cef (patch)
treee11f24718bb944206bbc2d27c24974167510801b /src/Daemon
parentb0b62cb3270b842c1fbe37c8a29a02ac85b09d00 (diff)
downloadabrt-4136f61dbd4325a636b513513ee7c8f2cbbd3cef.tar.gz
abrt-4136f61dbd4325a636b513513ee7c8f2cbbd3cef.tar.xz
abrt-4136f61dbd4325a636b513513ee7c8f2cbbd3cef.zip
remove "rename(DEBUG_DUMPS_DIR_OLD, DEBUG_DUMPS_DIR)" compat kludge
It causes selinux problems by itself. Even though we ovn both dirs, attempting to move them is not allowed... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon')
-rw-r--r--src/Daemon/Daemon.cpp6
-rw-r--r--src/Daemon/Makefile.am1
2 files changed, 0 insertions, 7 deletions
diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp
index 55bbcea8..f3ecb5f4 100644
--- a/src/Daemon/Daemon.cpp
+++ b/src/Daemon/Daemon.cpp
@@ -678,12 +678,6 @@ static void ensure_writable_dir(const char *dir, mode_t mode, const char *user)
static void sanitize_dump_dir_rights()
{
- /* Compat kludge, remove after 1.3.0
- * (and remove DEBUG_DUMPS_DIR_OLD define everywhere)
- */
- if (rename(DEBUG_DUMPS_DIR_OLD, DEBUG_DUMPS_DIR) == 0)
- symlink(DEBUG_DUMPS_DIR, DEBUG_DUMPS_DIR_OLD);
-
/* We can't allow everyone to create dumps: otherwise users can flood
* us with thousands of bogus or malicious dumps */
/* 07000 bits are setuid, setgit, and sticky, and they must be unset */
diff --git a/src/Daemon/Makefile.am b/src/Daemon/Makefile.am
index 95415463..382f104f 100644
--- a/src/Daemon/Makefile.am
+++ b/src/Daemon/Makefile.am
@@ -17,7 +17,6 @@ abrtd_CPPFLAGS = \
-DBIN_DIR=\"$(bindir)\" \
-DVAR_RUN=\"$(VAR_RUN)\" \
-DCONF_DIR=\"$(CONF_DIR)\" \
- -DDEBUG_DUMPS_DIR_OLD=\"$(DEBUG_DUMPS_DIR_OLD)\" \
-DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \
-DDEBUG_INFO_DIR=\"$(DEBUG_INFO_DIR)\" \
-DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" \