<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nfs-utils.git/utils/mount, branch fixrootccache</title>
<subtitle>NFS utils related patches</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/'/>
<entry>
<title>nfs-utils: Restore ABI compat with pre-merge libnfsidmap</title>
<updated>2017-11-07T14:28:25+00:00</updated>
<author>
<name>Justin Mitchell</name>
<email>jumitche@redhat.com</email>
</author>
<published>2017-11-07T14:28:25+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=8d9bf479441d9d7a44a86b69026a7e9d431d3ade'/>
<id>8d9bf479441d9d7a44a86b69026a7e9d431d3ade</id>
<content type='text'>
Prior to merge libnfsidmap leaked many private symbols that were
not defined in its API, creating an accidental ABI.
This patch renames and unhides symbols in order to match that ABI
until a cleaned up API can be established and released.

Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prior to merge libnfsidmap leaked many private symbols that were
not defined in its API, creating an accidental ABI.
This patch renames and unhides symbols in order to match that ABI
until a cleaned up API can be established and released.

Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>nfs-utils: split conffile to a separate convenience lib</title>
<updated>2017-10-26T12:50:08+00:00</updated>
<author>
<name>Justin Mitchell</name>
<email>jumitche@redhat.com</email>
</author>
<published>2017-09-28T18:18:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=745287cca2fad6dfe63290bb8053ffe86637c18b'/>
<id>745287cca2fad6dfe63290bb8053ffe86637c18b</id>
<content type='text'>
To allow better reuse of the code we split conffile and xlog
into their own separate convenience library, then merge it
back so as to not create extra dependancies for everything

Signed-off-by: Justin Mitchell &lt;jumitche@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To allow better reuse of the code we split conffile and xlog
into their own separate convenience library, then merge it
back so as to not create extra dependancies for everything

Signed-off-by: Justin Mitchell &lt;jumitche@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>nfs(5): update some version information</title>
<updated>2017-10-12T14:19:18+00:00</updated>
<author>
<name>J. Bruce Fields</name>
<email>bfields@redhat.com</email>
</author>
<published>2017-10-12T14:12:58+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=dcb5b1a7aba7c54c796cd892f2f9071b63ee80e1'/>
<id>dcb5b1a7aba7c54c796cd892f2f9071b63ee80e1</id>
<content type='text'>
From: "J. Bruce Fields" &lt;bfields@redhat.com&gt;

We've seen some confusion from people not understanding why newer
clients may not support NFSv2.  It might help a little to note in the
man page that version support depends on how the kernel was built.

While we're there:

	- update some references to NFS protocol versions.
	- update 4.0 RFC, and add references to 4.1 and 4.2 RFCs.
	- rename "BUGS" to "NOTES"; the section mostly isn't about bugs.
	  (Might be time to remove some of the linux-2.4 notes too.)
	- remove some outdated references to optional NFSv4+ features.
	  (Or should we try to keep this information up to date?)

Signed-off-by: J. Bruce Fields &lt;bfields@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: "J. Bruce Fields" &lt;bfields@redhat.com&gt;

We've seen some confusion from people not understanding why newer
clients may not support NFSv2.  It might help a little to note in the
man page that version support depends on how the kernel was built.

While we're there:

	- update some references to NFS protocol versions.
	- update 4.0 RFC, and add references to 4.1 and 4.2 RFCs.
	- rename "BUGS" to "NOTES"; the section mostly isn't about bugs.
	  (Might be time to remove some of the linux-2.4 notes too.)
	- remove some outdated references to optional NFSv4+ features.
	  (Or should we try to keep this information up to date?)

Signed-off-by: J. Bruce Fields &lt;bfields@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mount.nfs: merge in vers= and nfsvers= options</title>
<updated>2017-10-05T14:50:34+00:00</updated>
<author>
<name>Justin Mitchell</name>
<email>jumitche@redhat.com</email>
</author>
<published>2017-10-05T14:40:51+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=8110103404b35d9e86057ef0764f8aa87585f455'/>
<id>8110103404b35d9e86057ef0764f8aa87585f455</id>
<content type='text'>
When using mount.nfs if an nfsvers= option is set in a config file,
and a vers= option is given on the commandline, then they are not
always correctly combined and this can result in both being present
in the resulting mount call.

Signed-off-by: Justin Mitchell &lt;jumitche@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using mount.nfs if an nfsvers= option is set in a config file,
and a vers= option is given on the commandline, then they are not
always correctly combined and this can result in both being present
in the resulting mount call.

Signed-off-by: Justin Mitchell &lt;jumitche@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mount: handle EACCES during version negotiation</title>
<updated>2017-09-14T16:58:04+00:00</updated>
<author>
<name>Frank Sorenson</name>
<email>sorenson@redhat.com</email>
</author>
<published>2017-09-14T16:56:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=9f9f9122319ceaf6e1311fb3c296d77ca711604e'/>
<id>9f9f9122319ceaf6e1311fb3c296d77ca711604e</id>
<content type='text'>
mount() can return EACCES for servers which permit 4.0
but are configured not to allow 4.1  This is currently
only handled by the default case, so these mounts fail
without retrying a lower minor.

Add handling for EACCES to be retried with a lower
minor version.

Signed-off-by: Frank Sorenson &lt;sorenson@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mount() can return EACCES for servers which permit 4.0
but are configured not to allow 4.1  This is currently
only handled by the default case, so these mounts fail
without retrying a lower minor.

Add handling for EACCES to be retried with a lower
minor version.

Signed-off-by: Frank Sorenson &lt;sorenson@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>nfsman: document minorversion</title>
<updated>2017-09-14T16:57:50+00:00</updated>
<author>
<name>Jianhong Yin</name>
<email>yin-jianhong@163.com</email>
</author>
<published>2017-09-14T16:50:56+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=2b3ebec1335eac81e9b90a7c95173f857a4b26b1'/>
<id>2b3ebec1335eac81e9b90a7c95173f857a4b26b1</id>
<content type='text'>
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mount: Fix problems with parsing minorversion=</title>
<updated>2017-07-26T17:54:04+00:00</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.com</email>
</author>
<published>2017-07-26T17:51:51+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=050153ef6a86ff5ab06ef65be36336824a323779'/>
<id>050153ef6a86ff5ab06ef65be36336824a323779</id>
<content type='text'>
1/ minorversion=0 is not recognized, as errors from
   strtol() are not correctly detected.
2/ when there is an error in the minorversion= value,
   no message is presented.
3/ Current code recognizes "minorversion" and sets V_SPECIFIC,
   but then because *cptr == '\0', the v_mode is reset to V_GENERAL.
   This results in minorversion negotiation, which is not wanted.

This patch addresses all of these.

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1/ minorversion=0 is not recognized, as errors from
   strtol() are not correctly detected.
2/ when there is an error in the minorversion= value,
   no message is presented.
3/ Current code recognizes "minorversion" and sets V_SPECIFIC,
   but then because *cptr == '\0', the v_mode is reset to V_GENERAL.
   This results in minorversion negotiation, which is not wanted.

This patch addresses all of these.

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mount: move handling of "-t nfs4" into nfs_nfs_version()</title>
<updated>2017-07-26T17:54:04+00:00</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.com</email>
</author>
<published>2017-07-26T17:47:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=1e3ca7fe199531a372bb8e1c1033d8973097be50'/>
<id>1e3ca7fe199531a372bb8e1c1033d8973097be50</id>
<content type='text'>
Current "-t nfs4" causes other mount options to be ignored
and an NFSv4 version to be negotiated.
This is even true when "-o vers=4.1" is given.

To address this, we need to move the handled of "-t nfs4"
into nfs_nfs_version, which means passing in the filesystem type.

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Current "-t nfs4" causes other mount options to be ignored
and an NFSv4 version to be negotiated.
This is even true when "-o vers=4.1" is given.

To address this, we need to move the handled of "-t nfs4"
into nfs_nfs_version, which means passing in the filesystem type.

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mount: use version string that is supported by old kernels</title>
<updated>2017-07-26T17:54:04+00:00</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.com</email>
</author>
<published>2017-07-26T17:28:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=b5c2328971cdfd31340ff6190ea5b74b9010c160'/>
<id>b5c2328971cdfd31340ff6190ea5b74b9010c160</id>
<content type='text'>
All kernels which support NFSv4.2 understand "vers=4.2".
Some kernels which support NFSv4.1 only understand "vers=4,minorversion=1".
All later kernels also support this.

Some kernels which support NFSv4.0 only understand "vers=4".
All later kernels also support this.

So use the string that is most appropriate for each version.

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All kernels which support NFSv4.2 understand "vers=4.2".
Some kernels which support NFSv4.1 only understand "vers=4,minorversion=1".
All later kernels also support this.

Some kernels which support NFSv4.0 only understand "vers=4".
All later kernels also support this.

So use the string that is most appropriate for each version.

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mount: support compiling with old glibc</title>
<updated>2017-07-26T17:54:04+00:00</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.com</email>
</author>
<published>2017-07-26T17:23:32+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=8af595b79b0f9f1a11e15b3dd35082c377fe6ef4'/>
<id>8af595b79b0f9f1a11e15b3dd35082c377fe6ef4</id>
<content type='text'>
With glibc older than 2.24, it is always possible to include
both linux/in6.h and netinet/in.h.
So if the glibc is older, just hard-code the two values we need
from linux/in6.h

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With glibc older than 2.24, it is always possible to include
both linux/in6.h and netinet/in.h.
So if the glibc is older, just hard-code the two values we need
from linux/in6.h

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
