diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-21 16:23:56 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-21 16:23:56 +0200 |
commit | 45da7614beabcddc77632c855ac6c520296faa15 (patch) | |
tree | 133b05403470d9b757f0176c55692b63335d4f04 /src | |
parent | 4136f61dbd4325a636b513513ee7c8f2cbbd3cef (diff) | |
download | abrt-45da7614beabcddc77632c855ac6c520296faa15.tar.gz abrt-45da7614beabcddc77632c855ac6c520296faa15.tar.xz abrt-45da7614beabcddc77632c855ac6c520296faa15.zip |
More fixes for /var/cache/abrt -> /var/spool/abrt conversion1.1.3
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/Daemon/Daemon.cpp | 8 | ||||
-rwxr-xr-x | src/Daemon/abrt-debuginfo-install | 2 | ||||
-rw-r--r-- | src/Hooks/abrt-hook-ccpp.cpp | 2 | ||||
-rw-r--r-- | src/Hooks/abrt-hook-python.cpp | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp index f3ecb5f4..70a6e980 100644 --- a/src/Daemon/Daemon.cpp +++ b/src/Daemon/Daemon.cpp @@ -47,7 +47,7 @@ using namespace std; /* Daemon initializes, then sits in glib main loop, waiting for events. * Events can be: - * - inotify: something new appeared under /var/cache/abrt + * - inotify: something new appeared under /var/spool/abrt * - DBus: dbus message arrived * - signal: we got SIGTERM or SIGINT * @@ -55,7 +55,7 @@ using namespace std; * - GetCrashInfos(): returns a vector_map_crash_data_t (vector_map_vector_string_t) * of crashes for given uid * v[N]["executable"/"uid"/"kernel"/"backtrace"][N] = "contents" - * - StartJob(crash_id,force): starts creating a report for /var/cache/abrt/DIR with this UID:UUID. + * - StartJob(crash_id,force): starts creating a report for /var/spool/abrt/DIR with this UID:UUID. * Returns job id (uint64). * After thread returns, when report creation thread has finished, * JobDone() dbus signal is emitted. @@ -64,7 +64,7 @@ using namespace std; * "Please report this crash": calls Report() of all registered reporter plugins. * Returns report_status_t (map_vector_string_t) - the status of each call. * 2nd parameter is the contents of user's abrt.conf. - * - DeleteDebugDump(crash_id): delete it from DB and delete corresponding /var/cache/abrt/DIR + * - DeleteDebugDump(crash_id): delete it from DB and delete corresponding /var/spool/abrt/DIR * - GetPluginsInfo(): returns map_map_string_t * map["plugin"] = { "Name": "plugin", "Enabled": "yes" ... } * - GetPluginSettings(PluginName): returns map_plugin_settings_t (map_string_t) @@ -75,7 +75,7 @@ using namespace std; * - SetSettings(map_abrt_settings_t): returns void * * DBus signals we emit: - * - Crash(progname, crash_id, uid) - a new crash occurred (new /var/cache/abrt/DIR is found) + * - Crash(progname, crash_id, uid) - a new crash occurred (new /var/spool/abrt/DIR is found) * - JobDone(client_dbus_ID) - see StartJob above. * Sent as unicast to the client which did StartJob. * - Warning(msg) diff --git a/src/Daemon/abrt-debuginfo-install b/src/Daemon/abrt-debuginfo-install index 9b9d63f1..3a236b59 100755 --- a/src/Daemon/abrt-debuginfo-install +++ b/src/Daemon/abrt-debuginfo-install @@ -333,7 +333,7 @@ $debug && echo "Downloading rpms to $tempdir" echo "Getting list of build IDs" # Observed errors: -# eu-unstrip: /var/cache/abrt/ccpp-1256301004-2754/coredump: Callback returned failure +# eu-unstrip: /var/spool/abrt/ccpp-1256301004-2754/coredump: Callback returned failure eu_unstrip_OUT=`eu-unstrip "--core=$core" -n 2>eu_unstrip.ERR` err=$? printf "%s\neu-unstrip exitcode:%s\n" "$eu_unstrip_OUT" $err >eu_unstrip.OUT diff --git a/src/Hooks/abrt-hook-ccpp.cpp b/src/Hooks/abrt-hook-ccpp.cpp index 951bea9d..aca64385 100644 --- a/src/Hooks/abrt-hook-ccpp.cpp +++ b/src/Hooks/abrt-hook-ccpp.cpp @@ -147,7 +147,7 @@ int main(int argc, char** argv) char path[PATH_MAX]; - /* Check /var/cache/abrt/last-ccpp marker, do not dump repeated crashes + /* Check /var/spool/abrt/last-ccpp marker, do not dump repeated crashes * if they happen too often. Else, write new marker value. */ snprintf(path, sizeof(path), "%s/last-ccpp", dddir); diff --git a/src/Hooks/abrt-hook-python.cpp b/src/Hooks/abrt-hook-python.cpp index 972f1176..27a02134 100644 --- a/src/Hooks/abrt-hook-python.cpp +++ b/src/Hooks/abrt-hook-python.cpp @@ -1,5 +1,5 @@ /* - abrt-hook-python.cpp - writes data to the /var/cache/abrt directory + abrt-hook-python.cpp - writes data to the /var/spool/abrt directory with SUID bit Copyright (C) 2009 RedHat inc. |