Bug 1008977

Summary: [RFE] libreport shall read configuration from user's home
Product: Red Hat Enterprise Linux 6 Reporter: Martin Kyral <mkyral>
Component: libreportAssignee: abrt <abrt-devel-list>
Status: CLOSED UPSTREAM QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.6CC: msuchy, nobody+abrt-devel-list, rcadova
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-24 11:19:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Martin Kyral 2013-09-17 12:33:19 UTC
Description of problem:
libreport can read the bugzilla and strata configuration from /etc/libreport/plugins/{bugzilla,rhtsupport}.conf or from environment variables. It would be useful if it would read user's configuration also from ~/.libreport/plugins/{bugzilla,rhtsupport}.conf

The priority of the configuration shall be environment -> user's home -> global.

Version-Release number of selected component (if applicable):
libreport-2.0.9-15.el6_4.1.x86_64

How reproducible:
always

Steps to Reproduce:
1. create ~/.libreport/plugins/{bugzilla,rhtsupport}.conf with the correct configuration and leave the /etc/libreport/plugins/{bugzilla,rhtsupport}.conf configuration empty
2. try to report to BZ/strata using the report command

Actual results:
error: Empty RHTS login or password

Expected results:
report succeeds


Additional info:

Comment 2 RHEL Program Management 2013-10-14 02:06:50 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 4 Miroslav Suchý 2017-11-24 11:19:19 UTC
This has been resolved in upstream as side effect of https://github.com/abrt/libreport/pull/512