summaryrefslogtreecommitdiffstats
path: root/src/daemon
Commit message (Collapse)AuthorAgeFilesLines
* abrt-action-trim-files: new tool for trimming old debuginfo and debug dumpsDenys Vlasenko2011-03-261-2/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* added xml file for kerneloops reporter, split koops events to a separate fileJiri Moskovcak2011-03-251-8/+0
|
* fixes for missing uid caseDenys Vlasenko2011-03-251-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove FILENAME_INFORMALL and tighten up some loose endsDenys Vlasenko2011-03-255-65/+41
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* make $ABRT_PROG_PREFIX control whether log messages are prefixedDenys Vlasenko2011-03-254-15/+24
| | | | | | | | | | by abrt-action-foo programs. abrtd, abrt-server and abrt-handle-crashdump now have option -p which sets ABRT_PROG_PREFIX=1 for their children and thus makes them emit program name prefixes. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* oops: don't save bogus "executable", and save real "cmdline" instead of ↵Denys Vlasenko2011-03-241-14/+21
| | | | | | bogus one Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* extend dump_dir to allow creating world-readable directoryJiri Moskovcak2011-03-244-10/+17
| | | | - so far used only by kerneloops
* wizard: add keyboard accelerator for "Configure Events" buttonsDenys Vlasenko2011-03-241-2/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Replace FILENAME_MESSAGE with FILENAME_REPORTED_TO.Denys Vlasenko2011-03-181-1/+1
| | | | | | | | | | | This fixes the problem with abrt-cli not showing unreported bugs and abrt-gui not showing "green lamp" for reported bugs. In general, it introduces a way to record reporting results, such as Bugzilla URL, in dump dir. In the future, this enables such functions as "check BZ status". Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* s:/var/log/abrt.log:/tmp/abrt.log:gDenys Vlasenko2011-03-171-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrtd: suppress stray messages about non-directories in /var/spool/abrtDenys Vlasenko2011-03-161-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrtd: heed glib warning about hash table being NULLDenys Vlasenko2011-03-163-9/+10
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Remove deprecated ENABLE_SOCKET_OR_DBUS configuration optionKarel Klic2011-03-161-1/+0
|
* abrt-dump-oops: fix double-free; abrt_event.conf: better report event nameDenys Vlasenko2011-03-161-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* daemon: run dd_sanitize_mode_and_owner after post-create tooDenys Vlasenko2011-03-151-0/+5
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrtd: do not accept requests to delete directories not in /var/spool/abrt/Denys Vlasenko2011-03-141-1/+11
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Merge branch 'prune-old-gui'Nikola Pajkovsky2011-03-111-4/+6
|\ | | | | | | | | | | * prune-old-gui: remove old python gui override old gui by new one
| * override old gui by new oneNikola Pajkovsky2011-03-111-4/+6
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | make report_Logger configurableDenys Vlasenko2011-03-101-5/+10
|/ | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* add -Wwrite-strings everywhereDenys Vlasenko2011-03-091-4/+4
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* make fork_execv_on_steroids capable of setting env vars tooDenys Vlasenko2011-03-081-1/+1
| | | | | | Before, it could only unset them. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* gui-wizard-gtk: add code to export/unexport config variables. UntestedDenys Vlasenko2011-03-071-8/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* add saving of username; fix one liners loadingDenys Vlasenko2011-03-041-0/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-action-save-package-data: do not complain if "remote" element is missingDenys Vlasenko2011-03-041-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* gui-wizard-gtk: fix stealing againDenys Vlasenko2011-03-031-5/+5
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Revert "renamed libreport.so to libreport2.so"Karel Klic2011-03-031-4/+4
| | | | | This is not needed at the end. This reverts commit ef96cd431369b2cf0dd640a0bb66be4fb029b9c0.
* remove FILENAME_REPRODUCE field. FILENAME_COMMENT should be used insteadDenys Vlasenko2011-03-032-14/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* renamed libreport.so to libreport2.soJiri Moskovcak2011-03-031-4/+4
| | | | | - we have a conflict with old report library which contains file with the same name
* show more useful columns in abrt-gtk; use human-readable time in dir namesDenys Vlasenko2011-02-281-2/+2
| | | | | | | | | | | | For most users, "hostname" is the same for every crash (it is their hostname). Not every problem even has "Application" field ("low on disk space" problem, for example, doesn't), whereas any problem should have "Reason" field. For non-root, it is useful to see which dumps are in /var/spool/abrt (and aren't writable), and which are in $HOME/.abrt/spool. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move ccpp related events to events.d/Jiri Moskovcak2011-02-221-16/+3
| | | | | - so now when the abrt-addon-ccpp is removed it's config will be removed with it, so the rest of abrt and libreport won't be confused
* gui-wizard-gtk: add forward_page_func which skips analyze step when it is ↵Denys Vlasenko2011-02-222-2/+2
| | | | | | missing Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-action-install-debuginfo: disallow overriding paths to writable dirsDenys Vlasenko2011-02-221-17/+6
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* run abrt-action-install-debuginfo.py using trivial sgid wrapperJiri Moskovcak2011-02-212-3/+11
| | | | | Signed-off-by: Jiri Moskovcak <jmoskovc@redhat.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move hostname saving from abrt-action-save-package-data to dump_dirVladimir Vinogradov2011-02-181-26/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* get rid of unused CD_FLAG_SYSNikola Pajkovsky2011-02-161-4/+8
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* fixes for s/release/os_release/g changeDenys Vlasenko2011-02-101-0/+6
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-gtk: make Delete key actually delete the dump dirDenys Vlasenko2011-02-101-2/+4
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* get rid of FILENAME_DESCRIPTION, rename "release" to "os_release"Denys Vlasenko2011-02-104-37/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* fix problem with daemon shutdown when abrt.conf file is wrongJiri Moskovcak2011-02-071-1/+2
| | | | | | | | | | | - it gives this message abrtd: Loading settings abrtd: abrt.conf: Invalid syntax on line 38 abrtd: Error while initializing daemon process 20610: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 2791. This is normally a bug in some application using the D-Bus library. D-Bus not built with -rdynamic so unable to print a backtrace Aborted
* abrt-cli -r DIR: copy non-writable DIR into $HOME/abrt/spoolDenys Vlasenko2011-02-011-0/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* use run_state->children_count == 0 check for "event not conf'd" conditionDenys Vlasenko2011-02-012-3/+4
| | | | | | | | | | | | 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>
* preparatory changes for abrt-cli local processing changeDenys Vlasenko2011-01-272-7/+5
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove CCommLayerServer[DBus] classesDenys Vlasenko2011-01-219-144/+39
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* s/QuotaExceed/QuotaExceeded/gDenys Vlasenko2011-01-214-6/+6
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Remove CCrashWatcher and CObserver classes; merge libabrt_daemon into abrtdDenys Vlasenko2011-01-218-91/+150
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove plugin.h, move its only macro into into only userDenys Vlasenko2011-01-203-4/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* add OPT_LIST mechanism to handle multiply occurring optionsDenys Vlasenko2011-01-204-4/+2
| | | | | | | 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>
* make option handling more regular across all toolsDenys Vlasenko2011-01-204-68/+73
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* introduce and use new helper function list_free_with_freeDenys Vlasenko2011-01-205-25/+15
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* disable SetSettings dbus call codeDenys Vlasenko2011-01-203-33/+38
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>