summaryrefslogtreecommitdiffstats
path: root/src/daemon
Commit message (Collapse)AuthorAgeFilesLines
* split libreport to a separate packageJiri Moskovcak2011-06-081-7/+12
|
* run abrt-action-save-package-data before running bugzilla, if neededDenys Vlasenko2011-05-231-2/+6
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* run_event: support VAR~=REGEX matchDenys Vlasenko2011-05-232-6/+6
| | | | | | | This makes in possible to configure analyze_xsession_errors to appear only for X-related stuff Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* smart_event.conf: suppress stray output of "which" commandDenys Vlasenko2011-05-171-3/+3
| | | | | | Also, fix some typos in comments Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* add smart_event.confDenys Vlasenko2011-05-122-0/+43
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move abrt-handle-crashdump to abrt-cli package. No code changesDenys Vlasenko2011-05-042-120/+0
| | | | | | ...for assimilation into abrt-cli tool Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move $ABRT_foo checking and setting into helper routines.Denys Vlasenko2011-05-044-44/+20
| | | | | | | I'm sick of fixing incorrect PROGNAME defines. Now g_progname is a variable and it is set from argv[0]. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Logger: output "END:" line to delimit appended reports. closes bz#698458Denys Vlasenko2011-04-281-5/+6
| | | | | | Also changes Bugzilla and abrt-cli output format. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* mass replace of crash_data with problem_dataDenys Vlasenko2011-04-235-28/+21
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt_event.conf: fix AUTHORSDenys Vlasenko2011-04-211-3/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt_event.conf.5: new manpage. closes #132Denys Vlasenko2011-04-214-32/+82
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* delete ugly parse_conf(), use load_abrt_conf() insteadDenys Vlasenko2011-04-208-221/+10
| | | | | | Therefore moved abrt_conf.* to libreport Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* daemon: reload abrt.conf after each poll. Closes 189Denys Vlasenko2011-04-204-18/+28
| | | | | | | | | | | | | | | | | | | | | Can be optimized a bit by checking stat.st_mtime. Currently, every reload looks like this: 14:37:49.551073 open("/etc/abrt/abrt.conf", O_RDONLY) = 13 14:37:49.551229 fstat(13, {st_mode=S_IFREG|0644, st_size=869, ...}) = 0 14:37:49.551393 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f541037f000 14:37:49.551505 read(13, "# With this option set to \"yes\",\n# only crashes in signed packages will be analyzed.\n# the list of "..., 4096) = 869 14:37:49.551709 read(13, "", 4096) = 0 14:37:49.551812 close(13) = 0 14:37:49.552051 open("/etc/abrt/gpg_keys", O_RDONLY) = 13 14:37:49.552183 fstat(13, {st_mode=S_IFREG|0644, st_size=36, ...}) = 0 14:37:49.552338 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f541037f000 14:37:49.552448 read(13, "/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora\n", 4096) = 36 14:37:49.552591 read(13, "", 4096) = 0 14:37:49.552692 close(13) = 0 14:37:49.552792 munmap(0x7f541037f000, 4096) = 0 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* rename Daemon.cpp to abrtd.cDenys Vlasenko2011-04-207-217/+7
| | | | | | This loses libstdc++, libm and libgcc_s libraries from abrtd Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* rename Settings.{cpp,h} to abrt_conf.{c,h}Denys Vlasenko2011-04-202-0/+210
| | | | | This makes abrt-action-save-package-data twice as small, amd loses libstdc++.so.6 dependency
* daemon: simplify parsing of settings; remove remaining c++isms in daemonDenys Vlasenko2011-04-204-321/+128
| | | | | | | | This change will not compile, because in C++, void* cannot be automatically cast to char*. Next change renames Settings.cpp to *.c and fixes this. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* run abrt oops log scanner as a separate serviceDenys Vlasenko2011-04-201-4/+4
| | | | | | | | | | | | | | | | In preparation for https://fedorahosted.org/abrt/ticket/189 "abrtd should reload configuration when some of it's config files changes" I would like to stop running abrt-dump-oops as a child of abrtd. We experimented with it: we made abrt-ccpp hook (de)installation a separate service, and in my opinion it ended up a better solution than making it a part of daemon. Among other things, it made abrt and abrt-addon-ccpp packages independent. This change does the same for abrt-dump-oops. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remaned some .cpp files to .c in src/daemon/Denys Vlasenko2011-04-197-19/+19
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* daemon: remove unused dbus calls and their support codeDenys Vlasenko2011-04-199-789/+7
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Fix rpm signature check (trac#198)Miroslav Lichvar2011-04-192-3/+3
|
* abrt-hook-ccpp: add saving of environ, disable saving of smaps. closes #91Denys Vlasenko2011-04-181-2/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-action-print: add -r option which records reported_toDenys Vlasenko2011-04-081-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* cleanup: get rid of GetPluginSettings dbus callNikola Pajkovsky2011-04-064-42/+0
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* cleanup: get rid of GetPluginsInfo dbus callNikola Pajkovsky2011-04-064-76/+2
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* abrt-dump-oops: make -d option take a parameter: directory where to create dumpsDenys Vlasenko2011-04-051-1/+1
| | | | | | | Closes #188 "-d should be documented as a root-only, or made to work for user". Also might make testing easier. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* rhbz#692465 - Blacklist doesn't workNikola Pajkovsky2011-04-041-2/+8
| | | | | | | | | parse_value() doesn't trim the string. Lest say BlackList = coreutils, mono the parsed list looks like -> 'coreutils', ' mono' Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* all: don't declare variables inside for loopsCosimo Cecchi2011-03-291-3/+7
|
* 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>