-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed a typo in what order drop-ins are being parsed. #125
Conversation
* drop-ins have precedence over main config * /etc has precedence over /usr Signed-off-by: Ina Panova <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.