| Summary: | `report-cli --delete $DIR' won't remove dump dir | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Michal Nowak <mnowak> |
| Component: | libreport | Assignee: | Nikola Pajkovsky <npajkovs> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.2 | CC: | dhoward, kklic, ohudlick, rvokal |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libreport-2.0.5-6.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-06 12:14:22 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
I see. Fix for that is not yet in cvs. If you need to delete dump dir use: $ abrt-cli rm DUMP_DIR [DUMP_DIR...]. Usage: report-cli [-vsp] -r[y|o|d] DUMP_DIR -d, --delete Remove DUMP_DIR after reporting Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1598.html |
Description of problem: `report-cli --delete $DIR' is not removing dump dir. [newman@dhcp-25-35 abrt-should-return-rating-0-on-fail]$ sudo report-cli --delete /var/spool/abrt/ccpp-1310991931-5029/ Usage: report-cli [-vsp] -l[f] [-D BASE_DIR]... or: report-cli [-vsp] -i[f] DUMP_DIR or: report-cli [-vsp] -L[PREFIX] [DUMP_DIR] or: report-cli [-vsp] -e EVENT DUMP_DIR or: report-cli [-vsp] -a[y] DUMP_DIR or: report-cli [-vsp] -r[y|o] DUMP_DIR or: report-cli [-vsp] -d DUMP_DIR -l, --list List not yet reported problems, or all with -f -D BASE_DIR Directory to list problems from (default: -D $HOME/.abrt/spool -D /var/spool/abrt) -i, --info Print information about DUMP_DIR (detailed with -f) -L[PREFIX] List possible events [which start with PREFIX] -e EVENT Run EVENT on DUMP_DIR -a, --analyze Run analyze event(s) on DUMP_DIR -r, --report Analyze and report problem data in DUMP_DIR -d, --delete Remove DUMP_DIR -V, --version Display version and exit -f, --full Full listing -y, --always Noninteractive: don't ask questions, assume 'yes' -o, --report-only With -r: do not run analyzers, run only reporters -v, --verbose Be verbose -s Log to syslog -p Add program names to log [newman@dhcp-25-35 abrt-should-return-rating-0-on-fail]$ echo $? 1 [newman@dhcp-25-35 abrt-should-return-rating-0-on-fail]$ ll /var/spool/abrt/ccpp-1310991931-5029/ total 1600 -rw-r-----. 1 abrt newman 4 Jul 18 14:25 analyzer -rw-r-----. 1 abrt newman 6 Jul 18 14:25 architecture -rw-r-----. 1 abrt newman 2331 Jul 27 16:00 backtrace -rw-r-----. 1 abrt newman 1 Jul 27 16:00 backtrace_rating [...] Version-Release number of selected component (if applicable): abrt-2.0.4-1.el6.x86_64 libreport-2.0.5-1.el6.x86_64 btparser-0.13-1.el6.x86_64 How reproducible: always