summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * in bz/rhts description, list attachments and their sizesDenys Vlasenko2011-02-031-6/+27
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * abrt_rh_support: remove code which looks into Strata-Message: headerDenys Vlasenko2011-02-031-73/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * cli: change user's abrt dir from $HOME/abrt to $HOME/.abrtDenys Vlasenko2011-02-031-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * run_event: fix comment which become outdated after recent changeDenys Vlasenko2011-02-011-1/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * abrt-cli -r DIR: copy non-writable DIR into $HOME/abrt/spoolDenys Vlasenko2011-02-0110-16/+259
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * dump_dir: change locking to create .lock file inside dirDenys Vlasenko2011-02-011-63/+202
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * use run_state->children_count == 0 check for "event not conf'd" conditionDenys Vlasenko2011-02-015-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | run_event_on_FOO() was returning -1 when it found that not even one program was run on the requested event. Which is not a very natural return value: in many cases this isn't an error. This change makes it return 0 in this case. It is ok since now we have run_state->children_count member which can be checked for 0 by those callers which want to detect this condition. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * abrt-cli: converted to process events locallyDenys Vlasenko2011-02-016-332/+370
| | | | | | | | | | | | Only -d DIR operation still goes through the daemon. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * rhtsupport reads from uninitialized variableNikola Pajkovsky2011-02-011-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | abrt-action-rhtsupport.c: In function ‘main’: abrt-action-rhtsupport.c:231:12: warning: ‘child’ may be used uninitialized in this function [-Wuninitialized] abrt-action-rhtsupport.c:45:11: note: ‘child’ was declared here ... ... pid_t child; ... ... if (!login[0] || !password[0]) { errmsg = _("Empty login or password, please check RHTSupport.conf"); goto ret; } ... ... ret: // Damn, selinux does not allow SIGKILLing our own child! wtf?? //kill(child, SIGKILL); /* just in case */ waitpid(child, NULL, 0); ... ... Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * load_plugin_settings.c: remove unused variableNikola Pajkovsky2011-02-011-2/+0
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * New supported format of thread header "Thread 8 (Thread 0xb07fdb70 (LWP 6357)):"Karel Klic2011-01-311-2/+31
| |
| * Added functions malloc_consolidate, _int_malloc, and __libc_calloc to the ↵Karel Klic2011-01-311-1/+4
| | | | | | | | ignore list.
| * Increase limit for gdb run, as it was reported that 60 secs is too limiting ↵Karel Klic2011-01-311-1/+2
| | | | | | | | on slow machines
| * Rating 0 (worst) for backtrace on which the parser fails.Karel Klic2011-01-311-4/+10
| |
| * Message text and other small cosmetic fixesDenys Vlasenko2011-01-283-11/+16
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * make list_possible_events return empty on non-dump directoriesDenys Vlasenko2011-01-281-4/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * run_event: add children_countDenys Vlasenko2011-01-272-2/+15
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * preparatory changes for abrt-cli local processing changeDenys Vlasenko2011-01-279-168/+76
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * minor build fixesJiri Moskovcak2011-01-251-2/+2
| |
| * Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtJiri Moskovcak2011-01-254-21/+47
| |\
| | * split parse_release() into Bz and RHTS versionsDenys Vlasenko2011-01-253-10/+34
| | | | | | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| | * Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtDenys Vlasenko2011-01-251-1/+0
| | |\
| | * | plug memory leak on error pathsDenys Vlasenko2011-01-251-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| | * | comment out unused function post_signatureDenys Vlasenko2011-01-251-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| | * | move block of code to eliminate a gotoDenys Vlasenko2011-01-251-10/+10
| | | | | | | | | | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * | | don't try to remove the tmp dir if it's not createdJiri Moskovcak2011-01-251-3/+3
| | | | | | | | | | | | | | | | | | | | - if no package is found the tmp dir is not created, but we tried to remove it anyway which failed
| * | | fixed some gui warnings rhbz#671488Jiri Moskovcak2011-01-254-648/+5
| | |/ | |/| | | | | | | | | | | | | - it turned out to be caused by some unused code we had in git, so I just removed it and find out, that I was redefining the "show" signal from GObject, so I renamed it to "show_gui"
| * | minor cleanup in python handlerJiri Moskovcak2011-01-241-1/+0
| |/ | | | | | | - removed unused import subprocess
| * remove CCommLayerServer[DBus] classesDenys Vlasenko2011-01-219-144/+39
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * s/QuotaExceed/QuotaExceeded/gDenys Vlasenko2011-01-215-9/+9
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * Remove CCrashWatcher and CObserver classes; merge libabrt_daemon into abrtdDenys Vlasenko2011-01-2111-165/+16
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * remove plugin.h, move its only macro into into only userDenys Vlasenko2011-01-205-35/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * add OPT_LIST mechanism to handle multiply occurring optionsDenys Vlasenko2011-01-2014-126/+110
| | | | | | | | | | | | | | This allowed to convert abrt-action-bugzilla, abrt-action-rhtsupport and abrt-action-kerneloops to parse_opts() Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * Remove unused OPTION_GROUPDenys Vlasenko2011-01-202-14/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * make option handling more regular across all toolsDenys Vlasenko2011-01-2015-149/+148
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * introduce and use new helper function list_free_with_freeDenys Vlasenko2011-01-2014-35/+50
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * disable SetSettings dbus call codeDenys Vlasenko2011-01-205-39/+49
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * convert abrt-action-save-package-data.cpp to CDenys Vlasenko2011-01-204-8/+15
| | | | | | | | | | | | The conversion is trivial: a few tweaks to one header file Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * python: fix SEGV on crash_data().get("nonexistent")Denys Vlasenko2011-01-202-0/+14
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * fixed build against rpm 4.9Jiri Moskovcak2011-01-191-3/+2
| | | | | | | | | | - we don't use this code, but fixed it anyway, so we don't have to find the fix once we decide to uncomment it
| * abrtd: merge pid and lock files into oneDenys Vlasenko2011-01-191-40/+28
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * remove old plugin machinery. -10k and -1 library dependence in abrtdDenys Vlasenko2011-01-1915-973/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * move (de)installation of abrt-hook-ccpp into abrt-ccpp service.Denys Vlasenko2011-01-191-10/+1
| | | | | | | | | | | | | | | | | | Init script is packaged and installed with abrt-addon-ccpp package. In order to not install the hook twice, "old" plugin loading in abrtd is disabled (pending deletion of entire "old" plugin machinery). Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * remove [ Cron ] handlingDenys Vlasenko2011-01-175-315/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * remove dumpoops and KerneloopsScanner pluginDenys Vlasenko2011-01-1710-928/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * replace KerneloopsScanner plugin and dumpoops with abrt-dump-oops, use it in ↵Denys Vlasenko2011-01-176-24/+807
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | abrtd Patch adds new tool: $ abrt-dump-oops Usage: abrt-dump-oops [-vsrdow] FILE Extract oops from syslog/dmesg file -v, --verbose Be verbose -s Log to syslog -r Parse kernel's message buffer before parsing FILE -d Create ABRT dump for every oops found -o Print found oopses on standard output -w Do not exit, watch the file for new oopses It extends dumpoops. Extensions: * it can watch the syslog using -w option (uses inotify) * it can scan dmesg buffer too In this way, it also becomes a replacement for KerneloopsScanner plugin: oops-detecting logic is taken verbatim from KerneloopsScanner source. abrtd is changed to start it if it sees this directive in abrt.conf: [ LogScanners ] abrt-dump-oops = abrt-dump-oops -drw /var/log/messages Default abrt.conf is changed to have such line. Patch doesn't remove KerneloopsScanner plugin and dumpoops binary yet, I will do it in a separate trivial patch. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * preliminary cleanup patchesDenys Vlasenko2011-01-144-67/+61
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * trivial: more uniform -v option helpDenys Vlasenko2011-01-136-6/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * fix a SEGV caused by returning NULL instead of empty hash tableDenys Vlasenko2011-01-131-0/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * abrt_event.conf parser is updated to handleDenys Vlasenko2011-01-132-24/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "include GLOB_PATTERN" line which expands GLOB_PATTERN and recurses into every matching file. Another small change makes it possible to have one rule to span lines: our current default abrt_event.conf has sosreport invocation which looks very ugly. Sosreport invocation is rewritten in a much more readable multi-line form now. The comment in src/daemon/abrt_event.conf is modified to explain the recognized syntax. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>