RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1808837 - <dir> is not a valid problem directory
Summary: <dir> is not a valid problem directory
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: abrt
Version: 7.8
Hardware: All
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: abrt
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-01 14:05 UTC by i3v
Modified: 2020-10-13 14:06 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1318876
Environment:
Last Closed: 2020-10-13 14:06:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CentOS 17100 0 None None None 2020-03-01 14:05:15 UTC
Red Hat Bugzilla 1318876 0 unspecified CLOSED <dir> is not a valid problem directory 2021-02-22 00:41:40 UTC

Description i3v 2020-03-01 14:05:15 UTC
+++ This bug was initially created as a clone of Bug #1318876 +++

Description of problem:

abrt-cli report complains when directory path contains a trailing /


Version-Release number of selected component (if applicable):
abrt-cli version 2.1.11

How reproducible:
not tested (only tested on CentOS7.7-1908)

Steps to Reproduce:
The following example demonstrates that `abrt-cli report` fails if there's a training `/` but works OK when it's removed.

=============================================
	[root@fa77-01 ep10]# abrt-cli list --since 1582934886
	id a99677d5db287836f2293907a60f1d7189cb3f89
	reason: gwenview killed by SIGSEGV
	time: Sat 29 Feb 2020 12:40:50 PM MSK
	cmdline: /usr/bin/some-long-cmd
	package: gwenview-4.10.5-5.el7
	uid: 1000 (username)
	count: 1
	Directory: /var/spool/abrt/ccpp-2020-02-29-12:40:50-15305


	[root@fa77-01 ep10]# abrt-cli report /var/spool/abrt/ccpp-2020-02-29-12\:40\:50-15305/
	Can't chown '/var/spool/abrt/ccpp-2020-02-29-12:40:50-15305/': 	GDBus.Error:org.freedesktop.problems.InvalidProblemDir: '/var/spool/abrt/ccpp-2020-02-29-12:40:50-15305/' is not a valid problem directory
	Can't take ownership of '/var/spool/abrt/ccpp-2020-02-29-12:40:50-15305/'


	[root@fa77-01 ep10]# abrt-cli report /var/spool/abrt/ccpp-2020-02-29-12\:40\:50-15305
	('report_uReport' completed successfully)
	Ok to upload core dump? (It may contain sensitive data). If your answer is 'No', a stack trace will be generated locally. (It may
	...
=============================================

Actual results:

GDBus.Error:org.freedesktop.problems.InvalidProblemDir


Expected results:

Trailing `/` shouldn't matter, esp since tab autocomplete path is the only sane way to enter these pathnames and those always end in `/`.

Comment 2 Miroslav Suchý 2020-10-13 14:06:23 UTC
Note that this is functional in upstream as abrt-cli has been replaced by abrt-cli-ng and it works there.

This will not be fixed in RHEL 7, unless reported through Customer Support as it is low priority thing.


Note You need to log in before you can comment on or make changes to this bug.