summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* l10n: Updates to Polish (pl) translationraven2011-01-191-89/+103
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* 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
* fixed POTFILES.in file rhbz#670309Jiri Moskovcak2011-01-191-8/+7
|
* abrtd: add "pidfile: /var/run/abrtd.pid" to init scriptDenys Vlasenko2011-01-191-0/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* 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-1917-975/+3
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move (de)installation of abrt-hook-ccpp into abrt-ccpp service.Denys Vlasenko2011-01-193-10/+152
| | | | | | | | | 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>
* abrt: init script fixes: better descriptionDenys Vlasenko2011-01-192-16/+12
| | | | | | Also, replaced un-grep-able ${name}d with abrtd in .spec Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrtd: trivial changes to make init script more correct wrt whitespaceDenys Vlasenko2011-01-191-15/+8
| | | | 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-1713-933/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* replace KerneloopsScanner plugin and dumpoops with abrt-dump-oops, use it in ↵Denys Vlasenko2011-01-1715-36/+820
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* l10n: Updates to Oriya (or) translationmgiri2011-01-171-242/+232
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* 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>
* l10n: Updates to Panjabi (Punjabi) (pa) translationjassy2011-01-131-223/+223
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* Remove accidentally commited files from the retrace branchKarel Klic2011-01-122-162/+0
|
* l10n: Updates to Kannada (kn) translationshanky2011-01-121-241/+232
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* remove C++-ism ssprintf from abrtlib.hDenys Vlasenko2011-01-114-28/+23
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* do not pollute library namespace: prefix bin2hex and hex2bin with abrt_Denys Vlasenko2011-01-111-0/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move abrt-action-FOO from /usr/libexec to /usr/binDenys Vlasenko2011-01-117-42/+32
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt.spec: addon-cpp requires cpio, because abrt-action-debuginfo-install.py ↵Karel Klic2011-01-111-1/+1
| | | | invokes it
* adding missing extern "C" {}Denys Vlasenko2011-01-061-0/+8
| | | | | | | This fixes the following problem: abrtd: Can't load '/usr/lib64/abrt/libKerneloopsScanner.so': /usr/lib64/abrt/libKerneloopsScanner.so: undefined symbol: _Z14extract_oopsesPP6_GListPcm Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* pass old pattern to ccpp hook and use itDenys Vlasenko2011-01-065-40/+232
| | | | | | | | | | | | | | | | | | | | | | | abrtd: instead of "|/usr/libexec/abrt-ccpp-hook DEBUG_DUMPS_DIR %p %s %u %c", sets coredump handler to "|/usr/libexec/abrt-ccpp-hook DEBUG_DUMPS_DIR %s %c %p %u %g %t %h %e OLD_PATTERN" abrt-ccpp-hook: expands OLD_PATTERN using values of %s %c %p %u %g %t %h %e and uses it as a name of "compat coredump". Patch has a feature which prevents usage of kernel-truncated OLD_PATTERN: it is passed as hex string *with terminating NUL* (encoded as 00). If ccpp hook doesn't see 00, it refuses to use OLD_PATTERN and uses string "core" instead. Run tested. On a new kernel, passes up to 27 char long old pattern. Longer patterns are still truncated. This may be improved in future kernels. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Merge branch 'abrt-fix-master' of ↵Nikola Pajkovsky2011-01-052-1/+12
|\ | | | | | | | | | | | | | | ssh://fedorapeople.org/home/fedora/npajkovs/public_git/abrt * 'abrt-fix-master' of ssh://fedorapeople.org/home/fedora/npajkovs/public_git/abrt: 666893 - Unable to make sense of XML-RPC response from server 665405 - ABRT's usage of sos does not grab /var/log/messages
| * 666893 - Unable to make sense of XML-RPC response from serverNikola Pajkovsky2011-01-051-0/+11
| | | | | | | | | | | | | | By default, XML data from the network may be no larger than 512K. We have a bug which is 733402 bytes long. Limit is now 2 * 512K. Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * 665405 - ABRT's usage of sos does not grab /var/log/messagesNikola Pajkovsky2011-01-051-1/+1
|/ | | | | | add --only=general --only=x11 Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* PyHook: ignore SystemExit exception rhbz#636913Jiri Moskovcak2011-01-051-2/+4
| | | | | | - SystemExit is not an error, so ABRT should ignore it - see http://docs.python.org/library/exceptions.html#exceptions.SystemExit for more details
* l10n: Updates to Gujarati (gu) translationswkothar2011-01-051-41/+56
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* dump_dir: make chown'ing of new files optional - needed for non-root usageDenys Vlasenko2011-01-047-36/+80
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* dump_dir: stop aborting on EPERM locking errorsDenys Vlasenko2011-01-041-16/+39
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* koops: catch "kernel BUG at" with both small and capital K.Denys Vlasenko2011-01-041-12/+20
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* l10n: Updates to Bengali (India) (bn_IN) translationrunab2011-01-041-242/+235
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* l10n: Updates to Gujarati (gu) translationswkothar2010-12-311-300/+181
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* extend run_event() to run_event_on_dir_name() and run_event_on_crash_data()Denys Vlasenko2010-12-2222-57/+119
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* src/report-python: expose CD_FLAG_foo constants to Python wrapperDenys Vlasenko2010-12-223-1/+16
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* *: rename *crash_dump.* -> *crash_data.*Denys Vlasenko2010-12-2225-30/+30
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* src/report-python: add report package compatibilityDenys Vlasenko2010-12-218-1/+190
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* create_dump_dir: add base_dir_name parameter.Denys Vlasenko2010-12-1610-35/+147
| | | | | | | | This makes python wrappers more usable. src/report-python/test_full demonstrates how pyhton programs can run reporting now. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* report-python/run_event.c: python wrappers for run_event.h APIDenys Vlasenko2010-12-166-3/+255
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* report-python/dump_dir: fix SEGV when dd.op() operates on closed ddDenys Vlasenko2010-12-162-1/+27
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* python wrapper: trivial cleanupDenys Vlasenko2010-12-163-7/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Rename foo_crash_dump_dir -> foo_dump_dirDenys Vlasenko2010-12-1520-57/+40
| | | | | | | | | | | | | To be exact, these three functions are renamed: load_crash_data_from_crash_dump_dir create_crash_dump_dir delete_crash_dump_dir Rationale: data structure is called "struct dump_dir", not "struct crash_dump_dir" Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* set chmod 0755 on test progsDenys Vlasenko2010-12-152-0/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* python wrappers: make crash_data.create_crash_dump_dir() workDenys Vlasenko2010-12-156-19/+109
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* python wrappers: add dump_dir wrapperDenys Vlasenko2010-12-155-28/+205
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* simplify python wrapper codeDenys Vlasenko2010-12-157-108/+58
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* jury-rig compile for python2.6; small style fixesDenys Vlasenko2010-12-145-23/+30
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>