linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 00/15] Enhance /etc/nfs.conf usage and remove nfs-config.service
@ 2016-12-02  3:58 NeilBrown
  2016-12-02  3:58 ` [PATCH 03/15] Add /etc/nfs.conf support to rpc.nfsd NeilBrown
                   ` (19 more replies)
  0 siblings, 20 replies; 41+ messages in thread
From: NeilBrown @ 2016-12-02  3:58 UTC (permalink / raw)
  To: J. Bruce Fields, Steve Dickson; +Cc: linux-nfs

This is an RFC series.  A little voice at the back of my head keeps
telling me that I'm over-engineering, but there isn't really that much
new code, and I think the result has a lot to recommend it.

But please tell me if I'm wrong.

- Various daemons (not all) are enhance to accept configuration
  information from /etc/nfs.conf
- the conffile reader is enhanced to support include files, and
  particularly to be able to include /etc/sysconf/X or /etc/defaults/X
  files usefully
- nfs-config.service is removed, because it isn't really needed with
  the above.
- documentation for all the above is provided, including a new
  nfs.systemd man page which gives the bigger picture.

Thanks,
NeilBrown


---

NeilBrown (15):
      Add man-page describing /etc/nfs.conf
      conffile: add bool support
      Add /etc/nfs.conf support to rpc.nfsd
      Add /etc/nfs.conf support for mountd.
      Add /etc/nfs.conf support for statd
      Add /etc/nfs.conf support for sm-notify
      conffile: free image of config file after parsing
      conffile: split loading of file into a separate function.
      conffile: add support for include files.
      conffile: strip "quotes" from values in conf file.
      conffile: ignore setting of empty string
      conffile: allow $name expansion of tag values.
      statd: allow --no-notify to be passed via environment variable.
      systemd: Remove the nfs-config.service
      Add nfs.systemd man page


 configure.ac                     |    6 -
 support/include/conffile.h       |    2 
 support/nfs/conffile.c           |  147 +++++++++++++++++++++---------
 systemd/Makefile.am              |    5 +
 systemd/README                   |   22 +++-
 systemd/nfs-blkmap.service       |    3 -
 systemd/nfs-config.service.in    |   13 ---
 systemd/nfs-idmapd.service       |    6 -
 systemd/nfs-mountd.service       |    6 -
 systemd/nfs-server.service       |    7 -
 systemd/nfs.conf.man             |  186 ++++++++++++++++++++++++++++++++++++++
 systemd/nfs.systemd.man          |  167 ++++++++++++++++++++++++++++++++++
 systemd/rpc-gssd.service.in      |    7 -
 systemd/rpc-statd-notify.service |    6 -
 systemd/rpc-statd.service        |    7 -
 systemd/rpc-svcgssd.service      |    6 -
 utils/mountd/mountd.c            |   36 +++++++
 utils/mountd/mountd.man          |   34 +++++++
 utils/nfsd/nfsd.c                |   36 +++++++
 utils/nfsd/nfsd.man              |   49 +++++++++-
 utils/statd/sm-notify.c          |   11 ++
 utils/statd/sm-notify.man        |   27 ++++++
 utils/statd/statd.c              |   25 +++++
 utils/statd/statd.man            |   40 ++++++++
 24 files changed, 737 insertions(+), 117 deletions(-)
 delete mode 100644 systemd/nfs-config.service.in
 create mode 100644 systemd/nfs.conf.man
 create mode 100644 systemd/nfs.systemd.man

--
Signature


^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2016-12-21  1:55 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-02  3:58 [RFC PATCH 00/15] Enhance /etc/nfs.conf usage and remove nfs-config.service NeilBrown
2016-12-02  3:58 ` [PATCH 03/15] Add /etc/nfs.conf support to rpc.nfsd NeilBrown
2016-12-05 22:27   ` J. Bruce Fields
2016-12-05 22:42     ` NeilBrown
2016-12-06 17:52   ` Steve Dickson
2016-12-06 22:30     ` NeilBrown
2016-12-07 14:34       ` Steve Dickson
2016-12-06 18:51   ` Steve Dickson
2016-12-06 22:36     ` NeilBrown
2016-12-07 14:44       ` Steve Dickson
2016-12-07 18:08         ` J. Bruce Fields
2016-12-07 23:14           ` NeilBrown
2016-12-08  0:38             ` Steve Dickson
2016-12-09 22:43             ` J. Bruce Fields
2016-12-20 23:22       ` NeilBrown
2016-12-21  1:55         ` J. Bruce Fields
2016-12-02  3:58 ` [PATCH 05/15] Add /etc/nfs.conf support for statd NeilBrown
2016-12-02  3:58 ` [PATCH 04/15] Add /etc/nfs.conf support for mountd NeilBrown
2016-12-02  3:58 ` [PATCH 01/15] Add man-page describing /etc/nfs.conf NeilBrown
2016-12-02  3:58 ` [PATCH 02/15] conffile: add bool support NeilBrown
2016-12-02  3:58 ` [PATCH 09/15] conffile: add support for include files NeilBrown
2016-12-02  3:58 ` [PATCH 11/15] conffile: ignore setting of empty string NeilBrown
2016-12-02  3:58 ` [PATCH 06/15] Add /etc/nfs.conf support for sm-notify NeilBrown
2016-12-02  3:58 ` [PATCH 10/15] conffile: strip "quotes" from values in conf file NeilBrown
2016-12-02  3:58 ` [PATCH 08/15] conffile: split loading of file into a separate function NeilBrown
2016-12-02  3:58 ` [PATCH 07/15] conffile: free image of config file after parsing NeilBrown
2016-12-02  3:58 ` [PATCH 15/15] Add nfs.systemd man page NeilBrown
2016-12-02  3:58 ` [PATCH 12/15] conffile: allow $name expansion of tag values NeilBrown
2016-12-02  3:58 ` [PATCH 14/15] systemd: Remove the nfs-config.service NeilBrown
2016-12-02  3:58 ` [PATCH 13/15] statd: allow --no-notify to be passed via environment variable NeilBrown
2016-12-02 15:56 ` [RFC PATCH 00/15] Enhance /etc/nfs.conf usage and remove nfs-config.service J. Bruce Fields
2016-12-06 16:55 ` Steve Dickson
2016-12-06 22:38   ` NeilBrown
2016-12-07 14:24     ` Steve Dickson
2016-12-06 17:26 ` J. Bruce Fields
2016-12-06 22:47   ` NeilBrown
2016-12-07 14:19     ` J. Bruce Fields
2016-12-06 19:25 ` Steve Dickson
2016-12-06 22:51   ` NeilBrown
2016-12-07 14:21     ` Steve Dickson
2016-12-20 18:33 ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).