POC:
> > It's in the manual:
> >
> > FILES
> >         Cache Files
> >                /var/cache/libdnf5/
> >
> >         Main Configuration
> >                /etc/dnf/dnf.conf
> >
> >         Repository Configuration
> >                /etc/yum.repos.d/
> >
> >         Repository Persistence
> >                /var/lib/dnf/
> >
> >         System State
> >                /usr/lib/sysimage/libdnf5/

Stephen Morris:
> Sorry to be pedantic, but is the Main Configuration, Repository 
> Configuration and Repository Persistence entries specifying the paths 
> that will be searched for the dnf configuration file and the order in 
> which they will be searched, or if dnf.conf is in all 3 paths it will 
> only use the first one it finds or are they all combined into a single 
> configuration?

I can't answer for all of them, but when there's an
/etc/something/whatever.conf file it's *generally* a complete
*override* for some default /usr/lib/something/whatever.conf file.

And for things like an /etc/something.d/ with a bunch of config files
it can be a mixture of them all assessed together (virtually as if they
were concatenated together, in alphabetical order).  Though for
anything that conflicts, such as redefining the same options again and
again, it's the last time that definition is made that has its effect.

But it *can* be a bunch of separate things.  Apache is like that, you
can specify a bunch of virtual websites each having their own config
file that pertains to them in: /etc/httpd/conf.d/

-- 
 
uname -rsvp
Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
(yes, this is the output from uname for this PC when I posted)
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 

-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to