<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 12/24/13 21:24, Robert P. J. Day
      wrote:<br>
    </div>
    <blockquote
      cite="mid:20131224082455.30947ee9krer75og@crashcourse.ca"
      type="cite">  just to explain where this all came from, i was
      working off of what
      <br>
      i was seeing on a RHEL (actually CentOS) 6.5 system, where the
      config
      <br>
      file /etc/sysconfig/nfs had helpful comments which allowed me to
      <br>
      tweak that file thusly:
      <br>
      <br>
      # Define which protocol versions mountd
      <br>
      # will advertise. The values are "no" or "yes"
      <br>
      # with yes being the default
      <br>
      MOUNTD_NFS_V2="no"
      <br>
      MOUNTD_NFS_V3="no"
      <br>
      ... snip ...
      <br>
      # Optional arguments passed to rpc.nfsd. See rpc.nfsd(8)
      <br>
      # Turn off v2 and v3 protocol support
      <br>
      RPCNFSDARGS="-N 2 -N 3"
      <br>
      <br>
        if i make the above changes and restart NFS (on the RHEL
      system),
      <br>
      the <b class="moz-txt-star"><span class="moz-txt-tag">*</span>only<span
          class="moz-txt-tag">*</span></b> NFS-related entries i see in
      the output of "rpcinfo -p" are:
      <br>
      <br>
          100003    4   tcp   2049  nfs
      <br>
          100003    4   udp   2049  nfs
      <br>
      <br>
      and that's <b class="moz-txt-star"><span class="moz-txt-tag">*</span>it<span
          class="moz-txt-tag">*</span></b>, nothing more, which is what
      i expected.
      <br>
      <br>
        sadly, i don't have access to my fedora 20 box at the moment,
      <br>
      but all i was doing was trying to produce the same result --
      <br>
      only those two lines in the output of "rpcinfo -p". i can see
      <br>
      that the <b class="moz-txt-star"><span class="moz-txt-tag">*</span>effect<span
          class="moz-txt-tag">*</span></b> of the earlier suggestions is
      the same, in
      <br>
      that only NFSv4 is supported, but there is still that crud in
      <br>
      the output of "rpcinfo -p" that seems irrelevant.
      <br>
      <br>
        oh, and on the RHEL 6.5 system, the contents of the file
      <br>
      /proc/fs/nfsd/versions correctly contains:
      <br>
      <br>
      -2 -3 +4 -4.1
    </blockquote>
    <br>
    OK.....<br>
    <br>
    In any event, I think the original question has been answered.  Yes,
    you can configure nfs on Fedora to allow only NFSv4.   Agreed?<br>
    <br>
    <div class="moz-signature">-- <br>
      Getting tired of non-Fedora discussions and self-serving posts
    </div>
  </body>
</html>