summaryrefslogtreecommitdiffstats
path: root/abrt.spec
Commit message (Collapse)AuthorAgeFilesLines
* clean up spec and add one buildrequiresNikola Pajkovsky2011-02-141-4/+2
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@dhcp-25-115.brq.redhat.com>
* abrt-gtk: beginning of C rewrite of GUIJiri Moskovcak2011-02-091-0/+1
|
* specify the uid:gid pair in useradd/groupadd invocationJiri Moskovcak2011-01-241-2/+4
| | | | | - abrt has the 173:173 pair reserved in the setup package, so now we can use it
* added python to addon-python requires rhbz#672043Jiri Moskovcak2011-01-241-0/+1
| | | | | - doesn't make sense to install python handler without python and it breaks python build, see rhbz#672043 for more info
* remove old plugin machinery. -10k and -1 library dependence in abrtdDenys Vlasenko2011-01-191-1/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move (de)installation of abrt-hook-ccpp into abrt-ccpp service.Denys Vlasenko2011-01-191-0/+22
| | | | | | | | | 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-191-13/+9
| | | | | | Also, replaced un-grep-able ${name}d with abrtd in .spec Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove dumpoops and KerneloopsScanner pluginDenys Vlasenko2011-01-171-3/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* replace KerneloopsScanner plugin and dumpoops with abrt-dump-oops, use it in ↵Denys Vlasenko2011-01-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* move abrt-action-FOO from /usr/libexec to /usr/binDenys Vlasenko2011-01-111-12/+12
| | | | 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
* a stub for report-pythonJiri Moskovcak2010-12-141-0/+12
|
* rename report-libs to libreportJiri Moskovcak2010-12-091-9/+9
|
* fix packaging of -devel packages - we were packaging libabrt.so into bothDenys Vlasenko2010-12-091-4/+3
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* rename libabrt.so to libreport.soDenys Vlasenko2010-12-091-2/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* create report-libs-devel package; separate out report headersDenys Vlasenko2010-12-091-3/+15
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move libabrt.so to separate package report-libsJiri Moskovcak2010-12-071-1/+17
|
* factor out headers so that "report lib" API is separated out of abrt APIDenys Vlasenko2010-12-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch minimally affects code per se - it adds create_crash_dump_dir() function which takes in-memory representation of the dump (map_crash_data_t object) and creates an on-disk representation. Then it returns pointer to struct dump_dir. With this function, it is possible to run an event on a user-constructed map_crash_data_t: map_crash_data_t cd; add_to_crash_data(cd, "foo", "bar"); struct dump_dir *dd = create_crash_dump_dir(cd); char *dir_name = strdup(dd->dd_dir); dd_close(dd); run_event(run_state, dir_name, event); delete_crash_dump_dir(dir_name); which is, basically, what report library is about. The biggest part of the patch is reshuffling of header files, with the following result: three header files which are not cluttered by other ABRT stuff, and expose the following API each: crash_dump.h - in-memory crash dump data structs and ops dump_dir.h - on-disk crash dump data structs and ops run_event.h - run_event() and friends These is a test application, test_report.cpp.cpp, which demonstrates (and tests) usage of these headers. (grep for "test-report" and enable it in build system if you want it to be built). It creates a temporary dump in /var/run/abrt/tmp-NNNN-NNNNN and runs "report" event. Deleting of temp dump is disabled for testing purposes - you might want to see the contents. Here is how the binary looks like: text data bss dec hex filename 3730 668 48 4446 115e /usr/bin/test-report linux-vdso.so.1 => (0x00007ffffa80f000) libabrt.so.0 => /usr/lib64/libabrt.so.0 (0x00007fad1f35e000) libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x0000003c1f200000) libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003c2c200000) libm.so.6 => /lib64/libm.so.6 (0x00007fad1f0da000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003c28e00000) libc.so.6 => /lib64/libc.so.6 (0x00007fad1ed5b000) /lib64/ld-linux-x86-64.so.2 (0x00007fad1f570000) Next step would be to clean up the namespace, then rename libabrt.so into libreport.so, then split it into a separate package so that we can install it without installing other two abrt .so files. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* new debuginfo install script rewritten in pythonJiri Moskovcak2010-11-291-2/+1
| | | | | | | | - using python alows us to use the yum API, so we can read the progress, file sizes, requires disk space, etc.. and seems to be faster the using yum --whatprovides + yumdownloader - it's easier to translate - we can drop dependency on yum-utils
* remove sqlite DBDenys Vlasenko2010-11-231-4/+0
| | | | | | | | | | | | | | | | | | | | | | This change removes sqlite database. Database was used to find dump dirs by [UID:]UUID. This patch uses more natural way: dump dirs are addressed by their directory names. DB was also used to produce a list of dump dirs. Now it is done by iterating over the /var/spool/abrt directory. And finally, DB was also used to find duplicate UUIDs. Now it is done by iterating over the /var/spool/abrt directory. Crash count, "inform all" and reporting result message are moved from DB field to a file in dump dir. "Reported" DB field is deleted - if message != "", then this dump was reported. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove polkitNikola Pajkovsky2010-11-191-2/+0
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* more spec file cleanups based on rpmlintJiri Moskovcak2010-11-181-10/+10
|
* fixed update from 1.1.xJiri Moskovcak2010-11-181-3/+3
|
* increased version to 1.2.0Jiri Moskovcak2010-11-181-1/+1
| | | | - we have a different branch for 1.1.x
* spec file cleanupJiri Moskovcak2010-11-181-5/+3
| | | | - fixed some rpmlint warnings
* obsolete removed pluginsJiri Moskovcak2010-11-141-0/+4
| | | | - we need to obsolete removed plugins otherwise yum update won't work
* removed gnome-python2-gnomevfs dependencyJiri Moskovcak2010-11-141-1/+1
|
* Removed "old" Kerneloops and Python analyzers. They were emptyDenys Vlasenko2010-11-121-2/+0
| | | | | | Run-tested that python crashes are still caught Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* replace "old" Mailx plugin with new one. This is the last "old" reporter pluginDenys Vlasenko2010-11-121-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Remove SOSreport plugin - abrt_event.conf supersedes itDenys Vlasenko2010-11-121-14/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove "old-style" FileTransfer and ReportUploader pluginsDenys Vlasenko2010-11-111-18/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* add "new style" abrt-action-upload pluginDenys Vlasenko2010-11-111-0/+3
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Remove "old-style" KerneloopsReporterDenys Vlasenko2010-11-111-1/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove "old" Bugzilla and RHTSupport pluginsDenys Vlasenko2010-11-111-2/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move files from lib/plugins to src/pluginsJiri Moskovcak2010-11-101-10/+10
|
* Decouple settings handling from old-style pluginsDenys Vlasenko2010-11-101-0/+1
| | | | | | | | The breakage was discovered when i removed Logger class. it turned out the fix is somewhat involved. This change implements it as discussed with the rest of the team. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove CLogger class, abrt-event.conf + abrt-action-print superseded itDenys Vlasenko2010-11-081-2/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove RunApp plugin, abrt-event.conf superseded itDenys Vlasenko2010-11-081-15/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* rename abrt_action.conf -> abrt_event.conf (forgot two places)Denys Vlasenko2010-11-021-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-handle-crashdump: new semi-debug utility to run abrt actions for a ↵Denys Vlasenko2010-11-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | specified event Some reworking of run_action() API was needed to make it possible to put it into libABRT. abrt-handle-crashdump has no -l option yet: $ abrt-handle-crashdump Usage: abrt-handle-crashdump [-vs] -d DIR -e EVENT Handle crash dump according to rules in abrt_action.conf -v, --verbose be verbose -s Log to syslog -d DIR Crash dump directory -e EVENT Event Can (will) extend it later. Run-tested: performed "analyze" step by hand with abrt-handle-crashdump -e analyze -d CRASH_DUMP_DIR Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* introduce abrt_action.conf; use it for post-create stepDenys Vlasenko2010-11-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This patch replaces only the post-create step with new logic (the step which happens when abrtd detects fresh crash dump dir and needs to decide what to do with it), but it turns out this step is one of hard ones: it needs special handling of UUID. So a good chunk of hard-ish stuff is already in this patch. It also contains logic to collect the log from actions, even though so far it is simply logged. Other steps (like reporting step) will pipe it to clients. post-create step simply has no client to pipe output to. But the code is there already. GetLocalUUID() members in all plugins are unused now and are deleted from all classes. Next patches will move run_event() function into libABRT, so that it can be used from e.g. abrt-handle-crashdump utility if/when we will write it, from clients directly and so on. For now, it lives in MiddleWare.cpp since it is only used there. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* new action tool: abrt-action-kerneloopsDenys Vlasenko2010-10-251-0/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove %{_bindir}/abrt-backtrace which sneaked into last commitDenys Vlasenko2010-10-201-2/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move abrt-FOO-BAR auxiliary executables to their respective packagesDenys Vlasenko2010-10-201-43/+43
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move logger reporting to a separate program (abrt-action-print)Denys Vlasenko2010-10-201-0/+1
| | | | | | | | | | | | | | | | | Usage: abrt-action-print [v] -d DIR Print information about the crash to standard output -v, --verbose be verbose -d DIR Crash dump directory As you can see, it simply writes crash dump information to stdout, not to a file. Logger plugin spawns a child abrt-action-print -d DIR and pipes its output to log file. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move rhtsupport reporting to a separate program (abrt-action-rhtsupport)Denys Vlasenko2010-10-201-0/+1
| | | | | | | | | | | | | | | | The tool works similarly to abrt-action-bugzilla: Usage: abrt-action-rhtsupport -c CONFFILE -d DIR [-vs] Report a crash to RHTSupport Options: -c FILE Configuration file (may be given many times) -d DIR Crash dump directory -v Verbose -s Log to syslog Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move uuid/duphash generation for Kerneloops to abrt-action-analyze-oopsDenys Vlasenko2010-10-191-0/+1
| | | | | | | | | | | | Usage: abrt-action-analyze-oops [-vs] -d DIR Calculates and saves UUID and DUPHASH of oops crash dumps -v, --verbose be verbose -d DIR Crash dump directory -s Log to syslog Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move uuid/duphash generation for python to abrt-action-analyze-pythonDenys Vlasenko2010-10-191-0/+1
| | | | | | | | | | | | | | | This patch splits off uuid generation for Python to a separate program: Usage: abrt-action-analyze-python [-vs] -d DIR Calculates and saves UUID and DUPHASH of python crash dumps -v, --verbose be verbose -d DIR Crash dump directory -s Log to syslog Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* btparser initial integrationKarel Klic2010-10-141-2/+0
|
* move uuid generation for CCpp to a separate program (abrt-action-analyze-c)Denys Vlasenko2010-10-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This patch splits off uuid generation for CCpp to a separate program: Usage: abrt-action-analyze-c [-v] -d DIR Calculates and saves UUID -v, --verbose be verbose -d DIR Crash dump directory Run tested. Thus, now entire cycle of coredump processing/reporting consists of external programs: abrt-action-analyze-c abrt-action-save-package-data abrt-action-install-debuginfo abrt-action-generate-backtrace abrt-action-bugzilla Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>