Sync from SUSE:SLFO:Main nfs-utils revision 402fec4108b738c3350ffe0a7a96c7ab

This commit is contained in:
2025-02-26 11:47:45 +01:00
parent 78fdf65218
commit 5d7ca1524c
4 changed files with 130 additions and 12 deletions

BIN
nfs-utils-2.6.3.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
nfs-utils-2.8.2.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,98 @@
-------------------------------------------------------------------
Sat Feb 8 21:30:47 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 2.8.2:
* exports: Fix referrals when --enable-junction=no
* nfsidmap(v2): Add guards around [nfsidmap] usages of [sysconf].
* libnsm(v2): fix the safer atomic filenames fix
* libnsm: fix the safer atomic filenames fix
* nfsd: dump default number of threads to 16
* autoconf: don't build nfsdcltrack by default
* nfs(5): Update rsize/wsize options
* nfsdctl: clarify when versions can be set on the man page
* nfsdctl: fix up the help text in version_usage()
* libnsm: safer atomic filenames
* nfs-utils: fixup statd testing simulator host arg
* mount.nfs: retry NFSv3 mount after NFSv4 failure in auto negotiation
-------------------------------------------------------------------
Wed Dec 11 03:18:18 UTC 2024 - William Brown <william.brown@suse.com>
- Require system-user-nobody for nfs-client as the statd user relies
on `nogroup` from this package
-------------------------------------------------------------------
Tue Oct 29 10:05:55 UTC 2024 - Petr Vorel <pvorel@suse.cz>
- Update to version 2.8.1
- https://lore.kernel.org/linux-nfs/4a86eea3-973e-4535-8aa5-f3b8b5f7934d@redhat.com/
- https://kernel.org/pub/linux/utils/nfs-utils/2.8.1/2.8.1-Changelog
- Add new binary nfsdctl
- The default number of nfsd threads is now 16 instead of 8
- Removed patchs from previous releases
- 0001-exportfs-remove-warning-if-neither-subtree_check-or-.patch
- 0002-conffile-don-t-report-error-from-conf_init_file.patch
- 0003-conffile-allow-usr-etc-to-provide-any-config-files-e.patch
- 0004-fsidd-call-anonymous-sockets-by-their-name-only-don-.patch
- 0001-gssd-revert-commit-a5f3b7ccb01c.patch
- 0002-gssd-revert-commit-513630d720bd.patch
- 0003-gssd-switch-to-using-rpc_gss_seccreate.patch
- 0004-gssd-handle-KRB5_AP_ERR_BAD_INTEGRITY-for-machine-cr.patch
- 0005-gssd-handle-KRB5_AP_ERR_BAD_INTEGRITY-for-user-crede.patch
- 0006-configure-check-for-rpc_gss_seccreate.patch
- Turn nfs-utils-1.0.7-bind-syntax.patch to git patch (bug reference,
easier to refresh via git, likely it can be now removed)
- Add BuildRequires libnl-3.0, readline
-------------------------------------------------------------------
Tue Aug 20 20:21:14 UTC 2024 - Dirk Müller <dmueller@suse.com>
- add 0001-gssd-revert-commit-a5f3b7ccb01c.patch,
0002-gssd-revert-commit-513630d720bd.patch,
0003-gssd-switch-to-using-rpc_gss_seccreate.patch,
0004-gssd-handle-KRB5_AP_ERR_BAD_INTEGRITY-for-machine-cr.patch,
0005-gssd-handle-KRB5_AP_ERR_BAD_INTEGRITY-for-user-crede.patch,
0006-configure-check-for-rpc_gss_seccreate.patch: fixes for
libtirpc 1.3.5
-------------------------------------------------------------------
Mon Apr 22 02:56:13 UTC 2024 - Neil Brown <nfbrown@suse.com>
- nfs-utils.spec: Provide nfsidmap as well as obsoleting it.
(bsc#1222947)
-------------------------------------------------------------------
Tue Dec 5 01:19:38 UTC 2023 - Neil Brown <nfbrown@suse.com>
- Update to version 2.6.4
- https://kernel.org/pub/linux/utils/nfs-utils/2.6.4/2.6.4-Changelog
- includes fixes for bsc#1210997
- Removed patchs from this release
- 0001-export-fix-handling-of-error-from-match_fsid.patch
- Added some upstream patches
- 0001-exportfs-remove-warning-if-neither-subtree_check-or-.patch
- 0002-conffile-don-t-report-error-from-conf_init_file.patch
- 0003-conffile-allow-usr-etc-to-provide-any-config-files-e.patch
- 0004-fsidd-call-anonymous-sockets-by-their-name-only-don-.patch
These fix minor bugs and allow config files to be in /usr/etc.
So also move config files to /usr/etc and create directories
foo.conf.d for each config file, so other config file can easily
be addded.
(boo#1216740)
-------------------------------------------------------------------
Wed Nov 15 00:03:44 UTC 2023 - Neil Brown <nfbrown@suse.com>
- Build with --enable-junction so that nfsref is built
https://lore.kernel.org/linux-nfs/DFBBA6DD-7F22-4A38-BAA2-DBD40EB81BB9@oracle.com/
-------------------------------------------------------------------
Mon Oct 16 00:43:42 UTC 2023 - Neil Brown <nfbrown@suse.com>
- 0001-export-fix-handling-of-error-from-match_fsid.patch
Errors from match_fsid() shouldn't be fatal.
(bsc#1214540)
-------------------------------------------------------------------
Thu Apr 20 10:10:14 UTC 2023 - Petr Vorel <pvorel@suse.cz>

View File

@@ -1,7 +1,7 @@
#
# spec file for package nfs-utils
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
%endif
Name: nfs-utils
Version: 2.6.3
Version: 2.8.2
Release: 0
Summary: Support Utilities for Kernel nfsd
License: GPL-2.0-or-later
@@ -52,10 +52,14 @@ BuildRequires: tcpd-devel
BuildRequires: pkgconfig(devmapper)
BuildRequires: pkgconfig(kdb)
BuildRequires: pkgconfig(krb5)
BuildRequires: pkgconfig(libcap)
BuildRequires: pkgconfig(libevent)
BuildRequires: pkgconfig(libkeyutils)
BuildRequires: pkgconfig(libnl-3.0)
BuildRequires: pkgconfig(libtirpc)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(mount)
BuildRequires: pkgconfig(readline)
BuildRequires: pkgconfig(sqlite3)
Suggests: python-base
%{?systemd_ordering}
@@ -71,6 +75,8 @@ Group: Productivity/Networking/NFS
Requires: keyutils
Requires: netcfg
Requires: rpcbind
# The statd user relies on 'nogroup' from system-user-nobody
Requires: system-user-nobody
Requires(post): %fillup_prereq
Requires(pre): permissions
Obsoletes: nfs-utils < 1.1.0
@@ -103,7 +109,8 @@ Summary: NFSv4 ID Mapping Library
Group: Productivity/Networking/NFS
Version: 1.0
Release: 0
Obsoletes: nfsidmap
Obsoletes: nfsidmap < 1.0
Provides: nfsidmap = 1.0
%package -n nfsidmap-devel
Summary: NFSv4 ID Mapping Library development libraries
@@ -138,6 +145,7 @@ export LDFLAGS="-pie"
--enable-nfsdcltrack \
--enable-mount \
--enable-libmount-mount \
--enable-junction \
--disable-static \
--disable-sbin-override \
--with-pluginpath=%{_libdir}/libnfsidmap-1.0.0 \
@@ -154,7 +162,9 @@ install -D -m 644 %{SOURCE22} %{buildroot}%{_unitdir}/rpc-gssd.service.d/10-opti
install -D -m 644 %{SOURCE23} %{buildroot}%{_unitdir}/rpc-statd.service.d/10-options.conf
install -D -m 644 %{SOURCE24} %{buildroot}%{_unitdir}/rpc-statd-notify.service.d/10-options.conf
install -D -m 644 %{SOURCE25} %{buildroot}%{_unitdir}/rpc-svcgssd.service.d/10-options.conf
install -D -m 644 %{SOURCE26} %{buildroot}%{_sysconfdir}/nfs.conf
install -D -m 644 %{SOURCE26} %{buildroot}%{_prefix}%{_sysconfdir}/nfs.conf
mkdir -p -m 755 %{buildroot}%{_prefix}%{_sysconfdir}/nfs.conf.d
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/nfs.conf.d
install -D -m 644 %{SOURCE27} %{buildroot}%{_prefix}/lib/tmpfiles.d/nfs-kernel-server.conf
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcnfs-server
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcnfs-client
@@ -162,7 +172,9 @@ ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcnfs-client
mkdir -p %{buildroot}%{_fillupdir}
install -m 644 %{SOURCE4} %{buildroot}%{_fillupdir}
# idmapd setup
install -D -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/idmapd.conf
install -D -m 644 %{SOURCE11} %{buildroot}%{_prefix}%{_sysconfdir}/idmapd.conf
mkdir -p -m 755 %{buildroot}%{_prefix}%{_sysconfdir}/idmapd.conf.d
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/idmapd.conf.d
mkdir -p -m 755 %{buildroot}%{_localstatedir}/lib/nfs/rpc_pipefs
mkdir -p -m 755 %{buildroot}%{_localstatedir}/lib/nfs/v4recovery
# sm-notify state
@@ -170,7 +182,8 @@ mkdir -p -m 755 %{buildroot}%{_localstatedir}/lib/nfs/sm
mkdir -p -m 755 %{buildroot}%{_localstatedir}/lib/nfs/sm.bak
touch %{buildroot}%{_localstatedir}/lib/nfs/state
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
install -m 644 utils/mount/nfsmount.conf %{buildroot}%{_sysconfdir}/nfsmount.conf
mkdir -p -m 755 %{buildroot}%{_prefix}%{_sysconfdir}/nfsmount.conf.d
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/nfsmount.conf.d
#
# hack to avoid automatic python dependency
chmod 644 `grep -l -r '^#!/usr/bin/python' %{buildroot}%{_sbindir}`
@@ -250,9 +263,15 @@ fi
%files -n nfs-client
%license COPYING
%config %{_sysconfdir}/idmapd.conf
%config %{_sysconfdir}/nfsmount.conf
%config %{_sysconfdir}/nfs.conf
%{_prefix}%{_sysconfdir}/idmapd.conf
%dir %{_prefix}%{_sysconfdir}/idmapd.conf.d
%dir %{_sysconfdir}/idmapd.conf.d
%dir %{_prefix}%{_sysconfdir}/nfsmount.conf.d
%dir %{_sysconfdir}/nfsmount.conf.d
%doc utils/mount/nfsmount.conf
%{_prefix}%{_sysconfdir}/nfs.conf
%dir %{_prefix}%{_sysconfdir}/nfs.conf.d
%dir %{_sysconfdir}/nfs.conf.d
%verify(not mode) %attr(0755,root,root) %{_sbindir}/mount.nfs
%{_sbindir}/mount.nfs4
%{_sbindir}/umount.nfs
@@ -349,6 +368,8 @@ fi
%{_sbindir}/rpc.mountd
%{_sbindir}/rpc.nfsd
%{_sbindir}/nfsdcltrack
%{_sbindir}/nfsdctl
%{_sbindir}/nfsref
%attr(0755,root,root) %{_sbindir}/nfsdclddb
%attr(0755,root,root) %{_sbindir}/nfsdclnts
%{_mandir}/man5/exports.5%{ext_man}
@@ -356,8 +377,10 @@ fi
%{_mandir}/man8/exportfs.8%{ext_man}
%{_mandir}/man8/mountd.8%{ext_man}
%{_mandir}/man8/nfsd.8%{ext_man}
%{_mandir}/man8/nfsref.8%{ext_man}
%{_mandir}/man8/rpc.mountd.8%{ext_man}
%{_mandir}/man8/rpc.nfsd.8%{ext_man}
%{_mandir}/man8/nfsdctl.8%{ext_man}
%{_mandir}/man8/nfsdcltrack.8%{ext_man}
%config(noreplace) %{_localstatedir}/lib/nfs/etab
%config(noreplace) %{_localstatedir}/lib/nfs/rmtab