Commit Graph

236 Commits

Author SHA256 Message Date
Neil Brown
7c999e0182 - Add 0007-mount.nfs-always-include-mountpoint-or-spec-if-error.patch
boo#1157881
- Add 0008-nfsd.man-fix-typo-in-section-on-scope.patch
  bsc#1209859
- Allow scope to be sed in sysconfig: NFSD_SCOPE

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=272
2023-03-28 22:41:21 +00:00
Neil Brown
bc84624a37 - Rename all drop-in options.conf files as 10-options.conf
This makes it easier for other packages to over-ride
  with a drop-in with a later sequence number.
  resource-agents does this.
  (bsc#1207843)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=270
2023-02-06 00:24:55 +00:00
Neil Brown
bfe8b88658 - Add 0006-nfsd-allow-server-scope-to-be-set-with-config-or-com.patch
Allow server scope to be set - removes the need to run nfsd
  inside a private UTS namespace for fail-over applications
  (bsc#1203746)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=268
2022-11-22 00:29:38 +00:00
Neil Brown
7b06547b7a - sysconfig.nfs, nfs.conf: allow NFSv4 grace time to be set
via sysconfig.
  SLE12 allowed this, SLE15 lost the ability.  Add it back
  with the name NFSV4GRACETIME.  Also improve description
  for NFSV4LEASETIME.
  (bsc#1202592)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=266
2022-08-26 06:00:27 +00:00
Neil Brown
8d6eaadea3 remove - gcc12-fix.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=264
2022-08-16 01:44:07 +00:00
Neil Brown
9235b46863 Accepting request 994749 from home:pevik:branches:Base:System
- Update to version 2.6.2
  - https://kernel.org/pub/linux/utils/nfs-utils/2.6.2/2.6.2-Changelog
- Remove patches from this release:
  - 0001-systemd-Apply-all-sysctl-settings-when-NFS-related-m.patch
  - 0002-Update-autoconfig-files-to-work-with-v2.71.patch
  - 0003-autoconf-change-tirpc-to-check-for-a-file-not-for-an.patch
  - 0004-modprobe-protect-against-sysctl-errors.patch
- Refresh nfs-utils-1.0.7-bind-syntax.patch
- Added files:
  - /usr/lib/udev/rules.d/99-nfs.rules
  - /usr/libexec/nfsrahead
  - /usr/sbin/rpcctl
  - /usr/share/man/man5/nfsrahead.5.gz
  - /usr/share/man/man8/rpcctl.8.gz
- Sort man page entries in %files section

OBS-URL: https://build.opensuse.org/request/show/994749
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=263
2022-08-13 01:19:46 +00:00
Neil Brown
437032b1d2 - 0004-modprobe-protect-against-sysctl-errors.patch
0005-modprobe-avoid-error-messages-if-sbin-sysctl-fail.patch
 Suppress any errors from /sbin/sysctl, if for example, it isn't
 installed
 (bsc#1200710)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=261
2022-07-11 03:33:10 +00:00
Neil Brown
4a61694a00 - 0001-systemd-Apply-all-sysctl-settings-when-NFS-related-m.patch
Ensure sysctl setting work (bsc#1199856)
- 0002-Update-autoconfig-files-to-work-with-v2.71.patch
- 0003-autoconf-change-tirpc-to-check-for-a-file-not-for-an.patch
  Update for latest autoconf

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=259
2022-06-09 06:53:11 +00:00
ede0d3ac60 - switch to https urls
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=257
2022-05-07 12:17:37 +00:00
2ba5c41e2c OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=255 2022-03-21 14:51:13 +00:00
bfd88dcd0d - drop reenable-nfsv2.patch (poo#106679)
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=254
2022-03-21 14:51:08 +00:00
92eea6ba0e test coverage is fixed (poo#106679)
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=252
2022-03-08 21:05:07 +00:00
3de30510a9 - add reenable-nfsv2.patch for reverting nfsv2 deprecation until
test coverage is fixed

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=251
2022-03-08 21:04:39 +00:00
188d5563b5 Accepting request 958719 from home:marxin:branches:Base:System
- Add gcc12-fix.patch upstream fix for GCC 12 compiler.

OBS-URL: https://build.opensuse.org/request/show/958719
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=250
2022-03-03 10:16:37 +00:00
Neil Brown
b343c51ea9 Accepting request 950107 from home:pevik:branches:Base:System
- Update to version 2.6.1
  - https://kernel.org/pub/linux/utils/nfs-utils/2.6.1/2.6.1-Changelog
- remove patches from this release:
  - 0001-gssd-fix-crash-in-debug-message.patch,
  - Add-disable-sbin-override-for-when-sbin-is-a-symlink.patch

OBS-URL: https://build.opensuse.org/request/show/950107
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=249
2022-01-31 08:07:26 +00:00
Neil Brown
603201775c Accepting request 927964 from home:gmbr3:Active
- Add CONFIG parameter to %sysusers_generate_pre
- Remove unneeded group line (user implies group)
- Add Shell parameter to statd-user.conf

OBS-URL: https://build.opensuse.org/request/show/927964
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=248
2021-10-31 22:25:04 +00:00
Neil Brown
07e3ad36fa - add Add-disable-sbin-override-for-when-sbin-is-a-symlink.patch
and use it to move last few binaries from /sbin to /usr/sbin
  (bsc#1191082)
- Move nfsdclddb and nfsdclnts from nfs-client to
  nfs-kernel-server and fix their permissions.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=247
2021-10-25 23:55:21 +00:00
Neil Brown
b4544bb5ca - Add 0001-gssd-fix-crash-in-debug-message.patch
Fix crash when rpc-gssd run with -v. 
  (boo#1190144)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=246
2021-09-09 23:36:27 +00:00
Neil Brown
beaf483141 - Remove dependency on fedfs-utils-devel.
fedfs-utils was only ever a "technology preview" and is now
  considered "end of life".
  nfs-utils is not even built to use it as --enable-junction
  isn't being passed to confgure and fedfs-utils doesn't build 
  wth glibc 2.34.
  So remove the unnecessary dependency on fedfs-utils.
  (bsc#1189085)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=245
2021-08-10 05:12:07 +00:00
Neil Brown
f3572dbcb6 Replace nfs-utils archive (current) upstream version.
Uncompress content is identical.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=244
2021-08-10 02:11:37 +00:00
Neil Brown
0db40cf08c Accepting request 906178 from home:pevik:branches:Base:System
- Update to version 2.5.4
  https://mirrors.edge.kernel.org/pub/linux/utils/nfs-utils/2.5.4/2.5.4-Changelog
  Notable changes:
  * Handle failures in gssd better
  * handle 'sloppy' option to mount better
  * minor documentation improvements
- Drop 2.5.4-rc4 patches: nfs-utils-2-5-4-rc1.patch, nfs-utils-2-5-4-rc2.patch,
  nfs-utils-2-5-4-rc3.patch, nfs-utils-2-5-4-rc4.patch.

OBS-URL: https://build.opensuse.org/request/show/906178
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=243
2021-07-13 21:54:12 +00:00
Neil Brown
e74c86313e Accepting request 895268 from home:pevik:branches:Base:System
Mention patches in changelog (required in Factory):
  - nfs-utils-2-5-4-rc4.patch
  - nfs-utils-2-5-4-rc3.patch
  - nfs-utils-2-5-4-rc2.patch
  - nfs-utils-2-5-4-rc1.patch

OBS-URL: https://build.opensuse.org/request/show/895268
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=241
2021-05-25 06:31:23 +00:00
Neil Brown
d50c5c1730 Accepting request 895195 from home:pevik:branches:Base:System
- Update to version 2.5.4-rc4 to get all recent fixes:
	e4ce810a Move declaration of etab and rmtab into libraries
	7a4e2d1d Remove 'force' arg from cache_flush()
	c5528f40 Fix NFSv4 export of tmpfs filesystems
	ed83085f gssd: use mutex to protect decrement of refcount
	972dba0f nfs-utils: Enable the retrieval of raw config settings without expansion
	964f4861 nfs-utils: Factor out common structure cleanup calls
	8219bdb0 Replace all /var/run with /run
	81727afe Fix `statx()` emulation breaking exports
	a41afe9e mountd/exports: Fix typo in the man page
	2f669b6f NFS server should enable RDMA by default
	d77ece22 mountd/exportd: only log confirmed clients, and poll for updates
	ac266e2e exportfs: fix unexporting of '/'
	7abd15e3 nfsdclnts: Ignore SIGPIPE signal
	edeb3815 mountd: add logging of NFSv4 clients attaching and detaching.
	f8e2c8d4 mountd: make default ttl settable by option
	cc150093 mountd: add --cache-use-ipaddr option to force use_ipaddr
	c7a954ae mountd: add logging for authentication results for accesses.
	1a8156f8 mountd/exports: update man page
	fec7347e mountd: Don't proactively add export info when fh info is requested.
	a72c151f mountd: reject unknown client IP when !use_ipaddr.
	05bacfed gssd: Add options to rpc.gssd to allow for the use of $HOME/.k5identity files
	7e559dbd exportd: server-side gid management
- 0001-Replace-all-var-run-with-run.patch is now part of nfs-utils-2-5-4-rc3.patch

OBS-URL: https://build.opensuse.org/request/show/895195
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=240
2021-05-25 04:04:04 +00:00
Neil Brown
375c2490c1 - Add 0001-Replace-all-var-run-with-run.patch
Use /run instead of /var/run
  (bsc#1185170)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=238
2021-05-04 01:12:07 +00:00
Neil Brown
9e09855b47 Accepting request 878304 from home:gmoro:branches:Base:System
- Include nfsd kernel module Requires (bsc#1089118)

OBS-URL: https://build.opensuse.org/request/show/878304
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=236
2021-03-11 23:47:44 +00:00
Neil Brown
fe80a067d5 Accepting request 876268 from home:pevik:branches:Base:System
- Update to version 2.5.3
  https://mirrors.edge.kernel.org/pub/linux/utils/nfs-utils/2.5.3/2.5.3-Changelog

OBS-URL: https://build.opensuse.org/request/show/876268
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=234
2021-03-07 21:08:08 +00:00
Neil Brown
b9cd513fd7 Accepting request 847812 from home:jengelh:branches:Base:System
- Add missing ldconfig calls for libnfsidmap1.
[that is, unless there are already concrete plans to employ file triggers instead]

- Throw out some remaining old rpm constructs.

OBS-URL: https://build.opensuse.org/request/show/847812
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=232
2020-11-11 21:39:01 +00:00
Neil Brown
dfb68c7b71 Accepting request 844899 from home:pevik:branches:Base:System
- Update to version 2.5.2
  - fixed a couple memory leaks and other bug fixes,
  - a lot of clean up
- Refresh nfs-utils-1.0.7-bind-syntax.patch
- Use %autosetup -p1

OBS-URL: https://build.opensuse.org/request/show/844899
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=230
2020-10-30 00:41:43 +00:00
Neil Brown
12dc548a18 - Remove nfs-doc package. The documentation is 20 years old
and barely relevant.
  (bsc#1171448)
  - improvements for 64bit time
  - improvements for SASL referrals
  - Rename clddb-tool to nfsdclddb
  - New tools  nfsdclnts
  - Better python3 support
  - many bug-fixes

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=228
2020-09-30 06:29:33 +00:00
Neil Brown
d7bfb5ad92 Accepting request 820948 from home:pevik:branches:Base:System
- Update to version 2.5.1
  Dropped patch accepted upstream:
  0001-conffile-Don-t-give-warning-for-optional-config-file.patch

OBS-URL: https://build.opensuse.org/request/show/820948
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=227
2020-07-15 03:35:08 +00:00
Neil Brown
e408e15f0d Accepting request 811727 from home:kukuk:branches:Base:System
- Use group statd instead of nogroup, nogroup would invalidate
  the extra statd user.

OBS-URL: https://build.opensuse.org/request/show/811727
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=225
2020-07-01 04:20:19 +00:00
Neil Brown
1117586727 - Remove README.NFSv4. It is out dated and not useful. All
the configation described is now done automatically.
  (bsc#1171448)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=223
2020-05-26 04:44:37 +00:00
Neil Brown
2eef9ed28f Accepting request 791188 from home:kukuk:container
- Remove obsolete useradd call

OBS-URL: https://build.opensuse.org/request/show/791188
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=221
2020-04-06 00:27:18 +00:00
Neil Brown
034f8d4a5a - Improve the hack to avoid python dependencies.
A new python script had been added since that hack was written.
  (boo#1166067)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=219
2020-03-27 05:30:43 +00:00
Neil Brown
bb3ce0cf21 - 0001-conffile-Don-t-give-warning-for-optional-config-file.patch
Support optional include files correctly
  (boo#1164619)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=218
2020-03-27 05:07:49 +00:00
Neil Brown
3243ee94dd Accepting request 787719 from home:pevik:branches:Base:System
- Update nfs.conf
  - change value: udp=n (disabled in 2.2.1.)
  - update name: manage-gids
  - new: verbosity=0, rpc-verbosity=0, use-gss-proxy=0, rdma-port=20049,
	no-notify=0, force=0, lift-grace=y

OBS-URL: https://build.opensuse.org/request/show/787719
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=217
2020-03-27 05:03:39 +00:00
Neil Brown
021087406c Accepting request 782892 from home:kukuk:container
- statd-user.conf: create user via sysusers.d template
- Use ordering for systemd instead of hard requires

OBS-URL: https://build.opensuse.org/request/show/782892
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=215
2020-03-12 23:37:31 +00:00
Neil Brown
d17cc44ca7 Accepting request 773318 from home:pevik:branches:Base:System
-  Update to version 2.4.3
   Dropped patches (accepted upstream):
   - 0001-nfs.conf-allow-empty-assignments.patch
   - 0002-Let-systemd-know-when-rpc.statd-is-needed.patch
   - 0003-systemd-run-statd-notify-even-when-nfs-client-isn-t-.patch
   - 0004-nfsidmap-honour-with-pluginpath-for-instalation.patch
   - 0005-nfs.conf-fail-to-disable-major-NFS-version-4-using-v.patch
   - 0006-conffile-allow-optional-include-files.patch
   - 0007-statd-user-from-sm
   - 0008-mountd-Initialize-logging-early.patch
   Dropped patches (upstream used different solution):
   - 0009-Allow-compilation-to-succeed-with-fno-common.patch (btw this used
	 Patch0: instead of Patch10:) (boo#1160405)
   
   Add nfsdcld - NFSv4 Client Tracking Daemon, add nfsdcld.service and enable it
   for nfs-kernel-server, add man page
   Add clddb-tool - tool for downgrading the nfsdcld sqlite database schema,
   add man page
   Removed osd_login (dropped in upstream in 2.3.4 rc1)

OBS-URL: https://build.opensuse.org/request/show/773318
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=213
2020-02-11 22:25:46 +00:00
Neil Brown
6df8f0e2df - 0009-Allow-compilation-to-succeed-with-fno-common.patch
Allow compilation to success with -fno-common
  (boo#1160405)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=212
2020-02-05 22:14:57 +00:00
Neil Brown
3df1d2bdfa - nfs-utils.spec - don't chown when not needed.
Only chown directories in /var/lib/nfs to statd
  if they are currently owned by root.
  The chown is needed for some upgrades, but if the
  dirs are already owned by statd, an vulnerability in
  statd could be escalated to root.
  (bsc#1157321)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=210
2019-11-20 23:59:04 +00:00
Neil Brown
c4424eaa19 - Delete 0006-nfs.conf-silence-include-error.patch
replaced with better version
- 0006-conffile-allow-optional-include-files.patch
   Avoid error if /etc/nfs.conf.local doesn't exist
  (bsc#1151044 bsc#1150807)
- 0008-mountd-Initialize-logging-early.patch
 Don't close the loging socket - it causes problems.
  (bsc#1151044 bsc#1150807)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=208
2019-09-23 02:09:16 +00:00
Neil Brown
0138b6c771 Only sm and sm.bak need to be accessible by
statd or sm-notify after they drop privs.
  Providing they get created, the parent
- 0007-statd-user-from-sm
  Change rpc.statd and sm-notify to take uid from the sm
  directory.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=207
2019-09-17 01:17:20 +00:00
Neil Brown
2c42cd5b0d - Don't make /var/lib/nfs owned by statd.
Only sm sm.bak and state need to be accessible by
  statd.  Providing they get created, the parent
  directory can be root-owned.
  (bsc#1150733 CVE-2019-3689)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=206
2019-09-16 23:45:23 +00:00
Neil Brown
9571d78718 - 0006-nfs.conf-silence-include-error.patch
Avoid an unhelpful warning (bsc#1150807)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=205
2019-09-16 06:04:01 +00:00
Neil Brown
0cf2370c0c - 0005-nfs.conf-fail-to-disable-major-NFS-version-4-using-v.patch
Fix a bug that cause NFSv4 service to always be enabled, if
  the server was enabled at all.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=203
2019-09-02 05:26:32 +00:00
Neil Brown
3f63e668ba Accepting request 718249 from home:mgerstner:branches:Base:System
- removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced by
  firewalld, see [1].
  [1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html

OBS-URL: https://build.opensuse.org/request/show/718249
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=202
2019-07-30 00:14:20 +00:00
Neil Brown
572639f174 - remove libnfsidmap1 dependency for nfs-client.
It isn't needed.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=201
2019-01-30 00:10:42 +00:00
Neil Brown
cd4692a510 - Remove service aliases - these files are deleted.
nfs.service
   nfsserver.service
   nfs-server.nfsserver.conf
   nfs-client.nfs.conf
  Now the upstream standard service names "nfs-client" and "nfs-server"
  must be used.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=200
2019-01-29 23:09:18 +00:00
Neil Brown
6c7a56a0e5 - Restored nfs.service nad nfserver.service wrappers
as "install images" need these still.
    sysmacros.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=199
2019-01-29 22:54:03 +00:00
Neil Brown
22747e3040 - 0004-nfsidmap-honour-with-pluginpath-for-instalation.patch
Allow plugins to be installed properly
- nfs-utils.spec
  Package shared library correctly

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=198
2018-12-04 00:04:15 +00:00