| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| | |
Only -d DIR operation still goes through the daemon.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
|
| | |
|
| |
| |
| |
| | |
ignore list.
|
| |
| |
| |
| | |
on slow machines
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- if no package is found the tmp dir is not created, but we tried
to remove it anyway which failed
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
- 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"
|
| |/
| |
| |
| | |
- removed unused import subprocess
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| |
| |
| | |
The conversion is trivial: a few tweaks to one header file
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| |
| | |
- 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
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
"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>
|