From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/files/, net-fs/nfs-utils/
Date: Wed, 30 Oct 2019 16:18:48 +0000 (UTC) [thread overview]
Message-ID: <1572452321.151c446a8906e7489de10ae2e66642a142e5509c.polynomial-c@gentoo> (raw)
commit: 151c446a8906e7489de10ae2e66642a142e5509c
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 30 16:17:50 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Oct 30 16:18:41 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=151c446a
net-fs/nfs-utils: Revbump to fix issue with old kernels and statx
Bumped straight to stable as this seems to affect many users.
Thanks-to: Andreas Steinmetz <ast <AT> domdv.de>
Tested-by: Lars Langhans <lars.langhans <AT> gmx.de>
Tested-by: Brian Evans <grknight <AT> gentoo.org>
Bug: https://bugs.gentoo.org/688644
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
net-fs/nfs-utils/files/nfs-utils-2.4.1-statx.patch | 31 ++++++++++++++++++++++
...s-2.4.1-r2.ebuild => nfs-utils-2.4.1-r3.ebuild} | 1 +
2 files changed, 32 insertions(+)
diff --git a/net-fs/nfs-utils/files/nfs-utils-2.4.1-statx.patch b/net-fs/nfs-utils/files/nfs-utils-2.4.1-statx.patch
new file mode 100644
index 00000000000..7515a819915
--- /dev/null
+++ b/net-fs/nfs-utils/files/nfs-utils-2.4.1-statx.patch
@@ -0,0 +1,31 @@
+From c8953944c5d34095d42f604f911022fbe144918c Mon Sep 17 00:00:00 2001
+From: Andreas Steinmetz <ast@domdv.de>
+Date: Wed, 30 Oct 2019 16:57:00 +0100
+Subject: [PATCH] Old kernels don't know statx calls and return EINVAL
+
+On a system with glibc-2.29 and kernel 4.9.128 nfs v3 mount fails as
+statx() with mask=STATX_BASIC_STATS returns EINVAL, probably from
+glibc, as strace of rpc.mountd shows no system call.
+
+Fixes: https://bugs.gentoo.org/688644
+Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
+---
+ support/misc/xstat.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/support/misc/xstat.c b/support/misc/xstat.c
+index fa047880..6aca6e29 100644
+--- a/support/misc/xstat.c
++++ b/support/misc/xstat.c
+@@ -47,6 +47,8 @@ statx_do_stat(int fd, const char *pathname, struct stat *statbuf, int flags)
+ statx_copy(statbuf, &stxbuf);
+ return 0;
+ }
++ if (errno == EINVAL)
++ errno = ENOSYS;
+ if (errno == ENOSYS)
+ statx_supported = 0;
+ } else
+--
+2.24.0.rc1
+
diff --git a/net-fs/nfs-utils/nfs-utils-2.4.1-r2.ebuild b/net-fs/nfs-utils/nfs-utils-2.4.1-r3.ebuild
similarity index 99%
rename from net-fs/nfs-utils/nfs-utils-2.4.1-r2.ebuild
rename to net-fs/nfs-utils/nfs-utils-2.4.1-r3.ebuild
index 26c3bbb3348..24e426f2374 100644
--- a/net-fs/nfs-utils/nfs-utils-2.4.1-r2.ebuild
+++ b/net-fs/nfs-utils/nfs-utils-2.4.1-r3.ebuild
@@ -69,6 +69,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.3.4-no-werror.patch
"${FILESDIR}"/${P}-gssd-Look-in-lib32-for-gss-libs-aswell.patch
"${FILESDIR}"/${P}-Fix-include-order-between-config.h-and-stat.h.patch
+ "${FILESDIR}"/${PN}-2.4.1-statx.patch #688644
)
pkg_setup() {
next reply other threads:[~2019-10-30 16:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-30 16:18 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-26 10:36 [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/files/, net-fs/nfs-utils/ David Seifert
2024-02-16 19:33 Mike Gilbert
2024-01-29 11:03 David Seifert
2023-06-03 0:47 Mike Gilbert
2022-09-16 21:54 Sam James
2021-11-30 10:45 David Seifert
2021-10-09 5:19 Sam James
2021-08-19 18:37 David Seifert
2021-01-05 20:06 Andreas K. Hüttel
2019-09-22 18:34 Matt Turner
2019-05-11 21:03 Lars Wendler
2019-04-20 17:35 Lars Wendler
2018-06-19 5:58 Mike Frysinger
2018-05-28 10:35 Lars Wendler
2017-12-21 15:56 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1572452321.151c446a8906e7489de10ae2e66642a142e5509c.polynomial-c@gentoo \
--to=polynomial-c@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox