Bug 1352234 - RFE: implement /etc/dnf.conf.d drop-in configuration folder
Summary: RFE: implement /etc/dnf.conf.d drop-in configuration folder
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: All
OS: Linux
low
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-02 21:18 UTC by Patrick Schleizer
Modified: 2024-04-08 12:57 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Patrick Schleizer 2016-07-02 21:18:31 UTC
Please implement /etc/dnf/conf.d.

Same as /etc/yum.conf.d.

A folder where one can place drop-in configuration snippets.

Comment 1 Patrick Schleizer 2016-07-03 21:53:20 UTC
use case:

Editing config files such as /etc/dnf/dnf.conf with scripts / config packages is problematic for various reasons. When modifying it as a sysadmin it may later conflict with settings changed by the user.

Also if dnf is updated and any changes are made to /etc/dnf/dnf.conf by dnf, these cannot be automatically merged. It will result in a /etc/dnf/dnf.conf.rpmnew file that needs to be manually resolved.

It would be a lot simpler / more convenient if scripts / config packages could just drop configuration snippets into /etc/dnf/conf.d. Debian has something similar with /etc/apt/conf.d.

Comment 2 Honza Silhan 2016-07-04 11:36:43 UTC
we can do that but it has low priority.

Comment 3 Fedora Admin XMLRPC Client 2016-07-08 09:26:06 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Jaroslav Mracek 2023-08-10 07:16:50 UTC
The feature is under implementation for DNF5. See https://github.com/rpm-software-management/dnf5/pull/741.


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