Bug 1693287 - Several identical config files installed
Summary: Several identical config files installed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matej Grabovsky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-27 13:15 UTC by Jonathan Wakely
Modified: 2019-07-12 06:17 UTC (History)
10 users (show)

Fixed In Version: abrt-2.12.1-1.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-12 06:17:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jonathan Wakely 2019-03-27 13:15:42 UTC
The following command produces no output:

for f in abrt.conf abrt-action-save-package-data.conf  plugins/CCpp.conf  plugins/oops.conf plugins/python3.conf plugins/vmcore.conf plugins/xorg.conf ; do diff /etc/abrt/$f /usr/share/abrt/conf.d/$f ; done


Why does abrt install duplicate copies of all these files?

If the abrt programs will use the ones in /usr/share/abrt/conf.d by default, then why does fedora bother providing "overrides" in /etc/abrt that are identical?

If the idea is to provide the /etc/abrt overrides where the system admin can find them to make local changes, why does fedora bother to ship the defaults in /usr/share/abrt which will never get used?

Having two copies just causes confusion. Which should I change?

It would also be helpful if the man pages mentioned the file locations. None of the pages abrtd(8), abrt.conf(5), abrt-action-save-package-data.conf(5), abrt-CCpp.conf(5) etc. say anything about which directory the file should be in, or what the interaction of the two locations etc/abrt and /usr/shared/abrt/conf.d is. Will both files be read and the union of the settings used? If a file exists in one pace is the other one ignored? Which takes priority?

Comment 1 Matej Grabovsky 2019-06-10 09:29:47 UTC
Pull request solving this merged: https://github.com/abrt/abrt/pull/1387

Comment 2 Fedora Update System 2019-07-03 21:18:44 UTC
FEDORA-2019-d61c2d0dd0 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-d61c2d0dd0

Comment 3 Fedora Update System 2019-07-04 03:11:08 UTC
abrt-2.12.1-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-d61c2d0dd0

Comment 4 Fedora Update System 2019-07-12 06:17:22 UTC
abrt-2.12.1-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


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