From Fedora Project Wiki

No edit summary
No edit summary
Line 39: Line 39:
πŸ”— Benefit to Fedora
πŸ”— Benefit to Fedora


* Having a single file configuration will help IT automation systems like Ansible to configure the NFS server. Β 
* Having a single file configuration will help IT automation systems like Ansible configure NFS servers. Β 
* This change also simplifies the systemd scrips.Β  Β 
* This change also simplifies the systemd scrips.Β  Β 
* Having two ways of configuringΒ  NFS is not a good. The only reason there has not been any problems is because nobody know about /etc/nfs.conf
* Having two ways of configuringΒ  NFS is not desirable. The only reason there has been no problems is because nobody know about /etc/nfs.conf
* There is a new command, nfsconf(8), that checks the correctness of /etc/nfs.conf
* There is a new command, nfsconf(8), that checks the correctness of /etc/nfs.conf



Revision as of 16:42, 13 October 2018

πŸ”— Change Proposal Name

  • Deprecating /etc/sysconfig/nfs

πŸ”— Summary

  • Deprecate /etc/sysconfig/nfs and only use /etc/nfs.conf to configure NFS daemons.

πŸ”— Owner

  • Name: Steve Dickson
  • Email: steved@redhat.com
  • Release notes owner:

πŸ”— Current status

  • Targeted release: Fedora 30
  • Last updated: 2018-10-13
  • Tracker bug: <will be assigned by the Wrangler>

πŸ”— Detailed Description

Since the beginning /etc/sysconfig/nfs has been used to configure the NFS server daemons by supply command line arguments to the daemons or commands via SysVinit scripts.

Then systemd(1) came along and the idea of daemons self-configuration was started. Meaning daemons and commands would get their configurations from a file, not the command line like with SysVinit scripts.

Back in late 2016, Neil Brown from SuSe, implemented this changed. He built into each daemon the ability to read from one central file, /etc/nfs.conf. See nfs.conf(5) for details.

After this work made it upstream, I a wrote patch that added back the ability to use /etc/sysconfig/nfs to maintain backwards compatibility which has lasted for the last few Fedora releases.

I think at this point, the timing is right to introduce this single file configuration to Fedora 30.

πŸ”— Benefit to Fedora

  • Having a single file configuration will help IT automation systems like Ansible configure NFS servers.
  • This change also simplifies the systemd scrips.
  • Having two ways of configuring NFS is not desirable. The only reason there has been no problems is because nobody know about /etc/nfs.conf
  • There is a new command, nfsconf(8), that checks the correctness of /etc/nfs.conf

πŸ”— Scope

  • Proposal owners: Steve Dickson <steved@redhat.com>
  • Other developers: Justin Mitchell <jumitche@redhat.com>
  • Release engineering: #Releng issue number (a check of an impact with Release Engineering is needed)
  • List of deliverables: N/A (not a System Wide Change)
  • Policies and guidelines: N/A (not a System Wide Change)
  • Trademark approval: N/A (not needed for this Change)

πŸ”— Upgrade/compatibility impact


πŸ”— How To Test N/A (not a System Wide Change)

πŸ”— User Experience

πŸ”— Dependencies N/A (not a System Wide Change)

πŸ”— Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No
  • Blocks product? product

πŸ”— Documentation N/A (not a System Wide Change)

πŸ”— Release Notes