Skip to content

There is no way to list all config files that contributed to a repository configuration #2656

Description

@m-blaha

Although the override mechanism is well described in Drop-in repo directories section of dnf.conf(5) man page, it can be difficult for users to identify which config files contributed to the final repository state.

A user could run dnf config-manager disable foo, then examine the /etc/yum.repos.d/foo.repo file, see enabled=1, and be confused about why the repository is disabled. dnf repo info foo would show Status: disabled but the Config file: line would point to the original /etc/yum.repos.d/foo.repo file where enabled=1 remains unchanged.

There is no built-in "show me all config sources for this repo" diagnostic. Users must manually check /etc/dnf/repos.override.d/ (and possibly other locations) to find the override.

One option to resolve this issue would be to track every file that contributed to the repository configuration and display them in the dnf repo info output.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFERequest For Enhancement (as opposed to a bug)TriagedSomeone on the DNF 5 team has read the issue and determined the next steps to take

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions