Enable config.d directory to be processed.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v1 RFC1 patch 12 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | conffile: process config.d directory config files.support/ | +116 | 0 replies | |
| 2/3 | conffile: Only process files in the config.d dirs that end with ".conf"support/ | +22 | 0 replies | |
| 3/3 | manpage: Update nfs.conf and nfsmount.conf manpagessystemd/ utils/ | +15 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH 0/3 V2] Enable config.d directory to be processed.
Here is the second attempt to use conf.d directories to set configuration variables.
When a conf.d directory exists and files with the ".conf" extension exist they will be used to set configuration variables.
Files not using that extension or files beginning with a "." (ex .nfs.conf) will be ignored.
The conf.d files will take priority over the main config files. Meaning a variable set in both the main config and the conf.d file, the conf.d file will have priority over the variable in the main config.
The ordering of when the conf.d are processed can be set by alphabetical naming convention. Prefixing file name with a 001-nfs.conf, 002-nfs.conf will control when the config is process. Note the last config file process with have the highest priority.
Steve Dickson (3):
conffile: process config.d directory config files.
conffile: Only process files in the config.d dirs that end with ".conf"
manpage: Update nfs.conf and nfsmount.conf manpages
support/nfs/conffile.c | 139 +++++++++++++++++++++++++++++++++- systemd/nfs.conf.man | 8 ++ utils/mount/nfsmount.conf.man | 7 ++ 3 files changed, 151 insertions(+), 3 deletions(-)
Signature · 1 line
2.26.2