Fixed a typo in what order drop-ins are being parsed.#125
Fixed a typo in what order drop-ins are being parsed.#125ipanova wants to merge 1 commit intouapi-group:mainfrom
Conversation
* drop-ins have precedence over main config * /etc has precedence over /usr Signed-off-by: Ina Panova <ipanova@redhat.com>
keszybz
left a comment
There was a problem hiding this comment.
No. The point of the original text is that b.conf is after a.conf, even when one is under /etc and the other one under /usr/lib.
|
@keszybz These specs contradict to what is being written. It says /etc takes precedence over /usr so tell me how this is right then? |
|
"/etc over /usr" is the general principle, but there are various extensions/overrides. Drop-ins as a whole are used to override other configuration, so drop-ins are ordered after the main configuration file, no matter where it resides. The paragraph about dropin ordering describes how they are ordered, and this example matches that. |
|
@keszybz You are saying that if i have also have these configs /usr/lib/foo/bar.conf |
|
Not exactly. The files with the same name override each other. So the order is as you listed, but the crossed out files are ignored:
|
|
If you find it useful I could add this example ( since it's more versatile) to the docs in the |
|
Yes, please do. |
No description provided.