Compare commits

...

368 Commits

Author SHA256 Message Date
Ana Guerrero
27cc9be039 Accepting request 1220464 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1220464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=183
2024-11-05 14:40:26 +00:00
Ana Guerrero
eca6975045 Accepting request 1194950 from Base:System
- 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

- drop reenable-nfsv2.patch (poo#106679)
  Fix crash when rpc-gssd run with -v.
- Replace references to /var/adm/fillup-templates with new
  options.
- do not strip the binaries
- mkinitrd-boot.sh: allow other mkinitrd-setup
- nfs-utils-eperm-fallback.patch:  mount.nfs
  Includes new config file: /etc/nfsmount.conf and
- Kill processes on NFS mounts when unmounting
  bnc#442490
  * fix typo in handling of "init.d/nfs status"
- nfs.init:
  * unmount rpc_pipefs
- fix sysconfig filename for changed fillup call
   services (gssd and idmpad have been rolled in to nfs/nfsserver).
- remove svcinfo.d dir as it is provided now by filesystem
- update to version 1.1.2
- uses libgssglue instead of libgssapi
- add rpcbind support [fate#300607]
- added gssapi to buildrequires
  (#116355)
  showmount has been removed there (#309782)

OBS-URL: https://build.opensuse.org/request/show/1194950
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=182
2024-08-21 21:24:49 +00:00
99d3e0d9fa - 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
- drop reenable-nfsv2.patch (poo#106679)
  Fix crash when rpc-gssd run with -v.
- Replace references to /var/adm/fillup-templates with new
  options.
- do not strip the binaries
- mkinitrd-boot.sh: allow other mkinitrd-setup
- nfs-utils-eperm-fallback.patch:  mount.nfs
  Includes new config file: /etc/nfsmount.conf and
- Kill processes on NFS mounts when unmounting
  bnc#442490
  * fix typo in handling of "init.d/nfs status"
- nfs.init:
  * unmount rpc_pipefs
- fix sysconfig filename for changed fillup call
   services (gssd and idmpad have been rolled in to nfs/nfsserver).
- remove svcinfo.d dir as it is provided now by filesystem
- update to version 1.1.2
- uses libgssglue instead of libgssapi
- add rpcbind support [fate#300607]
- added gssapi to buildrequires
  (#116355)
  showmount has been removed there (#309782)
- added README.NFSv4 (#182775)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=285
2024-08-20 20:22:12 +00:00
Ana Guerrero
05ba8ea61f Accepting request 1169773 from Base:System
- nfs-utils.spec: Provide nfsidmap as well as obsoleting it.
  (bsc#1222947)

- 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)

OBS-URL: https://build.opensuse.org/request/show/1169773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=181
2024-06-17 17:27:17 +00:00
Neil Brown
611150fbd2 Uncomment sysusers_requires.
This was a mistake.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=283
2024-04-22 23:23:28 +00:00
Neil Brown
f258c2347b - nfs-utils.spec: Provide nfsidmap as well as obsoleting it.
(bsc#1222947)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=282
2024-04-22 02:57:27 +00:00
Neil Brown
2bd1d69add - 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)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=281
2023-12-08 03:33:59 +00:00
Ana Guerrero
673a2eaae3 Accepting request 1126501 from Base:System
- Build with --enable-junction so that nfsref is built
  https://lore.kernel.org/linux-nfs/DFBBA6DD-7F22-4A38-BAA2-DBD40EB81BB9@oracle.com/

OBS-URL: https://build.opensuse.org/request/show/1126501
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=180
2023-11-15 20:07:02 +00:00
Neil Brown
7ca7a44293 - Build with --enable-junction so that nfsref is built
https://lore.kernel.org/linux-nfs/DFBBA6DD-7F22-4A38-BAA2-DBD40EB81BB9@oracle.com/

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=279
2023-11-15 00:11:31 +00:00
Ana Guerrero
83163c6153 Accepting request 1117914 from Base:System
- 0001-export-fix-handling-of-error-from-match_fsid.patch
  Errors from match_fsid() shouldn't be fatal.
  (bsc#1214540)

OBS-URL: https://build.opensuse.org/request/show/1117914
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=179
2023-10-16 20:32:44 +00:00
Neil Brown
029559f225 - 0001-export-fix-handling-of-error-from-match_fsid.patch
Errors from match_fsid() shouldn't be fatal.
  (bsc#1214540)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=277
2023-10-16 00:45:49 +00:00
Dominique Leuenberger
bd18ed3b43 Accepting request 1082338 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1082338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=178
2023-04-24 20:30:53 +00:00
Neil Brown
946c3a339f Accepting request 1080851 from home:pevik:branches:Base:System
- Update to version 2.6.3
  - https://kernel.org/pub/linux/utils/nfs-utils/2.6.3/2.6.3-Changelog
- Remove patches from this release:
  - 0006-nfsd-allow-server-scope-to-be-set-with-config-or-com.patch
  - 0007-mount.nfs-always-include-mountpoint-or-spec-if-error.patch
  - 0008-nfsd.man-fix-typo-in-section-on-scope.patch
- Remove systemd/50-nfs.conf (was removed in upstream in d8d29f85)
  and the realted patch (bsc#1200710).
  0005-modprobe-avoid-error-messages-if-sbin-sysctl-fail.patch.
- New file /usr/lib/udev/rules.d/60-nfs.rules (which replaced in upstream
  systemd/50-nfs.conf in 9466df03).
- Add fsidd:
  - /usr/lib/systemd/system/fsidd.service
  - /usr/lib/udev/rules.d/60-nfs.rules
  - /usr/sbin/fsidd

OBS-URL: https://build.opensuse.org/request/show/1080851
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=275
2023-04-23 22:39:42 +00:00
Dominique Leuenberger
2f4a513b91 Accepting request 1075133 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1075133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=177
2023-04-01 19:13:19 +00:00
Neil Brown
ef55f35a54 Accepting request 1075113 from home:dimstar:Factory
- Add explicit pkgconfig(libkeyutils) BuildRequires: nfs-utils
  requires this for nfsv4 and we should not rely on the devel
  package being brought in by other deps.
- 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)
- 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)
- 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)
- 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:
  - gcc12-fix.patch
  - 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
- 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)
- 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
- switch to https urls
- drop reenable-nfsv2.patch (poo#106679) 
- add reenable-nfsv2.patch for reverting nfsv2 deprecation until
  test coverage is fixed  (poo#106679)
- Add gcc12-fix.patch upstream fix for GCC 12 compiler.
- 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
- Add CONFIG parameter to %sysusers_generate_pre
- Remove unneeded group line (user implies group)
- Add Shell parameter to statd-user.conf
- 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.
- Add 0001-gssd-fix-crash-in-debug-message.patch
  Fix crash when rpc-gssd run with -v. 
  (boo#1190144)
- 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)
- 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.
- Update to version 2.5.4-rc4 to get all recent fixes:
  - nfs-utils-2-5-4-rc4.patch
	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
  - nfs-utils-2-5-4-rc3.patch
	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
  - nfs-utils-2-5-4-rc2.patch
	2f669b6f NFS server should enable RDMA by default
	d77ece22 mountd/exportd: only log confirmed clients, and poll for updates
	ac266e2e exportfs: fix unexporting of '/'
  - nfs-utils-2-5-4-rc1.patch
	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
- Add 0001-Replace-all-var-run-with-run.patch
  Use /run instead of /var/run
  (bsc#1185170)
- Include nfsd kernel module Requires (bsc#1089118)
- Update to version 2.5.3
  https://mirrors.edge.kernel.org/pub/linux/utils/nfs-utils/2.5.3/2.5.3-Changelog
- Add missing ldconfig calls for libnfsidmap1.
- Throw out some remaining old rpm constructs.
- 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
- Remove nfs-doc package.  The documentation is 20 years old
  and barely relevant.
  (bsc#1171448)
- Update to version 2.5.1
  Dropped patch accepted upstream:
  0001-conffile-Don-t-give-warning-for-optional-config-file.patch
  - improvements for 64bit time
  - improvements for SASL referrals
  - Rename clddb-tool to nfsdclddb
  - New tools  nfsdclnts
  - Better python3 support
  - many bug-fixes
- Use group statd instead of nogroup, nogroup would invalidate
  the extra statd user.
- Remove README.NFSv4.  It is out dated and not useful.  All
  the configation described is now done automatically.
  (bsc#1171448)
- Remove obsolete useradd call
- Improve the hack to avoid python dependencies.
  A new python script had been added since that hack was written.
  (boo#1166067)
- 0001-conffile-Don-t-give-warning-for-optional-config-file.patch
  Support optional include files correctly
  (boo#1164619)
- 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
- statd-user.conf: create user via sysusers.d template
- Use ordering for systemd instead of hard requires
-  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)
- 0009-Allow-compilation-to-succeed-with-fno-common.patch
  Allow compilation to success with -fno-common
  (boo#1160405)
- 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)
- 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)
- Don't make /var/lib/nfs owned by statd.
  Only sm and sm.bak need to be accessible by
  statd or sm-notify after they drop privs.
  Providing they get created, the parent
  directory can be root-owned.
- 0007-statd-user-from-sm
  Change rpc.statd and sm-notify to take uid from the sm
  directory.
  (bsc#1150733 CVE-2019-3689)
- 0006-nfs.conf-silence-include-error.patch
 Avoid an unhelpful warning (bsc#1150807)
- 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.
- removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced by
  firewalld, see [1].
  [1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html
- remove libnfsidmap1 dependency for nfs-client.
  It isn't needed.
- 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.
- 0004-nfsidmap-honour-with-pluginpath-for-instalation.patch
  Allow plugins to be installed properly
- nfs-utils.spec
  Package shared library correctly
- 0001-nfs.conf-allow-empty-assignments.patch
  Fix regression due to unnecessary "error" messages from nfs.conf
- 0002-Let-systemd-know-when-rpc.statd-is-needed.patch
  0003-systemd-run-statd-notify-even-when-nfs-client-isn-t-.patch
  Fixes for systemd integration
  (bsc#1116221)
- New version: nfs-utils-2.3.3
  The nfsidmap library source has been merged into
  nfs-utils, so this source package now makes
  nfsidmap and nfsidmap-devel packages.
  New program "nfsconf" improves access to nfs config files.
  Delete patches that have been included upstream:
    0001-conffile-ignore-empty-environment-variables.patch
    0002-mount-call-setgroups-before-setuid.patch
    0003-nfs-server-generator-handle-noauto-mounts-correctly.patch
    nsm-headers.patch
    sysmacros.patch
- sysmacros.patch: include <sys/sysmacros.h> for major
- use packageand for nfs documentation rather then always
  installing nfs-doc as part of the documentation pattern.
- nfs.conf: spell NFSV4LEASETIME correctly.
  (bsc#1098532)
- Create files in /var/lib/nfs via tmpfiles.d [bsc#1100404],
  [FATE#325524]
- Replace references to /var/adm/fillup-templates with new 
  %_fillupdir macro (boo#1069468)
- fix incorrect dependency in
  /usr/lib/systemd/system/nfs-client.target.d/nfs.conf
  When yast restarts "nfs" it should propagate to nfs-client,
  but doesn't.
  (boo#1053691)
- nsm-headers.patch: add missing <stdint.h>
- Prerequire needed group "nogroup"
- update upstream version from 1.3.4 to 2.1.1
  The significant update is that configuration can
  now be read from a central /etc/nfs.conf file, and
  it can include other files such as /etc/sysconfig/nfs
  This means that the old nfs-config.service systemd
  unit is no longer needed.
- /etc/nfs.conf file created to import all sysconfig
  settings except *_OPTIONS directly into running code.
- dropins created to pass *_OPTIONS sysconfig setting to
  the various daemons.
- various specfile improvements, such as using "-D" in
  "install" commands, and adding "verify_permissions".
- "xtab" has not been needed for years and has now been remove.
- sysconfig.nfs updated, particular the ServiceRestart
  declarations have been tuned for systemd units.
- 0003-nfs-server-generator-handle-noauto-mounts-correctly.patch
  Fix the nfs-server-generator so that mounts marked "noauto"
  are not automatically mounted when NFS exported.
  (bsc#1019211)
- 0001-conffile-ignore-empty-environment-variables.patch
  0002-mount-call-setgroups-before-setuid.patch
  Other minor fixes found during testing.
- REMOVED 0001-Make-location-of-nfs-utils_env.sh-configurable.patch
  now included upstream
- Check for existence of "statd" user before creating it,
  and do not suppress errors about it.
- Ensure units passed to %service_* are full filenames.
- Pass all units (non-templated) to %service_*.
- Also ignore errors on the first chown call: this can happen
  especially in the build system when shadow is not present and
  the user has not been generated in the %pre phase.
- move rpc.svcgssd and corresponding man page from
  nfs-client package to nfs-kernel-server.
  For NFSv4.0 this is needed on client as well as
  the server to support the back-channel.
  (bsc#1005609)
- 0001-Make-location-of-nfs-utils_env.sh-configurable.patch
  1.3.4 moved the config script location to somewhere
  that doesn't exist on openSUSE.  Move it somewhere
  better and install it there.
  (bsc#990356)
- nfs-utils-1.3.4.tar.xz
  New upstream release.  Lots of bugfixes, no significant
  functionality changes
- delete 0001-Fix-protocol-minor-version-fall-back.patch
  delete 0001-close-the-syslog-fd-in-daemon_init.patch
  delete 0001-mount-run-START_STATD-fully-as-root.patch
  delete 0001-mount.nfs-hide-EBUSY-errors.patch
  delete 0001-mount.nfs-trust-the-exit-status-of-start_statd.patch
  delete 0001-systemd-Decouple-the-starting-and-stopping-of-rpcbin.patch
  delete 0002-systemd-unit-files-fix-up-dependencies-on-rpcbind.patch
  delete nfs-utils-no-svcgss.service
  delete nfs-utils-uninit-mem.patch
  All patches are included in 1.3.4
- nfs-utils_env.sh
  Fix some problems with version_params.
  Various misspellings and remove the possiblity
  that V4 is both disabled and enabled.
  (bsc#990356)
- Drop OMC svcinfo file, nowdays useless
- Sort a bit with spec-cleaner to get uptodate spec
- Convert deps from regular devels to pkgconfig style
- 0001-systemd-Decouple-the-starting-and-stopping-of-rpcbin.patch
  0002-systemd-unit-files-fix-up-dependencies-on-rpcbind.patch
 Fix systemd dependencies to ensure rpcbind is started when needed.
 (bsc#975265)
- 0001-close-the-syslog-fd-in-daemon_init.patch
  Without this, tracing doesn't work
- 0001-mount.nfs-trust-the-exit-status-of-start_statd.patch
  (bsc#945937)
- 0001-mount-run-START_STATD-fully-as-root.patch
  (bsc#969152)
- Drop unused BuildRequires for libgssglue, not used with tirpc
- Drop unused BuildRequires for librpcsecgss, tirpc version is used
- 0001-mount.nfs-hide-EBUSY-errors.patch
  Stop "mount -a -t nfs" from complaining if filesystem
  already mounted (bsc#950340)
- 0001-Fix-protocol-minor-version-fall-back.patch
  (bnc#959211)
- nfs.service: don't mount/unmount nfs filesystems.
  systemd does this automatically.  Trying to do it here too
  causes timing races (boo#963616)
- nfs-utils-uninit-mem.patch: fix use of uninitialized memory (bsc#956743)
- Remove sysvinit related macros; the package doesn't contain any
  sysvinit script
- Replace systemd with systemd-rpm-macros; increase dependencies
  weight
- Use %configure macro
- Remove depreciated %clean section
- Use proper annotations for service restart (bsc#952055).
- update upstream version from 1.3.1 to 1.3.3.
  This contains lots of bugfixes but not significant new features.
- delete 0001-nfs-client.target-Removed-a-ordering-cycle-with-nfs-.patch
  delete 0002-Centralize-dependencies-on-the-auth-unit.patch
   both included upstream
- nfs-utils-no-svcgss.service
  fix minor make-install issue (has since been accepted upstream)
- use "make install" to install systemd files instead of hand-code.
- retain rpc-svcgssd for now until gss-proxy is packaged.
- nfs-utils_env.sh: honour RPC_PIPEFS_DIR setting.
  It is currently ignored due to a logic error.
  (bsc#947852)
- nfsserver.service.  Provide ExecReload directive.
  This allows "systemctl reload nfsserver" to work.
  PropagatesReloadTo but itself is not enough if this
  unit doesn't have it's own Reload handler.
  (bsc#97296)
- sysconfig.nfs: add STATD_PORT, STATD_HOSTNAME,
  LOCKD_TCPPORT, LOCKD_UDPPORT
- nfs-utils-env.sh: handle STATD_PORT, STATD_HOSTNAME,
  LOCKD_TCPPORT, LOCKD_UDPPORT
  Also handle NFSV4LEASETIME, which was missing.
  (bsc#941645)
- nfs.service: improve back-compatibility with /etc/init.d/nfs
 + mount and unmount nfs filesystems on start/stop.
 + keep status as "good" when everything is running.
 (bnc#911986)
- fix bashisms in pre/post scripts
- new upstream nfs-utils-1.3.1
  This brings numerous fixes, particularly to gssd and
  nfsdcltrack.  It incorporates all the upstreamable
  patches we had:
- Delete  nfsdcltrack.sbin.patch
- Delete  start-statd.patch
- 0001-nfs-client.target-Removed-a-ordering-cycle-with-nfs-.patch
  0002-Centralize-dependencies-on-the-auth-unit.patch
  Patches from 1.3.2-rc, which look useful
- Convert from /etc/init.d startup scripts to full
  systemd integration.
  The upstream standard names are "nfs-client" and "nfs-server"
  rather than "nfs" and "nfsserver", so local "nfs" "nfsserver"
  aliases are created and "rcXXX" links are provided for all 4.
- nfsserver.init: allow $NFSD_V4_GRACE to set the lease
  time if NFSV4LEASETIME is not set, as some documentation
  suggests this.
  Also set NFSv4 and NLM grace time to make the NFSv4 lease time
  as having them different at boot time doesn't make sense.
  (bnc#892809)
- Remove mkintird scripts again.  "libguestfs" now includes
  them so nfs-utils doesn't need to.
  (bnc#883876)
- add mkinitrd scripts back in.  They are needed by
  "guestfs"  See bnc#883873
  (bnc#883876)
- Use start-statd and rpc-statd.service from upstream for running statd.
  Our start-statd doesn't work in a systemd environment (bnc#852984)
- start-statd.patch - needed to make upstream start-statd work properly.
- use .xz from upstream, that is what kernel.org prefers and it is smaller
- Remove 0001-nfsidmap-Keys-need-to-be-invalidated-instead-of-revo.patch
  Now that keyutils has been updated in Factory, this patch
  is no longer needed.
- Check if systemd is listen on local socket 111 to trigger the
  start of the rpcbind.service on demand (bnc#860246)
- There exists only nfs-utils-1.3.0.tar.gz at
  http://kernel.org/pub/linux/utils/nfs-utils/1.3.0/
- New upstream version 1.3.0.
  Includes all our bugfix patches except 1.
  Adds assorted other bugfixes and improvements including
  initial support for NFSv4.2
  Prepares the way for better systemd integration.
  Discards useless programs gss_clnt_send_err and gss_destroy_creds
- Removes: 0001-mountd-Fix-is_subdirectory-again.patch
- Removes: 0002-gssd-Fix-recent-fix-to-Avoid-DNS-reverse-resolution-.patch
- Removes: 0003-Fix-handling-of-preferred-realm-command-line-option.patch
- Removes: 0004-nfsiostat-restore-output-format.patch
- Removes: 0005-gssd-don-t-give-up-on-machine-credential-if-hostname.patch
- Removes: 0006-gssd-fixed-typo-in-machine-cred-name.patch
- Removes: skip-on-ENOENT.patch
- Removes: mountd-fix-bug-affecting-exports-of-dirs-with-64bit-.patch
- Removes: exportfs-exit-with-error-code-if-there-was-any-error.patch
- Removes: exportfs-report-failure-if-asked-to-unexport-somethi.patch
- Removes: gssd-mount-hang-fix.patch
- Removes: udp-fallback-fix.patch
- Removes: fedfs-lib-name.patch
- 0001-nfsidmap-Keys-need-to-be-invalidated-instead-of-revo.patch
 This upstream patch is currently reverted until we get a newer version
 of keyutils.
- nfsdcltrack_sbin.patch
  The kernel expects nfsdcltrack to be in /sbin,
  so we must put it there.
- Remove mkinitrd bits -> we use dracut now which already has
  nfs stuff provided in its package in:
  /usr/lib/dracut/modules.d/95nfs/
  Remove sources:
    - mkinitrd-boot.sh
    - mkinitrd-setup.sh
- properly rename patches:
  udp-fallback.fix -> udp-fallback-fix.patch
  fedfs-lib-name -> fedfs-lib-name.patch
  gssd-mount-hang-fix -> gssd-mount-hang-fix.patch
- Remove "Start-Before: autofs" from nfs.init.  This turns
  out not to be needed, and is out of place.  If anything,
  autofs should declare a dependency on nfs. (bnc#861489)
- fedfs-lib-name, nfs-utils.spec
  Build with fedfs support so that if fedfs-utils is also
  installed, federated-filesystems can be exported.
  (FATE#313522)
- udp-fallback.fix: Fix fallback from tcp to udp
  (bnc#863749)
- nfs-utils.spec: Require keyutils for proper
  idmap lookup.
- nfs.init, nfsserver.init: mkdir /run/nfs before
  trying to create a file in there (bnc#859221)
- nfs.init, nfsserver.init: add
    X-Systemd-RemainAfterExit: true
  to ensure services aren't shutdown if sm-notify
  reports an error
  (bnc#849387)
- nfsserver.init: fix that typo properly.
  Somehow I only fixed part of the problem
  (bnc#849476)
- If nfs-utils and autofs are both installed make sure that the nfs
  client boot service will be started before autofs as otherwise
  systemd dependency chain is waiting on nfs client services at
  shutdown if nfs client is enabled.
- nfsserver.init: fix typo in "--nfs-version 4".
  (bnc#849476)
- gssd-mount-hang-fix: An nfs mount will hang
  indefinitely if mounted by IP address and there
  is no reverse mapping available.  This is
  caused by a bug in gssd.
  (bnc#833543)
- nfs-utils.spec: add various systemd macros to make
  sure init scripts are registered properly
  bnc#845475
- nfs.int, nfsserver.init: run gssd on server as well
  as on client.  This is needed for NFSv4.0 callbacks.
  bnc#845269
- exportfs-exit-with-error-code-if-there-was-any-error.patch
- exportfs-report-failure-if-asked-to-unexport-somethi.patch
  Return good error code from exportfs.
  bnc#846064
- mountd-fix-bug-affecting-exports-of-dirs-with-64bit-.patch
  allow NFS export to work for XFS filesystems with INODE64
  (bnc#841971)
- nfs.init: run ldconfig directly rather than calling
  boot.ldconfig.
  boot.ldconfig had some "optimisations" which are
  unimportant and inconvenient for NFS, and doesn't
  exist any more anyway.
  (bnc#834164).
- nfs.init: always start gssd.
  Recent kernel change means that if gssd isn't running
  and NFSv4 mount will wait 15 seconds before timing out
  even if gss security wasn't requested.
  So just start gssd alway - there is no significant cost
  in this.
  (bnc#837262)
- skip-on-ENOENT.patch - suppress error message
  that isn't really an error (bnc#800414)
- Include also nfsv2,nfsv3,nfsv4.ko in initrd (bnc#815738)
- Remove usage of absolute paths in mkinitrd script
- Include also mount.nfs4
- New sysconfig variables
   NFS4_SERVER_MINOR_VERSION, GSSD_OPTIONS,
   NFS_GSSD_AVOID_DNS
  to enable various configurations.
- bug fixes to init scripts to avoid unmounting everything(!)
  and to avoid corrupting /run/nfs/bind.mounts
- New upstream release 1.2.8 - mostly bugfixes, many to gssd.
  No important new functionality
- Changes to ./configure command to remove warnings
- 8 more patches from upstream 'git' to fix non-trivial bugs
  including on CVE.
- remove sysvinit requires - they are rather harmful these days
- nfsserver.init,sysconfig.nfs - Add support for setting rpc.mountd
  options. 
- New upstream release 1.2.7.  Adds FedFD support
  to mounted and replaces nfsdcld with
  nfsdcltrack.  This is used to manage client state
  on NFSv4 servers.
  Incorporates more local patches.
- Replace "/var/run" with "/run" in various scripts.
- nfsserver.init: Generate message that "bind=" is deprecated
  if it is used.
- Add dependency on "netcfg" to ensure /etc/services
  is present (bnc#779851)
- nfs4-no-umount: does send MOUNT_UMNT rpcs
  when unmounting an 'nfs4' filesystem.  They
  are only required for nfs2,3. (bnc#772534)
- mount-exit-code.fix:  Correct exit code from
  unmount when fs is busy - allows autofs to work
  correctly. (bnc#770962)
- nfs upstream version 1.2.5.  Lots of bug fixes
  and improved support for pNFS.
  Adds nfsdcld daemon on osd_login script.
  Removed some very out-of-date documentation.
- nfsserver.init: remove VERSION_LIST. This is
  unnecessary duplication of VERSION_PARAMS
- nfsserver.init: Don't depend on "mount" preserving
  unknown options - it doesn't any more.  This can
  confuse nfsd_unbind_mounts (bnc#754805)
- add libtool as buildrequire to avoid implicit dependency
- do not strip the binaries 
- nfs.init: handle case where kernel adds trailing
  slash to name in /proc/mounts.
  (bnc#722431 bnc#720376)
- Fix build in arm, portability bug, applications MUST
  use sysconf(_SC_PAGESIZE) instead of constant PAGE_SIZE
- New upstream version 1.2.5 - This adds a new binary
  blkmapd with man page,  This is part of PNFS support.
- New upstream version 1.2.4 - plus a few important
  patches from git.  This adds a new binary nfsidmap,
  with man page. Also: build with libmount enabled
  to correctly handle /etc/mtab being linked to
  /proc/self/mounts. (bnc#681106)
- nfs.init,nfsserver.init,sysconfig.nfs - Add support
  for configuring NFS for a fail-over configuration
  with shared state. (bnc#689622)
- rpc.mountd-segfault-fix; fix possible segfault caused
  by "showmount -e" usage. (bnc#693189)
- do-not-error-when-address-family-not-supported -
  suppress socket error when IPv6 is not loaded
  (bnc#670449)
- addmntent.fix - error check writes to /etc/mtab and
  cope accordingly. (bnc#689799)
- mount-catch-signals - don't abort on SIGXSFZ or other
  signals while mtab is locked (bnc#689799)
- mountd-auth-fix - fix bug that could give away incorrect
  access to NFS exported filesystems. (bnc#701702)
- Fix URLs.
- nfsserver.init, sysconfig.nfs: add NFSV4LEASETIME
  parameter to allow lease time to be set.
  bnc#681510
- use /var/run/nfs instead of /var/lock/subsys
- sysconfig.nfs: now that 'nfs' is not enabled
  by default, set NFS_START_SERVICES=yes by default
  and document that 'chkconfig nfs on' is needed.
- Make /var/lib/nfs world executable.
  Otherwise 'df' complains about /var/lib/nfs/rpc_pipefs
  bnc#675385
- Must up the loopback device, otherwise trying to contact the
  portmapper (even if it does not actually run) will hang forever-
  the TCP RST is crucial for mount.nfs
- nfs.init: improve handling of paths with spaces.
  If a path name has a space, it will appear as \040
  in fstab and in /proc/mounts.  Using 'grep -E' to search
  for this is problematic as it will interpret the
  '\'.  So use 'grep -F' instead - we know there is
  only a single space in /proc/mounts.  Also use
  "read -r" so 'read' doesn't interpret the '/'.
  (bnc#666128)
- nfsserver.init: make sure sm-notify runs on restart.
  If we stop nfsd, that might also stop lockd which would
  drop locks.  So make sure lockd really does drop lock
  for consistency, and ensure that sm-notify is run when
  nfsserver is restarted. (bnc#668280)
- don't run SuSEfirewall2 from start-statd script. If SuSEfirewall2
  is installed and enabled it will be called at the end of the boot
  process anyways (bnc#668181).
- avoid python depdency to avoid bloating the minimal installation
- use %set_permissions instead of %run_permissions
- give user a hint if portmap isn't running as statd can't be started in that
  case.
- don't enable nfs init script by default. The yast nfs module
  makes sure the script gets enabled when adding mounts
- print a message to tell when file systems are mounted as that
  could take a while
- add sysvinit prereqs to make sure the scripts are there before
  installation (also for building)
- new upstream version 1.2.3, plus some upstream fix-up patches.
- new user 'statd' owns /var/lib/nfs so rpc.statd runs as non-root.
- New commands 'mountstats' and 'nfsiostat'
- ipv6 support enabled as it is believed to be complete.
- Change "Requires: portmap" to "Requires: rpcbind".
  Current nfs-utils does not work properly with portmap
  due to IPv6 being enabled, so we really need rpcbind.
  So be explcit about that, else upgrading an old
  installation will leave portmap in place which
  won't work.
  bnc#620346
- Add rpmlintrc since /var/lib/nfs/sm.bak is valid.
- nfsserver.init / sysconfig.nfs: allow NFSv3 service
  to be disabled so only NFSv4 can be used. bnc#598671
- nfs-v2-disable.patch: mountd support for above
- nfs.init: unmount bind mounts with '-l' to ensure they
     really unmount. bnc#598681
- mkinitrd-boot.sh: allow other mkinitrd-setup 
  scripts to request the inclusion of nfs support
  by setting need_nfs to 1.  (bnc#572207)
- sysconfig.nfs, nfsserver.init, start-start: handle
  STATD_OPTIONS so that sysadmin can easily set options
  like port number. (bnc#595379)
- mkinitrd-boot.sh: Do not do anything over if iscsi should be used
  (bnc#590135).
- init.nfs: also call 'udevadm settle' when mounting things
  other than /usr and /opt. bnc#571540
- init.nfs: if mounting /usr fails, call "udevadm settle"
  and try again incase network interfaces are still
  appearing.  bnc#571540
- nfs-utils-eperm-fallback.patch:  mount.nfs 
  tries a v3 mount after a v4 mount fails with ENOENT.
  Older linux nfsd servers return EPERM, so fall
  back in that case too.  bnc#557138
- New upsteam release - 1.2.1
  Includes new config file: /etc/nfsmount.conf and 
  man page.
- nfs.init
  * implement try-restart in a more gentle fashion
  so that active mounts are not lost.  Also allow
  for the fact that binary has changed when finding
  and killing running daemons. (bnc#543911)
- start-statd
  * try-restart the firewall after starting statd
  as the firewall might need to update to reflect
  a new port number.
- Start nfs services if any nfs related sysctl
  is set in /etc/sysctl.conf
- Kill processes on NFS mounts when unmounting 
  for shutdown.  This allows any 'sync' to happen
  before we turn off the network.
  (bnc#503640)
- Work around broken sysconfig file (bnc#529961)
- sysconfig.nfs
  * add 'NFS_START_SERVICE' option for people who
  need gssd or idmapd but mount using automount, not
  fstab. bnc#472438
- nfs.init
  * 'stop' should stop servies based on what is
  running, not what is configured to be run.
  bnc#459021
  * force-start added to start NFS services even
  if nothing is in /etc/fstab.
- initrd: Giving the DHCP provided root path a higher priority
  compared to the fallback from fstab. Command line can still
  overwrite the DHCP provided root path. (bnc #440192).
- gssd-mem-leak
  * set better expiry date for cached auth info
  so kernel does not run out of memory
  bnc#442490  
- nfs.init
  * Don't signal an error if asked to stop 'nfs'
  when there is nothing to stop.  Signalling an
  error here causes "rpm -e nfs-client" to fail.
  (bnc#450940)
- warn-nfs-udp.patch
  * Add warnings to nfs.man about usage of UDP
  and print message pointing to this warning
  when udp is used.
  This comes from util-linux-warn-nfsudp.diff in
  previous releases.
- nfs.init
  * load nfs modules then apply any sysctl setting
    before mounting any filesystems
    (bnc#431306, bnc#443118)
- nfsserver.init
  * set lockd sysctls before starting lockd.
    (bnc#443118)
 
- nfs.init
  * Don't 'stop' if root is on NFS.
  If we stop NFS if root is on NFS, then
  reboot will hang - bnc#439974
- nfs.init
  * Don't try to kill processes with fuser.
  it hangs when netowrk is down, and isn't
  needed as we use lazy unmount
  bnc#445908
  * Don't kill statd if nfsd is still running.
- fork-start-statd.patch
  * Don't use 'system' to run start-statd
  as this looses our setuid bit.
  bnc#447812
 
- export ROOTFS_FSCK=0 to skip fsck for root on NFS (bnc#441234)
- rpc.gssd-catch-signal.patch
  * new patch (not yet upstream) to make sure
    rpc.gssd gets signals from dnotify.
    bnc#406832
- sm-notify-no-sync.patch
  * new upstream patch to avoid sync() in common
    case of no peers to notify.
    Important for speeding boot of SLED
- nfs-utils.spec: typo in command to install
   modprobe.d/nfs-utils
- nfsserver.init
  * don't set version if nfsd already running.
    doing that causes unhelpful error when trying
    to start nfsserver when it is already running.
    (bnc#427330)
- modprobe.nfs-utils
  * arrange that when various nfs modules are loaded
    the relevant values from /etc/sysctl.conf are set
    (bnc#431306, bnc#443118)
- nfs.init
  * fix typo in handling of "init.d/nfs status"  
      $status should have been $state
- nfs.init: 
  * ensure all daemons get killed on stop (including rpc.statd)
  * unmount rpc_pipefs 
  * let close_usr do the work before the NFS filesystems get unmounted
- fix sysconfig filename for changed fillup call 
- Disable IPv6, completly broken [bnc#431542]
- Enable IPv6 [bnc#429853]
- Fix nfs.init to check for portmap or rpcbind properly.
  Either or both can be installed, but as long as one is
  running, neither 'start' or 'status' will complain.
  bnc#428436
- Change nfs.init to do nothing if NFS is not mentioend in /etc/fstab,
  and sure it is always enabled.  bnc#331667
- Improve Description fields in fw-server and fs-client.
  bnc#424432 bnc#424433
- require libevent-devel on 11.1 or newer
- Call mkinitrd_setup during %post and %postun (bnc#413709)
- remove outdated options in the fillup_and_insserv call
- upgrade to nfs-utils-1.1.3
  - assorted bugfixes including some that we have fixed in our 1.1.2
    release
  - some work towards client-side IPv6 support
- Remove included patches.
- Add patches that are still not upstream
  They relate to mounting from server which does not listen
   to UDP for portmap
- Fix boot script and use correct Stop tags
- The nfs boot script uses lazy umount and terminates process
  on shutdown in case of causing busy mounts
- The nfs boot script may parse /etc/fstab only once
- Include mkinitrd scriptlets.
- Do not install Makefiles for nfs-doc.
- nfs.init - parse /etc/fstab correctly.  The first two fields
   are "what where", not "where what" (bnc#364513)
- Use autoreconf.
- nfs-utils-1.1.2-start-statd.patch - fix so that statd isn't
  required with "-o remount" (that causes a problem with
  nfs-root (bnc#397417)) and isn't required for nfsv4.
- fix permissions handling of mount.nfs (bnc#304318)
- fix prereqs
- Fix some lost exit status in init scripts.
- nfs-utils-1.1.2-start-statd.patch - statd needs to be started
  when using 'string' options to kernel was well as when using
  binary options.
- Added SM_NOTIFY_OPTIONS sysconfig - (bnc #379806)
- Removed needless rc_status/rc_exit games in nfsserver.init (bnc #380156)
- Fixed some sysconfig entries that asked to restart non-existent
   services (gssd and idmpad have been rolled in to nfs/nfsserver). 
- fixed more bugs in port information for SuSEfirewall2 (bnc #373969)
- fixed typo in port information for SuSEfirewall2 (bnc #373969)
- fix path srvinfo.d -> svcinfo.d
- remove svcinfo.d dir as it is provided now by filesystem  
- update to version 1.1.2 
- uses libgssglue instead of libgssapi 
- remove patch
  nfs-utils-o_create-mode
- add rpcbind support [fate#300607] 
- added gssapi to buildrequires 
- Cleaned up open(O_CREAT) without file permissions.
- Fix sed script used to create bind mounts for NFSv4 export
  (#279665)
- Fail nfs.init if portmap is not running.  Normally it will be,
  but if it isn't nfs can fail strangely. (#325763)
- Add SuSEfirewall2 config files for nfs-client and nfs-kernel-server
  (#247354)
- use navigation icons from latex2html in nfs-utils-doc package
  (#116355) 
- use "--no-nfs-version 4" for nfsd and mountd if
  NFS4_SUPPORT is set to "no" (#308661)
- drop conflicts with nfs-server (userspace) in nfs-client package
  showmount has been removed there (#309782) 
- added README.NFSv4 (#182775) 
- buildrequire nfsidmap-devel
- added split-provides for nfs-client to get nfs-client installed
  on update from older versions where this was in aaa_base (#286743)
- add Obsoletes
- update to version 1.1.0:
- package mount.nfs, umount.nfs to replace dropped nfs code
  from util-linux mount.
- removed patches:
  nfs-utils-noroot.patch
  nfs-utils-gssd-select-ccache.patch
  nfs-utils-krb5.patch
- Package split: nfs-common, nfs-server and nfs-doc
- adjust init scripts
- remove old Obsoletes/Provides:
  nfsutils (last used 2001)
  knfsd (last used 2000)
  linuxnfs (last used 1999)
- update to 1.0.12
  - Fix -n option to mountd
  - Document sensitive gids
- upstreamed patches deleted:
  nfs-utils-anon-uid32.patch 
- added e2fsprogs-devel (for libblkid)
- nhfsXXX binaries and manpages have been removed upstream
- moved omc xml file to /usr/share/omc and removed config tag
- move srvinfo.d to svcinfo.d (typo in fate entry)
- Added handling for NFSv4 bind mounts in init script (#229583)
- added nfsserver.xml to /etc/omc/srvinfo.d (fate#301835) 
- update to 1.0.10
  remove upstreamed patches:
  - nfs-utils-1.0.6-anon-exports.patch
  - export-acl.diff
  - nfs-utils-1.0.6-dep.patch
  - nfs-utils-1.0.6-doc.patch
  - nfs-utils-1.0.7-CITI_NFS4_ALL-2.dif
  - nfs-utils-1.0.7-destdir.patch
  - nfs-utils-1.0.7-gssapi.patch
  - nfs-utils-1.0.7-headtail.patch
  - nfs-utils-1.0.7-mount_type3.patch
  - nfs-utils-1.0.7-no_sync_warn_ro.patch
  - nfs-utils-1.0.7-rpcgen.patch
  - nfs-utils-1.0.7-strip.patch
  - nfs-utils-64bigendian.patch
  - nfs-utils-1.0.6-quota.patch (upstream different)
  
  partly upstreamed patches:
  - nfs-utils-1.0.6-anon-uid32.patch
  - nfs-utils-1.0.7-gssd-select-ccache.patch
  redone patches:
  - nfs-utils-noroot.patch (was: norootforbuild.diff)
  - pass -fPIE to configure instead of patch
- Fix off-by-one error in rpcgen.
- find kerberos ticket files even if /tmp on reiser (#187775) 
- fix /etc/gssapi_mech.conf for lib64 platforms (#186954) 
- added support for type 3 filehandles to mountd (#182552) 
- disable v4 support in rcnfsserver if NFS4_SUPPORT is
  not set to "yes" (#178633)
- added fix for 64bit bigendian platforms in gssd (#172605) 
- gracefully handle repeated "rcidmapd stop" calls (#169087)
- nfs-server rc-script: make force-reload do as reload does
  (#167152) 
- nfs-server rc-script: reload idmapd if NFSV4 is on (#167016)
- Make gssd and svcgssd scripts mount rpc_pipefs if not there
  (#158000) and added "Should-start: krb5kdc" to make sure
  the KDC is started first if running on the same server (#159980)
- Load RPCSEC_GSS kernel modules in rcgssd/rcsvcgssd init
  scripts (#142352)
- Enable NFSv4 by default
- converted neededforbuild to BuildRequires
- nfsserver rcscript: only mount nfsdfs if not mounted already 
- Don't strip binaries.
- fix filelist
- fix init scripts: in the stop case, a not running service
  is not an error (#134904) 
- packaging /var/lib/nfs/v4recovery directory (#133502) 
- packaging /var/lib/nfs/rpc_pipefs directory (#114103)
- modify nfs-server script to support uml case (#86624)
- added NFS4_SUPPORT and NFS_SECURITY_GSS to sysconfig.nfs
- updated the idmapd script so it honors NFS4_SUPPORT
- updated gssd script so it honors NFS_SECURITY_GSS
- added svcgssd script
- fix in init-script (do not try unmount if not mounted) (#91460) 
- Install correct init script.
- Compile with -fpie/-pie
- Enabled NFSv4 and RPCSEC_GSS support
- do not warn about sync/async for readonly exports (#78369) 
- make it build with gcc4 
- Update to nfs-utils 1.0.7.
- Make non-anonymous exports work again.
- Use BuildRoot.
- update to 1.0.7-pre2 (use 1.0.6.2 as package version) 
- disable gss and nfsv4 for now
- make anonymous exports work again (#46918)
- added sysconfig variable to allow running mountd on a
  defined port
- Fix to prevent mountd from crashing on kernel upcalls
- Fix a permission problem after using exportfs -u
- remove "exportfs -au" from rcnfsserver stop
  (kernel zaps table on last server exit anyway) (#44049)
- added patch from okir to use nobody:nogroup again by default
  for anonymous (#42288)
- remove nfslock start script
- remove nfslock dependency 
- mount nfsd filesystem if possible (#41955)
- Remove unpackaged files
- Move sm-notify to util-linux [#36737]
- remove rpc.statd completely
- add sm-notify and call it first in nfslock script (#36737)
- disable rquotad already in configure
  (no need to compile it, if we only remove it later)
- Include patch that allows Sun boxes to mount large files
- update to version 1.0.6 to fix a possible segfault in statd
- support for 2.6 kernels
- fix hed/tail calling syntax (#29644) 
- add restart_on_update/stop_on_removal macros 
- added sysconfig metadata (#28908) 
- fix compile for rquotad (unused anyway 
- add support for STATD_HOSTNAME (#28201) 
- update to 1.0.5 and adapt patches
- overflow patch already included
- part of acl patch already included 
- Switch to officially reserved bit flag for `no_acl' export
  option: the previous bit was already allocated.
- Add `no_acl' export option, replaces the nfs_permission_mode
  nfsd module parameter.
- Fixed off-by-one overflow (#27744)
- Add /var/lib/nfs to filelist
- fix file list 
- update to 1.0.3
- added sysconfig metadata (#22663) 
- rcnfsserver: moved ypbind to should-start (#18952) 
- rcnfslock: fixed typo killing daemons on "status" (#19046)
- changed nfslock from should-start to required-start in
  nfsserver rc script (is in the same package anyway)
- Fixed minor manpage issue (#18326)
- fixed symlink rcnfslock (#18171) 
- move statd and lockd to their own startscript (#17425)
- update to 1.0.1
- added prereqs 
- Help users who do not configure a domain name: when
  sending out NSM_NOTIFY strip off .local suffix if
  present.
- partial fix for http://bugzilla.suse.de/show_bug.cgi?id=16957
  (missing NSM_NOTIFY call when rebooting).
- Don't source rc.config (#17025)
- run suse_update_config
 
- fixed wrong quotes in init-script (#13939)
- ignore returncodes from killing statd and lockd (#13072) 
- sysconfig/nfs-server -> sysconfig/nfs 
- removed variable NFS_SERVER (#12742)
- moved USE_KERNEL_NFSD_NUMBER to /etc/sysconfig/nfs-server 
- up to 0.3.3
  many fixes to canonicalize hostnames in exports 
- removed nfs-version 3 detection in start-script, all kernels
  that have kernel nfsd support usually do have nfsd-v3 support
  and detection would require at least a 5 sec wait in the script 
- Fix path to init script in description [Bug #9494]
- Fix comment in runlevel section [Bug #9561]
- Make init script LSB conform [Bug #9073]
- lockd only started for 2.2 kernels instead of ignoring error 
- completed rpc.statd to /sbin move in startscript
- move rpc.lockd, rpc.statd to /sbin 
- update to 0.3.1
- ignore lockd error messages
- dump filedescriptors before starting kernel threads 
- renamed package to nfs-utils
- Obsoletes and Provides nfsutils 
- fixed conflicts: nfs-server (#5548)
- don't fail if lockd can't be started 
- fix broken symlinks for %{_mandir}/rpc.{nfs,mount,stat}d.8.gz
- Move new initscript to /etc/init.d
- exports.4 should be exports.5
- removed k-prefix 
- added exports.4 man-page 
- up to 0.2.1
- update to 0.2
- fix for nfsserver.init (check for v3) 
- ugraded from knfsd to successor package nfs-utils (v.0.1.9.1) 
- fixed checkproc call in init script
- Fix missing format string in syslog call (next rpc.statd security
  problem)
- Fix problem with NULL h_alias field (rpc.statd security problem)
- Change conflict from itself to nfsserv
- Fix rcnfsserver link
- Add rc.config variables and init script from aaa_base
- Fill out Copyright and Group field
- Remove rquotad from file list, it is already in the quota 
  package [Bug 1571]
- manpages to /usr/share using macro 
- renamed package from linuxnfs to knfsd 
- Fixed filelist (%ghost)
- upgraded to knsfd-1.5.2. Added klockd to file list.
  Ditto for new /dev/nfsd_netlink.
- ran old prepare_spec on spec file to switch to new prepare_spec.
- added -fsigned-char to CFLAGS (PPC)
- update to 1.4.6
- update to version 1.4
- update to version 1.3.3b 
- update to version 1.2
- update to 981122
- use lx_hack
- added bugfix for statd (by HJL)
- update to knfsd-981014
- initial package / for use a 2.1 kernel with knfsd support is needed

OBS-URL: https://build.opensuse.org/request/show/1075113
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=273
2023-03-29 07:07:17 +00:00
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
Dominique Leuenberger
86453a4da0 Accepting request 1063330 from Base:System
- 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/request/show/1063330
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=176
2023-02-07 17:47:24 +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
Dominique Leuenberger
8f8dc2c589 Accepting request 1037197 from Base:System
- 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/request/show/1037197
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=175
2022-11-23 08:47:31 +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
Dominique Leuenberger
6d3d5bb751 Accepting request 999331 from Base:System
- 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/request/show/999331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=174
2022-08-27 09:47:52 +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
Richard Brown
614384561c Accepting request 995255 from 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:
  - gcc12-fix.patch
  - 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/995255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=173
2022-08-17 16:16:34 +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
Dominique Leuenberger
81189f62a0 Accepting request 988230 from Base:System
- 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/request/show/988230
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=172
2022-07-12 09:11:53 +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
Dominique Leuenberger
6fbf282f2b Accepting request 981442 from Base:System
- 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/request/show/981442
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=171
2022-06-10 13:57:18 +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
Dominique Leuenberger
61638f20fe Accepting request 977244 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/977244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=170
2022-05-16 16:07:33 +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
Dominique Leuenberger
38734b90f0 Accepting request 963727 from Base:System
- drop reenable-nfsv2.patch (poo#106679)

OBS-URL: https://build.opensuse.org/request/show/963727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=169
2022-03-23 19:15:49 +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
Dominique Leuenberger
416e933f87 Accepting request 960295 from Base:System
- add reenable-nfsv2.patch for reverting nfsv2 deprecation until
  test coverage is fixed  (poo#106679)

- Add gcc12-fix.patch upstream fix for GCC 12 compiler.

- 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/960295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=168
2022-03-11 20:39:59 +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
Dominique Leuenberger
357051827a Accepting request 928432 from Base:System
OBS-URL: https://build.opensuse.org/request/show/928432
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=167
2021-11-04 15:16:15 +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
Dominique Leuenberger
f214b360ae Accepting request 927402 from Base:System
- 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/request/show/927402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=166
2021-10-29 20:33:36 +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
Dominique Leuenberger
99a02911ea Accepting request 917833 from Base:System
- 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/request/show/917833
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=165
2021-09-13 14:24:24 +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
Richard Brown
fd7c3c1d4b Accepting request 911141 from Base:System
- 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)

- 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/911141
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=164
2021-08-12 07:01:15 +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
Dominique Leuenberger
a62ae64dfa Accepting request 895272 from 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 (forwarded request 895268 from pevik)

OBS-URL: https://build.opensuse.org/request/show/895272
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=163
2021-06-01 08:32:54 +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
Dominique Leuenberger
d5c81f6bb7 Accepting request 891928 from Base:System
- Add 0001-Replace-all-var-run-with-run.patch
  Use /run instead of /var/run
  (bsc#1185170)

OBS-URL: https://build.opensuse.org/request/show/891928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=162
2021-05-12 17:31:32 +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
Richard Brown
3709bdfad4 Accepting request 878422 from Base:System
- Include nfsd kernel module Requires (bsc#1089118) (forwarded request 878304 from gmoro)

OBS-URL: https://build.opensuse.org/request/show/878422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=161
2021-03-16 14:43:37 +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
Dominique Leuenberger
ca919164c0 Accepting request 877825 from 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/877825
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=160
2021-03-11 19:07:14 +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
Dominique Leuenberger
7bbe1ec571 Accepting request 847956 from 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. (forwarded request 847812 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/847956
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=159
2020-11-15 14:24:15 +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
Dominique Leuenberger
31b2cc2d5c Accepting request 844948 from 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 (forwarded request 844899 from pevik)

OBS-URL: https://build.opensuse.org/request/show/844948
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=158
2020-11-02 13:03:49 +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
Dominique Leuenberger
41babc7a6b Accepting request 838679 from Base:System
- Remove nfs-doc package.  The documentation is 20 years old
  and barely relevant.
  (bsc#1171448)

- Update to version 2.5.1
  Dropped patch accepted upstream:
  0001-conffile-Don-t-give-warning-for-optional-config-file.patch
  - 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/request/show/838679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=157
2020-10-03 16:53:56 +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
Dominique Leuenberger
d5b0642d2a Accepting request 817957 from Base:System
OBS-URL: https://build.opensuse.org/request/show/817957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=156
2020-07-02 21:54:33 +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
Dominique Leuenberger
2316e32c5b Accepting request 810693 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/810693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=155
2020-06-11 12:39:17 +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
Dominique Leuenberger
c984125dc7 Accepting request 791592 from Base:System
- Remove obsolete useradd call (forwarded request 791188 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/791592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=154
2020-04-09 21:14:00 +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
Dominique Leuenberger
a99cae137d Accepting request 788739 from Base:System
- Improve the hack to avoid python dependencies.
  A new python script had been added since that hack was written.
  (boo#1166067)

- 0001-conffile-Don-t-give-warning-for-optional-config-file.patch
  Support optional include files correctly
  (boo#1164619)

- 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/788739
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=153
2020-03-31 15:31:47 +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
Dominique Leuenberger
d3ffab3b4c Accepting request 784479 from Base:System
- statd-user.conf: create user via sysusers.d template
- Use ordering for systemd instead of hard requires (forwarded request 782892 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/784479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=152
2020-03-16 09:16:01 +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
Dominique Leuenberger
71ae7528f6 Accepting request 773539 from 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) (forwarded request 773318 from pevik)

OBS-URL: https://build.opensuse.org/request/show/773539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=151
2020-02-15 21:24:19 +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
Dominique Leuenberger
dae2dd9a7f Accepting request 750032 from Base:System
- 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/request/show/750032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=150
2019-11-23 22:46:21 +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
Dominique Leuenberger
d4d7191993 Accepting request 732555 from Base:System
- 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)

- Don't make /var/lib/nfs owned by statd.
  Only sm and sm.bak need to be accessible by
  statd or sm-notify after they drop privs.
  Providing they get created, the parent
  directory can be root-owned.
- 0007-statd-user-from-sm
  Change rpc.statd and sm-notify to take uid from the sm
  directory.
  (bsc#1150733 CVE-2019-3689)

- 0006-nfs.conf-silence-include-error.patch
 Avoid an unhelpful warning (bsc#1150807)

OBS-URL: https://build.opensuse.org/request/show/732555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=149
2019-09-24 23:35:24 +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
Dominique Leuenberger
3df2199cbd Accepting request 727642 from Base:System
- 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.

- removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced by
  firewalld, see [1].
  [1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html

- remove libnfsidmap1 dependency for nfs-client.
  It isn't needed.

- 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.

- 0004-nfsidmap-honour-with-pluginpath-for-instalation.patch
  Allow plugins to be installed properly
- nfs-utils.spec
  Package shared library correctly

- 0001-nfs.conf-allow-empty-assignments.patch
  Fix regression due to unnecessary "error" messages from nfs.conf
- 0002-Let-systemd-know-when-rpc.statd-is-needed.patch
  0003-systemd-run-statd-notify-even-when-nfs-client-isn-t-.patch
  Fixes for systemd integration
  (bsc#1116221)

OBS-URL: https://build.opensuse.org/request/show/727642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=148
2019-09-09 10:32:22 +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
Neil Brown
5aba4a2d55 - 0001-nfs.conf-allow-empty-assignments.patch
Fix regression due to unnecessary "error" messages from nfs.conf
- 0002-Let-systemd-know-when-rpc.statd-is-needed.patch
  0003-systemd-run-statd-notify-even-when-nfs-client-isn-t-.patch
  Fixes for systemd integration
  (bsc#1116221)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=197
2018-12-03 02:51:05 +00:00
Neil Brown
3a9d86ffbe Delete patches that have been included upstream:
0001-conffile-ignore-empty-environment-variables.patch
    0002-mount-call-setgroups-before-setuid.patch
    0003-nfs-server-generator-handle-noauto-mounts-correctly.patch
    nsm-headers.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=196
2018-10-26 03:00:29 +00:00
Neil Brown
5294cf55fe Add missing config option - with-pluginpath
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=195
2018-10-25 22:56:02 +00:00
Neil Brown
45f817e83b - New version: nfs-utils-2.3.3
The nfsidmap library source has been merged into
  nfs-utils, so this source package now makes
  nfsidmap and nfsidmap-devel packages.
  New program "nfsconf" improves access to nfs config files.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=194
2018-10-25 05:36:26 +00:00
Dominique Leuenberger
bc7ce2fa93 Accepting request 628535 from Base:System
OBS-URL: https://build.opensuse.org/request/show/628535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=147
2018-08-17 21:58:03 +00:00
3e9193b0eb Accepting request 628383 from home:Andreas_Schwab:glibc:rebuild
- sysmacros.patch: include <sys/sysmacros.h> for major

OBS-URL: https://build.opensuse.org/request/show/628383
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=192
2018-08-10 07:00:58 +00:00
Dominique Leuenberger
dc6a634f72 Accepting request 625583 from Base:System
- nfs.conf: spell NFSV4LEASETIME correctly.
  (bsc#1098532)

OBS-URL: https://build.opensuse.org/request/show/625583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=146
2018-08-02 12:49:45 +00:00
Neil Brown
bece568951 Accepting request 626963 from home:simotek:branches:Base:System
- use packageand for nfs documentation rather then always
  installing nfs-doc as part of the documentation pattern.

OBS-URL: https://build.opensuse.org/request/show/626963
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=190
2018-08-02 02:05:23 +00:00
Neil Brown
f3563f6114 - nfs.conf: spell NFSV4LEASETIME correctly.
(bsc#1098532)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=189
2018-07-26 23:06:29 +00:00
Dominique Leuenberger
3943d6b585 Accepting request 621750 from Base:System
OBS-URL: https://build.opensuse.org/request/show/621750
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=145
2018-07-13 08:18:39 +00:00
100b3fb179 Accepting request 621336 from home:kukuk:branches:Base:System
- Create files in /var/lib/nfs via tmpfiles.d [bsc#1100404],
  [FATE#325524]

OBS-URL: https://build.opensuse.org/request/show/621336
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=187
2018-07-09 16:39:53 +00:00
Dominique Leuenberger
283d38551d Accepting request 546722 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/546722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=144
2017-12-06 07:47:40 +00:00
Neil Brown
148382107e Accepting request 544689 from home:RBrownSUSE:branches:Base:System
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544689
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=185
2017-11-23 22:53:19 +00:00
Dominique Leuenberger
a9530f0412 Accepting request 532009 from Base:System
- fix incorrect dependency in
  /usr/lib/systemd/system/nfs-client.target.d/nfs.conf
  When yast restarts "nfs" it should propagate to nfs-client,
  but doesn't.
  (boo#1053691)

OBS-URL: https://build.opensuse.org/request/show/532009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=143
2017-10-13 12:03:21 +00:00
Neil Brown
e4a9b22470 - fix incorrect dependency in
/usr/lib/systemd/system/nfs-client.target.d/nfs.conf
  When yast restarts "nfs" it should propagate to nfs-client,
  but doesn't.
  (boo#1053691)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=183
2017-10-06 04:24:02 +00:00
Yuchen Lin
4e5019372c Accepting request 513638 from Base:System
- nsm-headers.patch: add missing &lt;stdint.h&gt; (forwarded request 513155 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/513638
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=142
2017-08-10 11:45:52 +00:00
Neil Brown
a3b584ade6 Accepting request 513155 from home:Andreas_Schwab:glibc:rebuild
- nsm-headers.patch: add missing <stdint.h>

OBS-URL: https://build.opensuse.org/request/show/513155
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=181
2017-08-01 04:45:23 +00:00
Dominique Leuenberger
f266bdf49a Accepting request 493620 from Base:System
- Prerequire needed group "nogroup" (forwarded request 493421 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/493620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=141
2017-05-10 18:33:28 +00:00
Neil Brown
b2e355e02f Accepting request 493421 from home:kukuk:branches:Base:System
- Prerequire needed group "nogroup"

OBS-URL: https://build.opensuse.org/request/show/493421
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=179
2017-05-09 00:31:34 +00:00
Dominique Leuenberger
985935d19b Accepting request 456559 from Base:System
- update upstream version from 1.3.4 to 2.1.1
  The significant update is that configuration can
  now be read from a central /etc/nfs.conf file, and
  it can include other files such as /etc/sysconfig/nfs
  This means that the old nfs-config.service systemd
  unit is no longer needed.
- /etc/nfs.conf file created to import all sysconfig
  settings except *_OPTIONS directly into running code.
- dropins created to pass *_OPTIONS sysconfig setting to
  the various daemons.
- various specfile improvements, such as using "-D" in
  "install" commands, and adding "verify_permissions".
- "xtab" has not been needed for years and has now been remove.
- sysconfig.nfs updated, particular the ServiceRestart
  declarations have been tuned for systemd units.
- 0003-nfs-server-generator-handle-noauto-mounts-correctly.patch
  Fix the nfs-server-generator so that mounts marked "noauto"
  are not automatically mounted when NFS exported.
  (bsc#1019211)
- 0001-conffile-ignore-empty-environment-variables.patch
  0002-mount-call-setgroups-before-setuid.patch
  Other minor fixes found during testing.
- REMOVED 0001-Make-location-of-nfs-utils_env.sh-configurable.patch
  now included upstream

OBS-URL: https://build.opensuse.org/request/show/456559
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=140
2017-02-16 15:41:48 +00:00
Neil Brown
5073990325 - update upstream version from 1.3.4 to 2.1.1
The significant update is that configuration can
  now be read from a central /etc/nfs.conf file, and
  it can include other files such as /etc/sysconfig/nfs
  This means that the old nfs-config.service systemd
  unit is no longer needed.
- /etc/nfs.conf file created to import all sysconfig
  settings except *_OPTIONS directly into running code.
- dropins created to pass *_OPTIONS sysconfig setting to
  the various daemons.
- various specfile improvements, such as using "-D" in
  "install" commands, and adding "verify_permissions".
- "xtab" has not been needed for years and has now been remove.
- sysconfig.nfs updated, particular the ServiceRestart
  declarations have been tuned for systemd units.
- 0003-nfs-server-generator-handle-noauto-mounts-correctly.patch
  Fix the nfs-server-generator so that mounts marked "noauto"
  are not automatically mounted when NFS exported.
  (bsc#1019211)
- 0001-conffile-ignore-empty-environment-variables.patch
  0002-mount-call-setgroups-before-setuid.patch
  Other minor fixes found during testing.
- REMOVED 0001-Make-location-of-nfs-utils_env.sh-configurable.patch
  now included upstream

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=177
2017-02-08 02:43:23 +00:00
Dominique Leuenberger
c6ed9126ee Accepting request 454361 from Base:System
- Check for existence of "statd" user before creating it,
  and do not suppress errors about it.
- Ensure units passed to %service_* are full filenames.
- Pass all units (non-templated) to %service_*. (forwarded request 454101 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/454361
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=139
2017-02-07 10:57:50 +00:00
Neil Brown
00060a4988 Accepting request 454101 from home:jengelh:branches:Base:System
- Check for existence of "statd" user before creating it,
  and do not suppress errors about it.
- Ensure units passed to %service_* are full filenames.
- Pass all units (non-templated) to %service_*.

OBS-URL: https://build.opensuse.org/request/show/454101
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=175
2017-02-03 05:52:51 +00:00
Dominique Leuenberger
ed2bf79205 Accepting request 440332 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/440332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=138
2016-11-17 12:09:18 +00:00
e3d5b9e382 Accepting request 440248 from home:dimstar:Factory
This resolves the issues reported when building against the latest systemd package (either you are responsible to pull in shadow or you can't rely on it being there)

OBS-URL: https://build.opensuse.org/request/show/440248
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=173
2016-11-15 09:04:30 +00:00
Dominique Leuenberger
ddc813cf09 Accepting request 437583 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/437583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=137
2016-11-02 11:28:48 +00:00
Neil Brown
c60ef8a1de - move rpc.svcgssd and corresponding man page from
nfs-client package to nfs-kernel-server.
  For NFSv4.0 this is needed on client as well as
  the server to support the back-channel.
  (bsc#1005609)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=171
2016-10-21 00:10:32 +00:00
Dominique Leuenberger
9d338a5aac Accepting request 420772 from Base:System
- 0001-Make-location-of-nfs-utils_env.sh-configurable.patch
  1.3.4 moved the config script location to somewhere
  that doesn't exist on openSUSE.  Move it somewhere
  better and install it there.
  (bsc#990356)

OBS-URL: https://build.opensuse.org/request/show/420772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=136
2016-08-25 07:50:38 +00:00
Neil Brown
29a67f267e - 0001-Make-location-of-nfs-utils_env.sh-configurable.patch
1.3.4 moved the config script location to somewhere
  that doesn't exist on openSUSE.  Move it somewhere
  better and install it there.
  (bsc#990356)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=169
2016-08-21 06:18:06 +00:00
Dominique Leuenberger
f911d1d37b Accepting request 418051 from Base:System
- nfs-utils-1.3.4.tar.xz
  New upstream release.  Lots of bugfixes, no significant
  functionality changes
- delete 0001-Fix-protocol-minor-version-fall-back.patch
  delete 0001-close-the-syslog-fd-in-daemon_init.patch
  delete 0001-mount-run-START_STATD-fully-as-root.patch
  delete 0001-mount.nfs-hide-EBUSY-errors.patch
  delete 0001-mount.nfs-trust-the-exit-status-of-start_statd.patch
  delete 0001-systemd-Decouple-the-starting-and-stopping-of-rpcbin.patch
  delete 0002-systemd-unit-files-fix-up-dependencies-on-rpcbind.patch
  delete nfs-utils-no-svcgss.service
  delete nfs-utils-uninit-mem.patch
  All patches are included in 1.3.4

- nfs-utils_env.sh
  Fix some problems with version_params.
  Various misspellings and remove the possiblity
  that V4 is both disabled and enabled.
  (bsc#990356)

- Drop OMC svcinfo file, nowdays useless

- Sort a bit with spec-cleaner to get uptodate spec
- Convert deps from regular devels to pkgconfig style

OBS-URL: https://build.opensuse.org/request/show/418051
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=135
2016-08-18 07:15:14 +00:00
Neil Brown
80d063fbaf - nfs-utils-1.3.4.tar.xz
New upstream release.  Lots of bugfixes, no significant
  functionality changes
- delete 0001-Fix-protocol-minor-version-fall-back.patch
  delete 0001-close-the-syslog-fd-in-daemon_init.patch
  delete 0001-mount-run-START_STATD-fully-as-root.patch
  delete 0001-mount.nfs-hide-EBUSY-errors.patch
  delete 0001-mount.nfs-trust-the-exit-status-of-start_statd.patch
  delete 0001-systemd-Decouple-the-starting-and-stopping-of-rpcbin.patch
  delete 0002-systemd-unit-files-fix-up-dependencies-on-rpcbind.patch
  delete nfs-utils-no-svcgss.service
  delete nfs-utils-uninit-mem.patch
  All patches are included in 1.3.4

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=167
2016-08-10 03:00:21 +00:00
Neil Brown
4c2fe78df1 - nfs-utils_env.sh
Fix some problems with version_params.
  Various misspellings and remove the possiblity
  that V4 is both disabled and enabled.
  (bsc#990356)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=166
2016-08-09 23:33:41 +00:00
Neil Brown
b15fc87006 Accepting request 417414 from home:scarabeus_iv:branches:Base:System
- Drop OMC svcinfo file, nowdays useless

- Sort a bit with spec-cleaner to get uptodate spec
- Convert deps from regular devels to pkgconfig style

OBS-URL: https://build.opensuse.org/request/show/417414
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=165
2016-08-09 23:31:36 +00:00
Dominique Leuenberger
b14cb124c7 Accepting request 397797 from Base:System
- 0001-systemd-Decouple-the-starting-and-stopping-of-rpcbin.patch
  0002-systemd-unit-files-fix-up-dependencies-on-rpcbind.patch
 Fix systemd dependencies to ensure rpcbind is started when needed.
 (bsc#975265)

OBS-URL: https://build.opensuse.org/request/show/397797
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=134
2016-06-02 10:48:50 +00:00
Neil Brown
247325d532 - 0001-systemd-Decouple-the-starting-and-stopping-of-rpcbin.patch
0002-systemd-unit-files-fix-up-dependencies-on-rpcbind.patch
 Fix systemd dependencies to ensure rpcbind is started when needed.
 (bsc#975265)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=163
2016-05-24 22:29:04 +00:00
Dominique Leuenberger
c1b7e57354 Accepting request 391216 from Base:System
- 0001-close-the-syslog-fd-in-daemon_init.patch
  Without this, tracing doesn't work
- 0001-mount.nfs-trust-the-exit-status-of-start_statd.patch
  (bsc#945937)
- 0001-mount-run-START_STATD-fully-as-root.patch
  (bsc#969152)

OBS-URL: https://build.opensuse.org/request/show/391216
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=133
2016-04-28 14:50:50 +00:00
Neil Brown
d863115dc1 - 0001-close-the-syslog-fd-in-daemon_init.patch
Without this, tracing doesn't work
- 0001-mount.nfs-trust-the-exit-status-of-start_statd.patch
  (bsc#945937)
- 0001-mount-run-START_STATD-fully-as-root.patch
  (bsc#969152)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=161
2016-04-22 00:14:37 +00:00
Dominique Leuenberger
7a034a6566 Accepting request 384348 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/384348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=132
2016-04-11 07:12:20 +00:00
35d5e5d3ec Accepting request 384030 from home:kukuk:branches:Base:System
- Drop unused BuildRequires for libgssglue, not used with tirpc
- Drop unused BuildRequires for librpcsecgss, tirpc version is used

OBS-URL: https://build.opensuse.org/request/show/384030
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=159
2016-04-05 07:54:04 +00:00
Dominique Leuenberger
4fbe0d90ce Accepting request 363875 from Base:System
- 0001-mount.nfs-hide-EBUSY-errors.patch
  Stop "mount -a -t nfs" from complaining if filesystem
  already mounted (bsc#950340)

OBS-URL: https://build.opensuse.org/request/show/363875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=131
2016-03-07 12:25:44 +00:00
Neil Brown
c1b592fec3 - 0001-mount.nfs-hide-EBUSY-errors.patch
Stop "mount -a -t nfs" from complaining if filesystem
  already mounted (bsc#950340)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=157
2016-03-02 03:54:52 +00:00
Dominique Leuenberger
64fe6dcef9 Accepting request 361326 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/361326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=130
2016-02-28 01:28:14 +00:00
Neil Brown
f26279da73 - 0001-Fix-protocol-minor-version-fall-back.patch
(bnc#959211)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=155
2016-02-18 06:04:53 +00:00
Neil Brown
1919c1cc48 - nfs.service: don't mount/unmount nfs filesystems.
systemd does this automatically.  Trying to do it here too
  causes timing races (boo#963616)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=154
2016-02-17 03:22:25 +00:00
Dominique Leuenberger
c00fe84b3a Accepting request 347191 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/347191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=129
2015-12-03 12:29:33 +00:00
d187bddd91 Accepting request 346397 from home:Andreas_Schwab:Factory
- nfs-utils-uninit-mem.patch: fix use of uninitialized memory (bsc#956743)

OBS-URL: https://build.opensuse.org/request/show/346397
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=152
2015-12-02 15:44:05 +00:00
Stephan Kulow
81c55c47d0 Accepting request 345042 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/345042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=128
2015-11-24 21:31:47 +00:00
ae7db45d3d Accepting request 343285 from home:posophe:branches:Base:System
some improvements

OBS-URL: https://build.opensuse.org/request/show/343285
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=150
2015-11-18 13:25:39 +00:00
Dominique Leuenberger
a6ee7ecd83 Accepting request 343060 from Base:System
- Use proper annotations for service restart (bsc#952055).

- update upstream version from 1.3.1 to 1.3.3.
  This contains lots of bugfixes but not significant new features.
- delete 0001-nfs-client.target-Removed-a-ordering-cycle-with-nfs-.patch
  delete 0002-Centralize-dependencies-on-the-auth-unit.patch
   both included upstream
- nfs-utils-no-svcgss.service
  fix minor make-install issue (has since been accepted upstream)
- use "make install" to install systemd files instead of hand-code.
- retain rpc-svcgssd for now until gss-proxy is packaged.

OBS-URL: https://build.opensuse.org/request/show/343060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=127
2015-11-12 18:36:57 +00:00
Neil Brown
4953e33d48 Improve changelog
- delete 0001-nfs-client.target-Removed-a-ordering-cycle-with-nfs-.patch
  delete 0002-Centralize-dependencies-on-the-auth-unit.patch
   both included upstream
- nfs-utils-no-svcgss.service
  fix minor make-install issue (has since been accepted upstream)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=148
2015-11-08 22:19:55 +00:00
Neil Brown
2894dba1e8 Accepting request 342752 from home:jeff_mahoney:branches:Base:System
- Use proper annotations for service restart (bsc#952055).

OBS-URL: https://build.opensuse.org/request/show/342752
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=147
2015-11-07 03:23:16 +00:00
Dominique Leuenberger
e85c6d7c9f Accepting request 340327 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/340327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=126
2015-10-28 16:17:43 +00:00
Neil Brown
31ae0b926a - update upstream version from 1.3.1 to 1.3.3.
This contains lots of bugfixes but not significant new features.
- use "make install" to install systemd files instead of hand-code.
- retain rpc-svcgssd for now until gss-proxy is packaged.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=145
2015-10-22 06:46:26 +00:00
Neil Brown
02b9f027c5 - nfs-utils_env.sh: honour RPC_PIPEFS_DIR setting.
It is currently ignored due to a logic error.
  (bsc#947852)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=144
2015-10-15 03:35:09 +00:00
Stephan Kulow
c4af0a6187 Accepting request 335648 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/335648
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=125
2015-10-12 08:00:33 +00:00
Neil Brown
a69d337d93 Add bsc reference
This allows "systemctl reload nfsserver" to work.
  PropagatesReloadTo but itself is not enough if this
  unit doesn't have it's own Reload handler.
  (bsc#97296)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=142
2015-09-25 02:51:53 +00:00
Neil Brown
e22574979a - nfsserver.service. Provide ExecReload directive.
This allows "systemctl reload nfsserver" to work.
 PropagatesReloadTo but itself is not enough if this
 unit doesn't have it's own Reload handler.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=141
2015-09-24 02:31:01 +00:00
Stephan Kulow
7f805e900d Accepting request 324736 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/324736
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=124
2015-08-25 05:17:33 +00:00
Neil Brown
a3298265f8 Update sysconfig setting to match SLES
- sysconfig.nfs: add STATD_PORT, STATD_HOSTNAME,
  LOCKD_TCPPORT, LOCKD_UDPPORT
- nfs-utils-env.sh: handle STATD_PORT, STATD_HOSTNAME,
  LOCKD_TCPPORT, LOCKD_UDPPORT
  Also handle NFSV4LEASETIME, which was missing.
  (bsc#941645)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=139
2015-08-13 23:45:51 +00:00
Dominique Leuenberger
5551802674 Accepting request 321531 from Base:System
- nfs.service: improve back-compatibility with /etc/init.d/nfs
 + mount and unmount nfs filesystems on start/stop.
 + keep status as "good" when everything is running.
 (bnc#911986)

OBS-URL: https://build.opensuse.org/request/show/321531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=123
2015-08-11 06:24:56 +00:00
Neil Brown
31e1bc463e - nfs.service: improve back-compatibility with /etc/init.d/nfs
+ mount and unmount nfs filesystems on start/stop.
 + keep status as "good" when everything is running.
 (bnc#911986)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=137
2015-08-10 04:31:12 +00:00
Stephan Kulow
d9fb88e93e Accepting request 265210 from Base:System
Biggest changes here is full systemd integration.

- fix bashisms in pre/post scripts

- new upstream nfs-utils-1.3.1
  This brings numerous fixes, particularly to gssd and
  nfsdcltrack.  It incorporates all the upstreamable
  patches we had:
- Delete  nfsdcltrack.sbin.patch
- Delete  start-statd.patch
- 0001-nfs-client.target-Removed-a-ordering-cycle-with-nfs-.patch
  0002-Centralize-dependencies-on-the-auth-unit.patch
  Patches from 1.3.2-rc, which look useful
- Convert from /etc/init.d startup scripts to full
  systemd integration.
  The upstream standard names are "nfs-client" and "nfs-server"
  rather than "nfs" and "nfsserver", so local "nfs" "nfsserver"
  aliases are created and "rcXXX" links are provided for all 4.

OBS-URL: https://build.opensuse.org/request/show/265210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=122
2015-07-20 09:16:51 +00:00
Neil Brown
35ecbc8e59 Accepting request 260515 from home:Ledest:misc
fix bashisms in pre/post scripts

OBS-URL: https://build.opensuse.org/request/show/260515
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=135
2014-11-09 22:34:50 +00:00
Neil Brown
56601d6192 - new upstream nfs-utils-1.3.1
This brings numerous fixes, particularly to gssd and
  nfsdcltrack.  It incorporates all the upstreamable
  patches we had:
- Delete  nfsdcltrack.sbin.patch
- Delete  start-statd.patch
- 0001-nfs-client.target-Removed-a-ordering-cycle-with-nfs-.patch
  0002-Centralize-dependencies-on-the-auth-unit.patch
  Patches from 1.3.2-rc, which look useful
- Convert from /etc/init.d startup scripts to full
  systemd integration.
  The upstream standard names are "nfs-client" and "nfs-server"
  rather than "nfs" and "nfsserver", so local "nfs" "nfsserver"
  aliases are created and "rcXXX" links are provided for all 4.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=134
2014-11-05 00:53:10 +00:00
Stephan Kulow
12471cd073 Accepting request 248431 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/248431
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=121
2014-09-18 05:12:08 +00:00
Neil Brown
0ef7cdb5f5 - nfsserver.init: allow $NFSD_V4_GRACE to set the lease
time if NFSV4LEASETIME is not set, as some documentation
  suggests this.
  Also set NFSv4 and NLM grace time to make the NFSv4 lease time
  as having them different at boot time doesn't make sense.
  (bnc#892809)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=132
2014-09-04 02:58:00 +00:00
Stephan Kulow
7014cf0f69 Accepting request 240874 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/240874
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=119
2014-07-16 14:36:23 +00:00
Stephan Kulow
4b6a5aedc9 Accepting request 239412 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/239412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=118
2014-07-12 15:14:18 +00:00
Neil Brown
1c7c54a552 - Remove mkintird scripts again. "libguestfs" now includes
them so nfs-utils doesn't need to.
  (bnc#883876)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=129
2014-07-07 01:58:24 +00:00
Neil Brown
34a37c41d7 - add mkinitrd scripts back in. They are needed by
"guestfs"  See bnc#883873
  (bnc#883876)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=128
2014-06-26 02:37:12 +00:00
Stephan Kulow
1f16da4443 Accepting request 236714 from Base:System
- Use start-statd and rpc-statd.service from upstream for running statd.
  Our start-statd doesn't work in a systemd environment (bnc#852984)
- start-statd.patch - needed to make upstream start-statd work properly.
- use .xz from upstream, that is what kernel.org prefers and it is smaller

- Remove 0001-nfsidmap-Keys-need-to-be-invalidated-instead-of-revo.patch
  Now that keyutils has been updated in Factory, this patch
  is no longer needed.

- Check if systemd is listen on local socket 111 to trigger the
  start of the rpcbind.service on demand (bnc#860246)
- There exists only nfs-utils-1.3.0.tar.gz at
  http://kernel.org/pub/linux/utils/nfs-utils/1.3.0/

- New upstream version 1.3.0.
  Includes all our bugfix patches except 1.
  Adds assorted other bugfixes and improvements including
  initial support for NFSv4.2
  Prepares the way for better systemd integration.
  Discards useless programs gss_clnt_send_err and gss_destroy_creds
- Removes: 0001-mountd-Fix-is_subdirectory-again.patch
- Removes: 0002-gssd-Fix-recent-fix-to-Avoid-DNS-reverse-resolution-.patch
- Removes: 0003-Fix-handling-of-preferred-realm-command-line-option.patch
- Removes: 0004-nfsiostat-restore-output-format.patch
- Removes: 0005-gssd-don-t-give-up-on-machine-credential-if-hostname.patch
- Removes: 0006-gssd-fixed-typo-in-machine-cred-name.patch
- Removes: skip-on-ENOENT.patch
- Removes: mountd-fix-bug-affecting-exports-of-dirs-with-64bit-.patch
- Removes: exportfs-exit-with-error-code-if-there-was-any-error.patch
- Removes: exportfs-report-failure-if-asked-to-unexport-somethi.patch

OBS-URL: https://build.opensuse.org/request/show/236714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=117
2014-06-18 08:59:26 +00:00
Neil Brown
b5fa7a0071 - start-statd.patch - needed to make upstream start-statd work properly.
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=126
2014-06-10 09:37:22 +00:00
Neil Brown
cca6a29bd3 - Use start-statd and rpc-statd.service from upstream for running statd.
Our start-statd doesn't work in a systemd environment (bnc#852984)
- use .xz from upstream, that is what kernel.org prefers and it is smaller

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=125
2014-06-10 07:43:48 +00:00
Neil Brown
9b8e2bda9d Forgot to actually remove the patch which is nolonger needed
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=124
2014-06-04 10:57:58 +00:00
Neil Brown
73296a9540 - Remove 0001-nfsidmap-Keys-need-to-be-invalidated-instead-of-revo.patch
Now that keyutils has been updated in Factory, this patch
  is no longer needed.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=123
2014-06-04 02:05:53 +00:00
Dr. Werner Fink
41c0ace2a4 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=122
2014-06-03 13:55:45 +00:00
Dr. Werner Fink
83a4726236 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=121
2014-06-03 12:56:14 +00:00
Stephan Kulow
fd209d90ce Accepting request 233659 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/233659
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=116
2014-05-14 08:50:22 +00:00
Neil Brown
eb9980846b - New upstream version 1.3.0.
Includes all our bugfix patches except 1.
  Adds assorted other bugfixes and improvements including
  initial support for NFSv4.2
  Prepares the way for better systemd integration.
  Discards useless programs gss_clnt_send_err and gss_destroy_creds
- Removes: 0001-mountd-Fix-is_subdirectory-again.patch
- Removes: 0002-gssd-Fix-recent-fix-to-Avoid-DNS-reverse-resolution-.patch
- Removes: 0003-Fix-handling-of-preferred-realm-command-line-option.patch
- Removes: 0004-nfsiostat-restore-output-format.patch
- Removes: 0005-gssd-don-t-give-up-on-machine-credential-if-hostname.patch
- Removes: 0006-gssd-fixed-typo-in-machine-cred-name.patch
- Removes: skip-on-ENOENT.patch
- Removes: mountd-fix-bug-affecting-exports-of-dirs-with-64bit-.patch
- Removes: exportfs-exit-with-error-code-if-there-was-any-error.patch
- Removes: exportfs-report-failure-if-asked-to-unexport-somethi.patch
- Removes: gssd-mount-hang-fix.patch
- Removes: udp-fallback-fix.patch
- Removes: fedfs-lib-name.patch
- 0001-nfsidmap-Keys-need-to-be-invalidated-instead-of-revo.patch
 This upstream patch is currently reverted until we get a newer version
 of keyutils.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=119
2014-05-14 02:46:47 +00:00
Neil Brown
224b6cdc64 - nfsdcltrack_sbin.patch
The kernel expects nfsdcltrack to be in /sbin,
  so we must put it there.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=118
2014-05-06 00:52:31 +00:00
Stephan Kulow
aaeabf3d3b Accepting request 230414 from Base:System
- Remove mkinitrd bits -&gt; we use dracut now which already has
  nfs stuff provided in its package in:
  /usr/lib/dracut/modules.d/95nfs/
  Remove sources:
    - mkinitrd-boot.sh
    - mkinitrd-setup.sh (forwarded request 230357 from trenn)

OBS-URL: https://build.opensuse.org/request/show/230414
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=115
2014-04-23 15:28:11 +00:00
Neil Brown
1077c70f4c Accepting request 230357 from home:trenn:branches:Base:System
- Remove mkinitrd bits -> we use dracut now which already has
  nfs stuff provided in its package in:
  /usr/lib/dracut/modules.d/95nfs/
  Remove sources:
    - mkinitrd-boot.sh
    - mkinitrd-setup.sh

OBS-URL: https://build.opensuse.org/request/show/230357
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=116
2014-04-16 23:26:23 +00:00
Stephan Kulow
ad9796d0fd Accepting request 226621 from Base:System
- properly rename patches:
  udp-fallback.fix -> udp-fallback-fix.patch
  fedfs-lib-name -> fedfs-lib-name.patch
  gssd-mount-hang-fix -> gssd-mount-hang-fix.patch (forwarded request 225529 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/226621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=114
2014-03-20 05:53:35 +00:00
Stephan Kulow
09250e59f3 Accepting request 225529 from home:sleep_walker:branches:Base:System
- properly rename patches:
  udp-fallback.fix -> udp-fallback-fix.patch
  fedfs-lib-name -> fedfs-lib-name.patch
  gssd-mount-hang-fix -> gssd-mount-hang-fix.patch

OBS-URL: https://build.opensuse.org/request/show/225529
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=114
2014-03-18 16:11:19 +00:00
Neil Brown
6f41be50b0 - Remove "Start-Before: autofs" from nfs.init. This turns
out not to be needed, and is out of place.  If anything,
  autofs should declare a dependency on nfs. (bnc#861489)
- fedfs-lib-name, nfs-utils.spec
  Build with fedfs support so that if fedfs-utils is also
  installed, federated-filesystems can be exported.
  (FATE#313522)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=113
2014-03-09 23:06:13 +00:00
Stephan Kulow
f43ddda523 Accepting request 222653 from Base:System
- udp-fallback.fix: Fix fallback from tcp to udp
  (bnc#863749)

OBS-URL: https://build.opensuse.org/request/show/222653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=113
2014-02-19 17:54:59 +00:00
Neil Brown
439a0898e8 - udp-fallback.fix: Fix fallback from tcp to udp
(bnc#863749)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=111
2014-02-17 23:57:33 +00:00
Stephan Kulow
ca21bcbb7c Accepting request 221761 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/221761
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=112
2014-02-15 07:14:03 +00:00
Neil Brown
398d0be156 - nfs-utils.spec: Require keyutils for proper
idmap lookup.
- nfs.init, nfsserver.init: mkdir /run/nfs before
  trying to create a file in there (bnc#859221)
- nfs.init, nfsserver.init: add
    X-Systemd-RemainAfterExit: true
  to ensure services aren't shutdown if sm-notify
  reports an error
  (bnc#849387)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=109
2014-02-04 05:38:21 +00:00
Stephan Kulow
2a101114d3 Accepting request 208643 from Base:System
- nfsserver.init: fix that typo properly.
  Somehow I only fixed part of the problem
  (bnc#849476)

OBS-URL: https://build.opensuse.org/request/show/208643
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=111
2013-11-28 06:38:10 +00:00
Neil Brown
e40ed1131c - nfsserver.init: fix that typo properly.
Somehow I only fixed part of the problem
  (bnc#849476)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=107
2013-11-27 09:03:36 +00:00
Stephan Kulow
d394ab8463 Accepting request 208502 from Base:System
- If nfs-utils and autofs are both installed make sure that the nfs
  client boot service will be started before autofs as otherwise
  systemd dependency chain is waiting on nfs client services at
  shutdown if nfs client is enabled.

OBS-URL: https://build.opensuse.org/request/show/208502
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=110
2013-11-26 18:21:37 +00:00
Dr. Werner Fink
ad36b288c8 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=105
2013-11-26 13:10:08 +00:00
Tomáš Chvátal
eda802ebca Accepting request 207415 from Base:System
- nfsserver.init: fix typo in "--nfs-version 4".
  (bnc#849476)

- gssd-mount-hang-fix: An nfs mount will hang
  indefinitely if mounted by IP address and there
  is no reverse mapping available.  This is
  caused by a bug in gssd.
  (bnc#833543)

OBS-URL: https://build.opensuse.org/request/show/207415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=109
2013-11-18 09:53:38 +00:00
Neil Brown
38549f2307 Another small fix to nfsserver.init
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=103
2013-11-18 03:39:57 +00:00
Neil Brown
3c16b1ce9d - nfsserver.init: fix typo in "--nfs-version 4".
(bnc#849476)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=102
2013-11-18 03:36:58 +00:00
Neil Brown
46ba229a89 - gssd-mount-hang-fix: An nfs mount will hang
indefinitely if mounted by IP address and there
  is no reverse mapping available.  This is
  caused by a bug in gssd.
  (bnc#833543)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=101
2013-11-17 23:07:43 +00:00
Stephan Kulow
9d21c95f1c Accepting request 206703 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/206703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=108
2013-11-15 12:29:45 +00:00
Neil Brown
bf13c25ec9 - nfs-utils.spec: add various systemd macros to make
sure init scripts are registered properly
  bnc#845475
- nfs.int, nfsserver.init: run gssd on server as well
  as on client.  This is needed for NFSv4.0 callbacks.
  bnc#845269
- exportfs-exit-with-error-code-if-there-was-any-error.patch
- exportfs-report-failure-if-asked-to-unexport-somethi.patch
  Return good error code from exportfs.
  bnc#846064

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=99
2013-11-06 02:21:12 +00:00
Tomáš Chvátal
413941faf9 Accepting request 204251 from Base:System
nfs-utils bugfix for Factory (and 13.1 if possible)

- mountd-fix-bug-affecting-exports-of-dirs-with-64bit-.patch
  allow NFS export to work for XFS filesystems with INODE64
  (bnc#841971)

- nfs.init: run ldconfig directly rather than calling
  boot.ldconfig.
  boot.ldconfig had some "optimisations" which are
  unimportant and inconvenient for NFS, and doesn't
  exist any more anyway.
  (bnc#834164).

OBS-URL: https://build.opensuse.org/request/show/204251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=107
2013-10-22 08:20:46 +00:00
Neil Brown
fedd88bee7 - mountd-fix-bug-affecting-exports-of-dirs-with-64bit-.patch
allow NFS export to work for XFS filesystems with INODE64
  (bnc#841971)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=97
2013-10-22 04:46:38 +00:00
Neil Brown
cacec62691 - nfs.init: run ldconfig directly rather than calling
boot.ldconfig.
  boot.ldconfig had some "optimisations" which are
  unimportant and inconvenient for NFS, and doesn't
  exist any more anyway.
  (bnc#834164).

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=96
2013-10-15 01:17:57 +00:00
Stephan Kulow
77848b611f Accepting request 197461 from Base:System
- nfs.init: always start gssd.
  Recent kernel change means that if gssd isn't running
  and NFSv4 mount will wait 15 seconds before timing out
  even if gss security wasn't requested.
  So just start gssd alway - there is no significant cost
  in this.
  (bnc#837262)

- skip-on-ENOENT.patch - suppress error message
  that isn't really an error (bnc#800414)

OBS-URL: https://build.opensuse.org/request/show/197461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=105
2013-09-05 21:21:41 +00:00
Neil Brown
f716d5b05d - nfs.init: always start gssd.
Recent kernel change means that if gssd isn't running
  and NFSv4 mount will wait 15 seconds before timing out
  even if gss security wasn't requested.
  So just start gssd alway - there is no significant cost
  in this.
  (bnc#837262)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=94
2013-09-05 05:07:12 +00:00
Neil Brown
d4d002b671 - skip-on-ENOENT.patch - suppress error message
that isn't really an error (bnc#800414)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=93
2013-09-02 05:14:23 +00:00
Stephan Kulow
55653a01c5 Accepting request 185979 from Base:System
- Include also nfsv2,nfsv3,nfsv4.ko in initrd (bnc#815738)
- Remove usage of absolute paths in mkinitrd script
- Include also mount.nfs4 (forwarded request 185955 from olh)

OBS-URL: https://build.opensuse.org/request/show/185979
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=104
2013-08-06 05:04:04 +00:00
Dr. Werner Fink
8432ffbb90 Accepting request 185955 from home:olh:branches:Base:System
- Include also nfsv2,nfsv3,nfsv4.ko in initrd (bnc#815738)
- Remove usage of absolute paths in mkinitrd script
- Include also mount.nfs4

OBS-URL: https://build.opensuse.org/request/show/185955
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=91
2013-08-05 17:48:21 +00:00
Stephan Kulow
2e649219cd Accepting request 184600 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/184600
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=103
2013-07-30 16:40:42 +00:00
Neil Brown
d46251b0bc Updates to correct tar.bz2 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=89
2013-07-22 10:05:50 +00:00
Neil Brown
1659d2c52f - New sysconfig variables
NFS4_SERVER_MINOR_VERSION, GSSD_OPTIONS,
   NFS_GSSD_AVOID_DNS
  to enable various configurations.
- bug fixes to init scripts to avoid unmounting everything(!)
  and to avoid corrupting /run/nfs/bind.mounts

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=88
2013-07-22 06:50:28 +00:00
Neil Brown
3ade29ac96 - New upstream release 1.2.8 - mostly bugfixes, many to gssd.
No important new functionality
- Changes to ./configure command to remove warnings
- 8 more patches from upstream 'git' to fix non-trivial bugs
  including on CVE.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=87
2013-07-22 06:15:20 +00:00
Stephan Kulow
032a802528 Accepting request 175298 from Base:System
- remove sysvinit requires - they are rather harmful these days

OBS-URL: https://build.opensuse.org/request/show/175298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=102
2013-05-13 17:57:16 +00:00
Stephan Kulow
5214231f27 - remove sysvinit requires - they are rather harmful these days
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=85
2013-05-13 15:33:12 +00:00
Stephan Kulow
27554f60d9 Accepting request 158082 from Base:System
Updated nfsserver.init and sysconfig.nfs to add support for setting rpc.mountd options in addition to the port. While it's possible to set these by setting the port and adding them after, this is a nicer implementation.
 (forwarded request 157565 from deadpoint)

OBS-URL: https://build.opensuse.org/request/show/158082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=101
2013-03-10 07:35:57 +00:00
634cea2d92 Accepting request 157565 from home:deadpoint:branches:Base:System
Updated nfsserver.init and sysconfig.nfs to add support for setting rpc.mountd options in addition to the port. While it's possible to set these by setting the port and adding them after, this is a nicer implementation.

OBS-URL: https://build.opensuse.org/request/show/157565
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=83
2013-03-09 06:53:10 +00:00
Stephan Kulow
f9f7761575 Accepting request 143369 from Base:System
- New upstream release 1.2.7.  Adds FedFS support
  to mounted and replaces nfsdcld with
  nfsdcltrack.  This is used to manage client state
  on NFSv4 servers.
  Incorporates more local patches.
- Replace "/var/run" with "/run" in various scripts.
- nfsserver.init: Generate message that "bind=" is deprecated
  if it is used.

OBS-URL: https://build.opensuse.org/request/show/143369
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=99
2012-11-28 15:19:06 +00:00
Neil Brown
5c03c3baa4 - New upstream release 1.2.7. Adds FedFD support
to mounted and replaces nfsdcld with
  nfsdcltrack.  This is used to manage client state
  on NFSv4 servers.
  Incorporates more local patches.

- Replace "/var/run" with "/run" in various scripts.

- nfsserver.init: Generate message that "bind=" is deprecated
  if it is used.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=81
2012-11-28 00:31:37 +00:00
Ismail Dönmez
e11aaaf5a1 Accepting request 139232 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/139232
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=98
2012-10-25 10:10:38 +00:00
Neil Brown
a1b46215be - Add dependency on "netcfg" to ensure /etc/services
is present (bnc#779851)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=79
2012-10-17 23:55:51 +00:00
Stephan Kulow
3ddbf07fd7 Accepting request 137343 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/137343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=97
2012-10-07 17:53:24 +00:00
Neil Brown
cb040c180b - nfs4-no-umount: does send MOUNT_UMNT rpcs
when unmounting an 'nfs4' filesystem.  They
  are only required for nfs2,3. (bnc#772534)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=77
2012-09-27 02:12:06 +00:00
Stephan Kulow
f7a11240b0 Accepting request 128299 from Base:System
nfs-utils update from Factory and 12.2

- mount-exit-code.fix:  Correct exit code from
  unmount when fs is busy - allows autofs to work
  correctly. (bnc#770962)

OBS-URL: https://build.opensuse.org/request/show/128299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=96
2012-07-20 08:21:16 +00:00
Neil Brown
d28a12e2d8 - mount-exit-code.fix: Correct exit code from
unmount when fs is busy - allows autofs to work
  correctly. (bnc#770962)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=75
2012-07-19 06:27:51 +00:00
Stephan Kulow
553a348fc9 Accepting request 121292 from Base:System
New nfs-utils for Factory - and hopefully 12.2.

- nfs upstream version 1.2.5.  Lots of bug fixes
  and improved support for pNFS.
  Adds nfsdcld daemon on osd_login script.
  Removed some very out-of-date documentation.

OBS-URL: https://build.opensuse.org/request/show/121292
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=94
2012-05-21 05:28:50 +00:00
Neil Brown
92a46a2e34 - nfs upstream version 1.2.5. Lots of bug fixes
and improved support for pNFS.
  Adds nfsdcld daemon on osd_login script.
  Removed some very out-of-date documentation.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=73
2012-05-17 07:07:12 +00:00
Stephan Kulow
c0824685b6 Accepting request 116824 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/116824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=93
2012-05-09 16:18:54 +00:00
Neil Brown
bf6b9f6466 - nfsserver.init: remove VERSION_LIST. This is
unnecessary duplication of VERSION_PARAMS

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=71
2012-05-02 01:43:09 +00:00
Neil Brown
4195795a21 - nfsserver.init: Don't depend on "mount" preserving
unknown options - it doesn't any more.  This can
  confuse nfsd_unbind_mounts (bnc#754805)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=70
2012-05-02 01:36:09 +00:00
Stephan Kulow
3336268470 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=92
2011-12-06 17:32:08 +00:00
OBS User buildservice-autocommit
d39c583080 Updating link to change in openSUSE:Factory/nfs-utils revision 92.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=b89c33d514b7085e149e656465f98332
2011-12-06 17:32:08 +00:00
Stephan Kulow
fdc953d385 Accepting request 92875 from Base:System
- add libtool as buildrequire to avoid implicit dependency (forwarded request 92660 from coolo)

OBS-URL: https://build.opensuse.org/request/show/92875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=91
2011-11-22 16:48:54 +00:00
Andreas Jaeger
cbf09e61b4 Accepting request 92660 from home:coolo:removelibtool
- add libtool as buildrequire to avoid implicit dependency

OBS-URL: https://build.opensuse.org/request/show/92660
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=68
2011-11-21 14:07:46 +00:00
Stephan Kulow
d220ae3fee Accepting request 90199 from Base:System
Allow debuginfo/debugsource to be build properly.

- do not strip the binaries

OBS-URL: https://build.opensuse.org/request/show/90199
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=90
2011-11-07 13:23:08 +00:00
Petr Uzel
a9caf312a7 - do not strip the binaries
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=65
2011-11-06 11:44:18 +00:00
Lars Vogdt
9bc67bc793 Accepting request 87463 from Base:System
- nfs.init: handle case where kernel adds trailing
  slash to name in /proc/mounts.
  (bnc#722431 bnc#720376)

OBS-URL: https://build.opensuse.org/request/show/87463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=88
2011-10-12 22:09:47 +00:00
Neil Brown
86334e017e Remove stray patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=62
2011-10-12 05:22:34 +00:00
Neil Brown
afaf19b6f4 - nfs.init: handle case where kernel adds trailing
slash to name in /proc/mounts.
  (bnc#722431 bnc#720376)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=61
2011-10-12 05:19:58 +00:00
Lars Vogdt
5781e58ba3 Accepting request 85882 from Base:System
- Fix build in arm, portability bug, applications MUST
  use sysconf(_SC_PAGESIZE) instead of constant PAGE_SIZE (forwarded request 85881 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/85882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=87
2011-10-02 08:21:07 +00:00
Cristian Rodríguez
8639375bda Accepting request 85881 from home:elvigia:branches:Base:System
- Fix build in arm, portability bug, applications MUST
  use sysconf(_SC_PAGESIZE) instead of constant PAGE_SIZE

OBS-URL: https://build.opensuse.org/request/show/85881
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=59
2011-10-01 15:41:09 +00:00
Sascha Peilicke
c0ddf389b5 Accepting request 84720 from Base:System
- New upstream version 1.2.5 - This adds a new binary
  blkmapd with man page,  This is part of PNFS support.

OBS-URL: https://build.opensuse.org/request/show/84720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=86
2011-09-26 08:35:45 +00:00
Neil Brown
5e8971e11c - New upstream version 1.2.5 - This adds a new binary
blkmapd with man page,  This is part of PNFS support.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=56
2011-09-25 08:31:49 +00:00
Sascha Peilicke
5788e51bfa Accepting request 79202 from Base:System
- New upstream version 1.2.4 - plus a few important
  patches from git.  This adds a new binary nfsidmap,
  with man page. Also: build with libmount enabled
  to correctly handle /etc/mtab being linked to
  /proc/self/mounts. (bnc#681106)

OBS-URL: https://build.opensuse.org/request/show/79202
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=85
2011-08-18 09:55:45 +00:00
Neil Brown
0ee893353b - New upstream version 1.2.4 - plus a few important
patches from git.  This adds a new binary nfsidmap,
  with man page. Also: build with libmount enabled
  to correctly handle /etc/mtab being linked to
  /proc/self/mounts. (bnc#681106)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=54
2011-08-18 08:20:54 +00:00
Sascha Peilicke
7c9d9199ed Autobuild autoformatter for 74368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=84
2011-06-23 11:14:02 +00:00
OBS User buildservice-autocommit
3eec09d634 Updating link to change in openSUSE:Factory/nfs-utils revision 84.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=490b2dd1374b4c9a6f4bb9bf9f668849
2011-06-23 11:14:02 +00:00
Sascha Peilicke
4c8b8798a9 Accepting request 74368 from Base:System
Various nfs-utils updates for Factory

- nfs.init,nfsserver.init,sysconfig.nfs - Add support
  for configuring NFS for a fail-over configuration
  with shared state. (bnc#689622)
- rpc.mountd-segfault-fix; fix possible segfault caused
  by "showmount -e" usage. (bnc#693189)
- do-not-error-when-address-family-not-supported -
  suppress socket error when IPv6 is not loaded
  (bnc#670449)
- addmntent.fix - error check writes to /etc/mtab and
  cope accordingly. (bnc#689799)
- mount-catch-signals - don't abort on SIGXSFZ or other
  signals while mtab is locked (bnc#689799)
- mountd-auth-fix - fix bug that could give away incorrect
  access to NFS exported filesystems. (bnc#701702)

OBS-URL: https://build.opensuse.org/request/show/74368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=83
2011-06-23 11:13:53 +00:00
Neil Brown
c14176b6b8 - nfs.init,nfsserver.init,sysconfig.nfs - Add support
for configuring NFS for a fail-over configuration
  with shared state. (bnc#689622)
- rpc.mountd-segfault-fix; fix possible segfault caused
  by "showmount -e" usage. (bnc#693189)
- do-not-error-when-address-family-not-supported -
  suppress socket error when IPv6 is not loaded
  (bnc#670449)
- addmntent.fix - error check writes to /etc/mtab and
  cope accordingly. (bnc#689799)
- mount-catch-signals - don't abort on SIGXSFZ or other
  signals while mtab is locked (bnc#689799)
- mountd-auth-fix - fix bug that could give away incorrect
  access to NFS exported filesystems. (bnc#701702)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=52
2011-06-23 05:52:18 +00:00
Sascha Peilicke
af869c57dd Autobuild autoformatter for 74072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=82
2011-06-20 08:53:27 +00:00
OBS User buildservice-autocommit
5660cc2acd Updating link to change in openSUSE:Factory/nfs-utils revision 82.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=7f98fadb5f84c0dbc51d2749cb7dfd4a
2011-06-20 08:53:27 +00:00
Sascha Peilicke
bab5c06e73 Accepting request 74072 from Base:System
Fix URLs. (forwarded request 74051 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/74072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=81
2011-06-20 08:53:17 +00:00
Cristian Rodríguez
a60740ab4e Accepting request 74051 from home:a_jaeger:branches:openSUSE:Factory
Fix URLs.

OBS-URL: https://build.opensuse.org/request/show/74051
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=50
2011-06-17 16:30:46 +00:00
Sascha Peilicke
2f879af0e0 Autobuild autoformatter for 72489
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=80
2011-06-06 09:53:39 +00:00
OBS User buildservice-autocommit
6457db7671 Updating link to change in openSUSE:Factory/nfs-utils revision 80.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=5d3ea5926208c5303bc33bfc92f713f3
2011-06-06 09:53:39 +00:00
Sascha Peilicke
c6787dcef3 Accepting request 72489 from Base:System
- nfsserver.init, sysconfig.nfs: add NFSV4LEASETIME
  parameter to allow lease time to be set.
  bnc#681510

- use /var/run/nfs instead of /var/lock/subsys

OBS-URL: https://build.opensuse.org/request/show/72489
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=79
2011-06-06 09:53:27 +00:00
Neil Brown
10e67953e3 - nfsserver.init, sysconfig.nfs: add NFSV4LEASETIME
parameter to allow lease time to be set.
  bnc#681510

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=48
2011-06-02 06:49:18 +00:00
Cristian Rodríguez
a15cfb5f31 Accepting request 72261 from home:lnussel:branches:Base:System
- use /var/run/nfs instead of /var/lock/subsys

OBS-URL: https://build.opensuse.org/request/show/72261
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=47
2011-06-01 16:25:59 +00:00
Sascha Peilicke
78ba2e746c Autobuild autoformatter for 72194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=78
2011-05-31 12:37:13 +00:00
OBS User buildservice-autocommit
b050b8eba0 Updating link to change in openSUSE:Factory/nfs-utils revision 78.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=95b30ec1f218955dfb313a8efedb3aa6
2011-05-31 12:37:13 +00:00
Sascha Peilicke
e0486281c3 Accepting request 72194 from Base:System
Minor nfs-utils update for factory

- sysconfig.nfs: now that 'nfs' is not enabled
  by default, set NFS_START_SERVICES=yes by default
  and document that 'chkconfig nfs on' is needed.

OBS-URL: https://build.opensuse.org/request/show/72194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=77
2011-05-31 12:37:02 +00:00
Neil Brown
f2d6b14040 - sysconfig.nfs: now that 'nfs' is not enabled
by default, set NFS_START_SERVICES=yes by default
  and document that 'chkconfig nfs on' is needed.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=45
2011-05-31 01:43:53 +00:00
Sascha Peilicke
237cab2498 Autobuild autoformatter for 68471
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=76
2011-04-27 08:02:17 +00:00
OBS User buildservice-autocommit
2361b19159 Updating link to change in openSUSE:Factory/nfs-utils revision 76.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=ef9786d215e36e18c88f209927306548
2011-04-27 08:02:17 +00:00
Sascha Peilicke
0e77e8001a Accepting request 68471 from Base:System
Accepted submit request 68471 from user coolo

OBS-URL: https://build.opensuse.org/request/show/68471
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=75
2011-04-27 08:02:00 +00:00
Neil Brown
bfcf163a69 - Make /var/lib/nfs world executable.
Otherwise 'df' complains about /var/lib/nfs/rpc_pipefs
  bnc#675385

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=43
2011-04-27 00:42:28 +00:00
Sascha Peilicke
e71f80c91d Autobuild autoformatter for 64546
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=74
2011-03-21 09:27:12 +00:00
OBS User buildservice-autocommit
ab44ec3978 Updating link to change in openSUSE:Factory/nfs-utils revision 74.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=819d04faa01e38851adaa4fb319f5929
2011-03-21 09:27:12 +00:00
Sascha Peilicke
b1a128631b Accepting request 64546 from Base:System
Accepted submit request 64546 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/64546
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=73
2011-03-21 09:26:58 +00:00
Cristian Rodríguez
3b8c3cd0f1 Accepting request 64533 from home:jengelh:dev
OBS-URL: https://build.opensuse.org/request/show/64533
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=41
2011-03-19 22:09:51 +00:00
Ruediger Oertel
42fdfcaf5e Autobuild autoformatter for 61539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=72
2011-02-18 11:53:26 +00:00
OBS User buildservice-autocommit
d2b7c9af09 Updating link to change in openSUSE:Factory/nfs-utils revision 72.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=f4aeef55dee1911d47877d1690a98dd1
2011-02-18 11:53:26 +00:00
Ruediger Oertel
e042da25bc Accepting request 61539 from Base:System
Accepted submit request 61539 from user neilbrown

OBS-URL: https://build.opensuse.org/request/show/61539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=71
2011-02-18 11:53:18 +00:00
Neil Brown
cc1abc1879 - nfs.init: improve handling of paths with spaces.
If a path name has a space, it will appear as \040
  in fstab and in /proc/mounts.  Using 'grep -E' to search
  for this is problematic as it will interpret the
  '\'.  So use 'grep -F' instead - we know there is
  only a single space in /proc/mounts.  Also use
  "read -r" so 'read' doesn't interpret the '/'.
  (bnc#666128)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=39
2011-02-16 23:59:03 +00:00
Neil Brown
5851cf522d - nfsserver.init: make sure sm-notify runs on restart.
If we stop nfsd, that might also stop lockd which would
  drop locks.  So make sure lockd really does drop lock
  for consistency, and ensure that sm-notify is run when
  nfsserver is restarted. (bnc#668280)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=38
2011-02-16 23:51:28 +00:00
Neil Brown
87be134f78 Revert last change
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=37
2011-02-16 23:44:37 +00:00
Neil Brown
80c4021aa6 - sysconfig.nfs: add variable "RQUOTAD_PORT" to set the port that
rquotad uses.  Note that this field will be handled by rquotad
  which is in a different package.  We put the definition here
  because it makes sense to keep NFS related things together
  (bnc#637382)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=36
2011-02-08 04:51:37 +00:00
Ruediger Oertel
a9e484403a Autobuild autoformatter for 59569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=69
2011-02-02 00:47:25 +00:00
OBS User buildservice-autocommit
0bc1e63cce Updating link to change in openSUSE:Factory/nfs-utils revision 69.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=1432e81b25a180c43f58d410c51abb35
2011-02-02 00:47:25 +00:00
Ruediger Oertel
e90aa0d140 Accepting request 59569 from Base:System
Accepted submit request 59569 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/59569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=68
2011-02-02 00:47:16 +00:00
Cristian Rodríguez
4d7d2dffef Accepting request 59492 from home:lnussel:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/59492
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=34
2011-02-01 00:15:25 +00:00
Cristian Rodríguez
af403cf1f5 Accepting request 59360 from home:lnussel:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/59360
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=33
2011-01-28 15:45:32 +00:00
Lars Vogdt
706ad64ee8 Autobuild autoformatter for 59106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=67
2011-01-25 12:24:00 +00:00
OBS User buildservice-autocommit
a6f4aade28 Updating link to change in openSUSE:Factory/nfs-utils revision 67.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=6ab25bef9982e1ec3d32c8f8c9b92b18
2011-01-25 12:24:00 +00:00
Lars Vogdt
0e1968e2af Accepting request 59106 from Base:System
Accepted submit request 59106 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/59106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=66
2011-01-25 12:23:48 +00:00
Cristian Rodríguez
64a7fab597 Accepting request 59078 from home:lnussel:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/59078
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=31
2011-01-25 12:13:59 +00:00
22637f4fb5 Autobuild autoformatter for 58259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=65
2011-01-15 02:00:38 +00:00
OBS User buildservice-autocommit
582cc9a340 Updating link to change in openSUSE:Factory/nfs-utils revision 65.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=1746b6dc5f4f682b45fb032f2d9ca538
2011-01-15 02:00:38 +00:00
15a973b7cb Accepting request 58259 from Base:System
Accepted submit request 58259 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/58259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=64
2011-01-15 02:00:26 +00:00
Cristian Rodríguez
ea7c44ade3 Accepting request 57970 from home:lnussel:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/57970
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=29
2011-01-14 16:01:30 +00:00
40b48947ba Autobuild autoformatter for 54975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=63
2010-12-07 17:45:00 +00:00
OBS User buildservice-autocommit
4edba7220e Updating link to change in openSUSE:Factory/nfs-utils revision 63.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=d53a352abc67447f34368d32408d357b
2010-12-07 17:45:00 +00:00
84049bf6c8 Accepting request 54975 from Base:System
Accepted submit request 54975 from user coolo

OBS-URL: https://build.opensuse.org/request/show/54975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=62
2010-12-07 17:44:48 +00:00
Stephan Kulow
d86d032a42 - add sysvinit prereqs to make sure the scripts are there before
installation (also for building)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=27
2010-12-07 11:18:55 +00:00
OBS User autobuild
e63169b858 Accepting request 50180 from Base:System
Copy from Base:System/nfs-utils based on submit request 50180 from user neilbrown

OBS-URL: https://build.opensuse.org/request/show/50180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=61
2010-10-11 15:03:25 +00:00
OBS User buildservice-autocommit
7ca9921dc5 Updating link to change in openSUSE:Factory/nfs-utils revision 61.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=cb75ed5e603b8f9de3c067835cc9fc07
2010-10-11 15:03:25 +00:00
OBS User autobuild
bae17c8722 Accepting request 50180 from Base:System
checked in (request 50180)

OBS-URL: https://build.opensuse.org/request/show/50180
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=26
2010-10-11 15:03:24 +00:00
Neil Brown
4a3c53f9fe - new upstream version 1.2.3, plus some upstream fix-up patches.
- new user 'statd' owns /var/lib/nfs so rpc.statd runs as non-root.
- New commands 'mountstats' and 'nfsiostat'
- ipv6 support enabled as it is believed to be complete.

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=25
2010-10-11 06:24:01 +00:00
OBS User autobuild
499603bfcc Accepting request 46400 from Base:System
Copy from Base:System/nfs-utils based on submit request 46400 from user coolo

OBS-URL: https://build.opensuse.org/request/show/46400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=60
2010-08-27 20:49:53 +00:00
OBS User buildservice-autocommit
9f100072da Updating link to change in openSUSE:Factory/nfs-utils revision 60.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=bbeeb2bdf262eff1ca1cb682b0da1be5
2010-08-27 20:49:53 +00:00
OBS User autobuild
ac5643a138 Accepting request 46400 from Base:System
checked in (request 46400)

OBS-URL: https://build.opensuse.org/request/show/46400
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=23
2010-08-27 20:49:52 +00:00
Neil Brown
11ebdb8e99 - Change "Requires: portmap" to "Requires: rpcbind".
Current nfs-utils does not work properly with portmap
  due to IPv6 being enabled, so we really need rpcbind.
  So be explcit about that, else upgrading an old
  installation will leave portmap in place which
  won't work.
  bnc#620346

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=22
2010-08-11 04:37:24 +00:00
OBS User autobuild
90ef3f32ef Accepting request 43927 from Base:System
Copy from Base:System/nfs-utils based on submit request 43927 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/43927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=59
2010-08-01 15:28:34 +00:00
OBS User autobuild
1a81637c9e Accepting request 43927 from Base:System
checked in (request 43927)

OBS-URL: https://build.opensuse.org/request/show/43927
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=21
2010-08-01 15:28:34 +00:00
Cristian Rodríguez
264d3f95cf Accepting request 43916 from home:a_jaeger:branches:openSUSE:Factory
Copy from home:a_jaeger:branches:openSUSE:Factory/nfs-utils via accept of submit request 43916 revision 3.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/43916
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=20
2010-07-25 19:07:33 +00:00
OBS User autobuild
627f2ee5fa Accepting request 39703 from Base:System
Copy from Base:System/nfs-utils based on submit request 39703 from user neilbrown

OBS-URL: https://build.opensuse.org/request/show/39703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=56
2010-05-13 22:42:32 +00:00
Neil Brown
ce3ce09113 - nfsserver.init / sysconfig.nfs: allow NFSv3 service
to be disabled so only NFSv4 can be used. bnc#598671
- nfs-v2-disable.patch: mountd support for above
- nfs.init: unmount bind mounts with '-l' to ensure they
     really unmount. bnc#598681

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=18
2010-05-09 23:55:36 +00:00
Neil Brown
812efd18cf OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=17 2010-04-19 23:44:17 +00:00
Neil Brown
24214a2c72 OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=16 2010-04-19 05:02:51 +00:00
OBS User autobuild
bd748cc245 Accepting request 35966 from Base:System
Copy from Base:System/nfs-utils based on submit request 35966 from user oertel

OBS-URL: https://build.opensuse.org/request/show/35966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=55
2010-03-31 17:28:52 +00:00
OBS User buildservice-autocommit
f3876d9ada Updating link to change in openSUSE:Factory/nfs-utils revision 55.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=3042a911ddae4a342e82ab5e95428693
2010-03-31 17:28:52 +00:00
OBS User autobuild
f2bbb9ba61 Accepting request 35966 from Base:System
checked in (request 35966)

OBS-URL: https://build.opensuse.org/request/show/35966
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=15
2010-03-31 17:28:51 +00:00
Ruediger Oertel
d334228ead ...
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=14
2010-03-29 12:05:29 +00:00
Ruediger Oertel
682a39e30d Accepting request 35840 from home:michal-m:branches:Base:System
Copy from home:michal-m:branches:Base:System/nfs-utils via accept of submit request 35840 revision 2.
Request was accepted with message:
receive and volley

OBS-URL: https://build.opensuse.org/request/show/35840
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=13
2010-03-29 11:54:09 +00:00
OBS User autobuild
461b5b7282 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=54 2010-03-18 15:11:31 +00:00
OBS User autobuild
0f96d2b308 Accepting request 34462 from Base:System
Copy from Base:System/nfs-utils based on submit request 34462 from user neilbrown

OBS-URL: https://build.opensuse.org/request/show/34462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=53
2010-03-09 23:31:02 +00:00
OBS User autobuild
1d341f608b Accepting request 34462 from Base:System
checked in (request 34462)

OBS-URL: https://build.opensuse.org/request/show/34462
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=12
2010-03-09 23:31:01 +00:00
Neil Brown
2c04071a40 OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=11 2010-03-09 21:19:41 +00:00
Neil Brown
de3489de31 OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=10 2010-02-23 22:17:00 +00:00
OBS User autobuild
74466a48f3 Accepting request 25300 from Base:System
Copy from Base:System/nfs-utils based on submit request 25300 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/25300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=52
2009-12-02 11:37:58 +00:00
OBS User buildservice-autocommit
17c8640fff Updating link to change in openSUSE:Factory/nfs-utils revision 52.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=e1d23f0150ec35cc283dd1efe3358d23
2009-12-02 11:37:58 +00:00
OBS User autobuild
c5fb2dfede checked in
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=8
2009-12-02 11:37:57 +00:00
Neil Brown
759704c835 Accepting request 25250 from home:neilbrown:branches:Base:System
Copy from home:neilbrown:branches:Base:System/nfs-utils via accept of submit request 25250 revision 2.
Request was accepted with message:
Resubmit nfs-utils update with correct change log this time.

OBS-URL: https://build.opensuse.org/request/show/25250
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=7
2009-11-29 22:06:39 +00:00
cf31e61dcd Accepting request 24935 from home:neilbrown:branches:Base:System
Copy from home:neilbrown:branches:Base:System/nfs-utils via accept of submit request 24935 revision 2.
Request was accepted with message:
ok

OBS-URL: https://build.opensuse.org/request/show/24935
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=6
2009-11-25 15:22:12 +00:00
OBS User autobuild
300a0cb74b Accepting request 24436 from Base:System
Copy from Base:System/nfs-utils based on submit request 24436 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/24436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=51
2009-11-16 13:24:40 +00:00
OBS User autobuild
89918afa67 checked in
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=5
2009-11-16 13:24:39 +00:00
ee104f3354 Accepting request 23905 from home:neilbrown:branches:Base:System
Copy from home:neilbrown:branches:Base:System/nfs-utils via accept of submit request 23905 revision 2.
Request was accepted with message:
ok.

the install-strip should be install in .spec, as our
build strips out debuginfo automaticaslly...
but perhaps this was intended.

OBS-URL: https://build.opensuse.org/request/show/23905
OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=4
2009-11-05 14:52:01 +00:00
OBS User autobuild
692d69e59b Accepting request 21920 from Base:System
Copy from Base:System/nfs-utils based on submit request 21920 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/21920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=49
2009-10-07 23:59:22 +00:00
OBS User unknown
c1a25b3d1c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=48 2009-03-20 19:35:21 +00:00
OBS User unknown
d6ffc47ef6 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=47 2008-12-18 14:16:45 +00:00
OBS User unknown
2e353c77e4 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=46 2008-12-08 14:55:10 +00:00
OBS User unknown
aedeade8d4 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=45 2008-12-08 14:43:13 +00:00
OBS User unknown
ffbd354de7 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=44 2008-12-05 14:49:05 +00:00
OBS User unknown
369bfd08cc OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=43 2008-12-02 14:33:46 +00:00
OBS User unknown
6b5d1a1645 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=42 2008-11-28 14:43:06 +00:00
OBS User unknown
c3304deef5 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=41 2008-11-21 14:38:35 +00:00
OBS User unknown
a7b913941a OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=40 2008-11-20 14:56:51 +00:00
OBS User unknown
92c20eda49 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=39 2008-11-17 16:32:01 +00:00
OBS User unknown
068502af22 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=38 2008-11-07 14:27:24 +00:00
OBS User unknown
577f2b3597 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=37 2008-10-13 21:38:00 +00:00
OBS User unknown
47b0b5f21e OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=36 2008-10-13 08:58:23 +00:00
OBS User unknown
0237c30629 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=35 2008-10-06 17:04:45 +00:00
OBS User unknown
653a8ebce2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=34 2008-09-29 16:07:25 +00:00
OBS User unknown
e3ed016202 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=33 2008-09-26 13:05:25 +00:00
OBS User unknown
2b4f8de9e4 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=32 2008-09-24 15:16:17 +00:00
OBS User unknown
826b083ee5 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=31 2008-09-05 22:58:18 +00:00
OBS User unknown
49c7412e34 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=30 2008-08-21 23:20:49 +00:00
OBS User unknown
4b95d2850c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=29 2008-08-14 23:10:44 +00:00
OBS User unknown
466f766636 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=28 2008-07-25 02:07:57 +00:00
OBS User unknown
4d87a756de OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=27 2008-07-15 23:08:30 +00:00
OBS User unknown
6e42835b65 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=26 2008-06-27 18:49:36 +00:00
OBS User unknown
0a0bbe6a8f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=25 2008-06-23 02:30:26 +00:00
OBS User unknown
584f4fc299 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=24 2008-06-02 23:00:09 +00:00
OBS User unknown
05c8a80c1b OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=23 2008-05-16 12:47:01 +00:00
OBS User unknown
a0637e4966 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=22 2008-05-06 21:34:46 +00:00
OBS User unknown
65fb756cbd OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=21 2008-05-04 22:59:56 +00:00
OBS User unknown
5f5174f3b0 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=20 2008-04-12 19:15:20 +00:00
OBS User unknown
a295ae1d26 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=19 2008-04-09 19:59:13 +00:00
OBS User unknown
a8773ede1c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=18 2008-04-01 21:03:58 +00:00
OBS User unknown
2122c11e7c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=17 2008-03-27 21:28:19 +00:00
OBS User unknown
e5289443c7 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=16 2008-02-28 17:43:29 +00:00
OBS User unknown
2f57cfb321 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=15 2008-02-15 00:35:17 +00:00
OBS User unknown
bc6f33cc3e OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=14 2007-12-18 17:53:26 +00:00
OBS User unknown
43b0e55414 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=13 2007-12-17 10:44:13 +00:00
OBS User unknown
6baa92dbc7 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=12 2007-11-12 20:56:24 +00:00
OBS User unknown
29891d00a5 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=11 2007-09-14 14:24:10 +00:00
OBS User unknown
5827009d64 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=10 2007-09-12 14:57:08 +00:00
OBS User unknown
820fedef55 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=9 2007-07-21 16:05:38 +00:00
OBS User unknown
44cf705126 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=8 2007-07-18 20:56:36 +00:00
OBS User unknown
3c5ec114f6 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=7 2007-06-22 14:22:18 +00:00
OBS User unknown
74605be3f2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=6 2007-06-11 11:05:32 +00:00
OBS User unknown
f284600b48 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=5 2007-06-05 18:06:28 +00:00
OBS User unknown
78917d4e0d OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=4 2007-02-27 08:10:11 +00:00
OBS User unknown
23ed6e6dec OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=3 2007-01-12 00:31:40 +00:00
OBS User unknown
f57c76911a OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=2 2007-01-08 17:25:13 +00:00
OBS User unknown
9f6f807a9c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=1 2006-12-19 00:34:50 +00:00
11 changed files with 0 additions and 1060 deletions

View File

@ -1,167 +0,0 @@
From 40d6d58ee6e58f50d5f1aaf8c1253b2338bd7d06 Mon Sep 17 00:00:00 2001
From: NeilBrown <neilb@suse.de>
Date: Mon, 27 Nov 2023 10:12:19 -0500
Subject: [PATCH] exportfs: remove warning if neither subtree_check or
no_subtree_check is given
This warning was only ever intended as a transitional aid.
It doesn't serve any purpose any longer. Let's remove it.
Also clean up some white-space issues.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
---
support/export/export.c | 2 +-
support/export/xtab.c | 2 +-
support/include/nfslib.h | 2 +-
support/nfs/exports.c | 43 +++++++++++++++++-----------------------
4 files changed, 21 insertions(+), 28 deletions(-)
diff --git a/support/export/export.c b/support/export/export.c
index 3e48c42def19..100912cb29c3 100644
--- a/support/export/export.c
+++ b/support/export/export.c
@@ -119,7 +119,7 @@ export_read(char *fname, int ignore_hosts)
int reexport_found = 0;
setexportent(fname, "r");
- while ((eep = getexportent(0,1)) != NULL) {
+ while ((eep = getexportent(0)) != NULL) {
exp = export_lookup(eep->e_hostname, eep->e_path, ignore_hosts);
if (!exp) {
if (export_create(eep, 0))
diff --git a/support/export/xtab.c b/support/export/xtab.c
index e210ca99d574..282f15bc79cd 100644
--- a/support/export/xtab.c
+++ b/support/export/xtab.c
@@ -47,7 +47,7 @@ xtab_read(char *xtab, char *lockfn, int is_export)
setexportent(xtab, "r");
if (is_export == 1)
v4root_needed = 1;
- while ((xp = getexportent(is_export==0, 0)) != NULL) {
+ while ((xp = getexportent(is_export==0)) != NULL) {
if (!(exp = export_lookup(xp->e_hostname, xp->e_path, is_export != 1)) &&
!(exp = export_create(xp, is_export!=1))) {
if(xp->e_hostname) {
diff --git a/support/include/nfslib.h b/support/include/nfslib.h
index bdbde78d9ebd..eff2a486307f 100644
--- a/support/include/nfslib.h
+++ b/support/include/nfslib.h
@@ -111,7 +111,7 @@ struct rmtabent {
* configuration file parsing
*/
void setexportent(char *fname, char *type);
-struct exportent * getexportent(int,int);
+struct exportent * getexportent(int);
void secinfo_show(FILE *fp, struct exportent *ep);
void xprtsecinfo_show(FILE *fp, struct exportent *ep);
void putexportent(struct exportent *xep);
diff --git a/support/nfs/exports.c b/support/nfs/exports.c
index 15dc574cc21a..a6816e60d62e 100644
--- a/support/nfs/exports.c
+++ b/support/nfs/exports.c
@@ -59,7 +59,7 @@ static int *squids = NULL, nsquids = 0,
static int getexport(char *exp, int len);
static int getpath(char *path, int len);
-static int parseopts(char *cp, struct exportent *ep, int warn, int *had_subtree_opt_ptr);
+static int parseopts(char *cp, struct exportent *ep, int *had_subtree_opt_ptr);
static int parsesquash(char *list, int **idp, int *lenp, char **ep);
static int parsenum(char **cpp);
static void freesquash(void);
@@ -109,7 +109,7 @@ static void init_exportent (struct exportent *ee, int fromkernel)
}
struct exportent *
-getexportent(int fromkernel, int fromexports)
+getexportent(int fromkernel)
{
static struct exportent ee, def_ee;
char exp[512], *hostname;
@@ -147,7 +147,7 @@ getexportent(int fromkernel, int fromexports)
* we're not reading from the kernel.
*/
if (exp[0] == '-' && !fromkernel) {
- if (parseopts(exp + 1, &def_ee, 0, &has_default_subtree_opts) < 0)
+ if (parseopts(exp + 1, &def_ee, &has_default_subtree_opts) < 0)
return NULL;
has_default_opts = 1;
@@ -185,20 +185,20 @@ getexportent(int fromkernel, int fromexports)
}
ee.e_hostname = xstrdup(hostname);
- if (parseopts(opt, &ee, fromexports && !has_default_subtree_opts, NULL) < 0) {
- if(ee.e_hostname)
- {
- xfree(ee.e_hostname);
- ee.e_hostname=NULL;
- }
- if(ee.e_uuid)
- {
- xfree(ee.e_uuid);
- ee.e_uuid=NULL;
- }
+ if (parseopts(opt, &ee, NULL) < 0) {
+ if(ee.e_hostname)
+ {
+ xfree(ee.e_hostname);
+ ee.e_hostname=NULL;
+ }
+ if(ee.e_uuid)
+ {
+ xfree(ee.e_uuid);
+ ee.e_uuid=NULL;
+ }
return NULL;
- }
+ }
/* resolve symlinks */
if (realpath(ee.e_path, rpath) != NULL) {
rpath[sizeof (rpath) - 1] = '\0';
@@ -433,7 +433,7 @@ mkexportent(char *hname, char *path, char *options)
}
strncpy(ee.e_path, path, sizeof (ee.e_path));
ee.e_path[sizeof (ee.e_path) - 1] = '\0';
- if (parseopts(options, &ee, 0, NULL) < 0)
+ if (parseopts(options, &ee, NULL) < 0)
return NULL;
return &ee;
}
@@ -441,7 +441,7 @@ mkexportent(char *hname, char *path, char *options)
int
updateexportent(struct exportent *eep, char *options)
{
- if (parseopts(options, eep, 0, NULL) < 0)
+ if (parseopts(options, eep, NULL) < 0)
return 0;
return 1;
}
@@ -632,7 +632,7 @@ void fix_pseudoflavor_flags(struct exportent *ep)
* Parse option string pointed to by cp and set mount options accordingly.
*/
static int
-parseopts(char *cp, struct exportent *ep, int warn, int *had_subtree_opt_ptr)
+parseopts(char *cp, struct exportent *ep, int *had_subtree_opt_ptr)
{
int had_subtree_opt = 0;
char *flname = efname?efname:"command line";
@@ -852,13 +852,6 @@ bad_option:
ep->e_nsqgids = nsqgids;
out:
- if (warn && !had_subtree_opt)
- xlog(L_WARNING, "%s [%d]: Neither 'subtree_check' or 'no_subtree_check' specified for export \"%s:%s\".\n"
- " Assuming default behaviour ('no_subtree_check').\n"
- " NOTE: this default has changed since nfs-utils version 1.0.x\n",
-
- flname, flline,
- ep->e_hostname, ep->e_path);
if (had_subtree_opt_ptr)
*had_subtree_opt_ptr = had_subtree_opt;
--
2.43.0

View File

@ -1,99 +0,0 @@
From 20c0797937e9ec43a78a2f5475d4296897f8c537 Mon Sep 17 00:00:00 2001
From: Olga Kornievskaia <kolga@netapp.com>
Date: Mon, 11 Dec 2023 08:46:35 -0500
Subject: [PATCH 1/6] gssd: revert commit a5f3b7ccb01c
In preparation for using rpc_gss_seccreate() function, revert commit
a5f3b7ccb01c "gssd: handle KRB5_AP_ERR_BAD_INTEGRITY for user
credentials"
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
---
utils/gssd/gssd_proc.c | 2 --
utils/gssd/krb5_util.c | 42 ------------------------------------------
utils/gssd/krb5_util.h | 1 -
3 files changed, 45 deletions(-)
diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c
index a96647df..e5cc1d98 100644
--- a/utils/gssd/gssd_proc.c
+++ b/utils/gssd/gssd_proc.c
@@ -419,8 +419,6 @@ create_auth_rpc_client(struct clnt_info *clp,
if (cred == GSS_C_NO_CREDENTIAL)
retval = gssd_refresh_krb5_machine_credential(clp->servername,
"*", NULL, 1);
- else
- retval = gssd_k5_remove_bad_service_cred(clp->servername);
if (!retval) {
auth = authgss_create_default(rpc_clnt, tgtname,
&sec);
diff --git a/utils/gssd/krb5_util.c b/utils/gssd/krb5_util.c
index 6f66ef4f..f6ce1fec 100644
--- a/utils/gssd/krb5_util.c
+++ b/utils/gssd/krb5_util.c
@@ -1553,48 +1553,6 @@ gssd_acquire_user_cred(gss_cred_id_t *gss_cred)
return ret;
}
-/* Removed a service ticket for nfs/<name> from the ticket cache
- */
-int
-gssd_k5_remove_bad_service_cred(char *name)
-{
- krb5_creds in_creds, out_creds;
- krb5_error_code ret;
- krb5_context context;
- krb5_ccache cache;
- krb5_principal principal;
- int retflags = KRB5_TC_MATCH_SRV_NAMEONLY;
- char srvname[1024];
-
- ret = krb5_init_context(&context);
- if (ret)
- goto out_cred;
- ret = krb5_cc_default(context, &cache);
- if (ret)
- goto out_free_context;
- ret = krb5_cc_get_principal(context, cache, &principal);
- if (ret)
- goto out_close_cache;
- memset(&in_creds, 0, sizeof(in_creds));
- in_creds.client = principal;
- sprintf(srvname, "nfs/%s", name);
- ret = krb5_parse_name(context, srvname, &in_creds.server);
- if (ret)
- goto out_free_principal;
- ret = krb5_cc_retrieve_cred(context, cache, retflags, &in_creds, &out_creds);
- if (ret)
- goto out_free_principal;
- ret = krb5_cc_remove_cred(context, cache, 0, &out_creds);
-out_free_principal:
- krb5_free_principal(context, principal);
-out_close_cache:
- krb5_cc_close(context, cache);
-out_free_context:
- krb5_free_context(context);
-out_cred:
- return ret;
-}
-
#ifdef HAVE_SET_ALLOWABLE_ENCTYPES
/*
* this routine obtains a credentials handle via gss_acquire_cred()
diff --git a/utils/gssd/krb5_util.h b/utils/gssd/krb5_util.h
index 7ef87018..62c91a0e 100644
--- a/utils/gssd/krb5_util.h
+++ b/utils/gssd/krb5_util.h
@@ -22,7 +22,6 @@ char *gssd_k5_err_msg(krb5_context context, krb5_error_code code);
void gssd_k5_get_default_realm(char **def_realm);
int gssd_acquire_user_cred(gss_cred_id_t *gss_cred);
-int gssd_k5_remove_bad_service_cred(char *srvname);
#ifdef HAVE_SET_ALLOWABLE_ENCTYPES
extern int limit_to_legacy_enctypes;
--
2.46.0

View File

@ -1,179 +0,0 @@
From ed4dc834e1722b9217fae27da1adf29ab21d6a93 Mon Sep 17 00:00:00 2001
From: NeilBrown <neilb@suse.de>
Date: Mon, 27 Nov 2023 10:30:43 -0500
Subject: [PATCH] conffile: don't report error from conf_init_file()
conf_init_file() currently reports an error if the main config file
doesn't exist - even if there are conf files in the conf.d directory.
This is only used by nfsconfcli.c. However this is not needed. If
there is a real error, and error message is already logged.
If it is simply that the file doesn't exist, that isn't really an error.
So remove the error messages and change conf_init_file() to not return
any status.
Also fix up assorted nearby white-space issues.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
---
support/include/conffile.h | 2 +-
support/nfs/conffile.c | 32 ++++++++++++++------------------
tools/nfsconf/nfsconfcli.c | 15 ++-------------
3 files changed, 17 insertions(+), 32 deletions(-)
diff --git a/support/include/conffile.h b/support/include/conffile.h
index c4a3ca62860e..c04cd1ec5c0c 100644
--- a/support/include/conffile.h
+++ b/support/include/conffile.h
@@ -62,7 +62,7 @@ extern char *conf_get_str(const char *, const char *);
extern char *conf_get_str_with_def(const char *, const char *, char *);
extern char *conf_get_section(const char *, const char *, const char *);
extern char *conf_get_entry(const char *, const char *, const char *);
-extern int conf_init_file(const char *);
+extern void conf_init_file(const char *);
extern void conf_cleanup(void);
extern int conf_match_num(const char *, const char *, int);
extern int conf_remove(int, const char *, const char *);
diff --git a/support/nfs/conffile.c b/support/nfs/conffile.c
index fd4a17ad4293..6b813dd95147 100644
--- a/support/nfs/conffile.c
+++ b/support/nfs/conffile.c
@@ -658,7 +658,7 @@ conf_load_file(const char *conf_file)
return 0;
}
-static void
+static void
conf_init_dir(const char *conf_file)
{
struct dirent **namelist = NULL;
@@ -669,14 +669,14 @@ conf_init_dir(const char *conf_file)
dname = malloc(strlen(conf_file) + 3);
if (dname == NULL) {
xlog(L_WARNING, "conf_init_dir: malloc: %s", strerror(errno));
- return;
+ return;
}
sprintf(dname, "%s.d", conf_file);
n = scandir(dname, &namelist, NULL, versionsort);
if (n < 0) {
if (errno != ENOENT) {
- xlog(L_WARNING, "conf_init_dir: scandir %s: %s",
+ xlog(L_WARNING, "conf_init_dir: scandir %s: %s",
dname, strerror(errno));
}
free(dname);
@@ -691,7 +691,7 @@ conf_init_dir(const char *conf_file)
for (i = 0; i < n; i++ ) {
struct dirent *d = namelist[i];
- switch (d->d_type) {
+ switch (d->d_type) {
case DT_UNKNOWN:
case DT_REG:
case DT_LNK:
@@ -701,13 +701,13 @@ conf_init_dir(const char *conf_file)
}
if (*d->d_name == '.')
continue;
-
+
fname_len = strlen(d->d_name);
path_len = (fname_len + dname_len);
if (!fname_len || path_len > PATH_MAX) {
xlog(L_WARNING, "conf_init_dir: Too long file name: %s in %s",
d->d_name, dname);
- continue;
+ continue;
}
/*
@@ -715,7 +715,7 @@ conf_init_dir(const char *conf_file)
* that end with CONF_FILE_EXT
*/
if (fname_len <= CONF_FILE_EXT_LEN) {
- xlog(D_GENERAL, "conf_init_dir: %s: name too short",
+ xlog(D_GENERAL, "conf_init_dir: %s: name too short",
d->d_name);
continue;
}
@@ -746,31 +746,29 @@ conf_init_dir(const char *conf_file)
free(namelist[i]);
free(namelist);
free(dname);
-
+
return;
}
-int
+void
conf_init_file(const char *conf_file)
{
unsigned int i;
- int ret;
for (i = 0; i < sizeof conf_bindings / sizeof conf_bindings[0]; i++)
LIST_INIT (&conf_bindings[i]);
TAILQ_INIT (&conf_trans_queue);
- if (conf_file == NULL)
- conf_file=NFS_CONFFILE;
+ if (conf_file == NULL)
+ conf_file = NFS_CONFFILE;
/*
- * First parse the give config file
- * then parse the config.conf.d directory
+ * First parse the give config file
+ * then parse the config.conf.d directory
* (if it exists)
- *
*/
- ret = conf_load_file(conf_file);
+ conf_load_file(conf_file);
/*
* When the same variable is set in both files
@@ -779,8 +777,6 @@ conf_init_file(const char *conf_file)
* have the final say.
*/
conf_init_dir(conf_file);
-
- return ret;
}
/*
diff --git a/tools/nfsconf/nfsconfcli.c b/tools/nfsconf/nfsconfcli.c
index b2ef96d1c600..bd9d52701aa6 100644
--- a/tools/nfsconf/nfsconfcli.c
+++ b/tools/nfsconf/nfsconfcli.c
@@ -135,19 +135,8 @@ int main(int argc, char **argv)
return 1;
}
- if (mode != MODE_SET && mode != MODE_UNSET) {
- if (conf_init_file(confpath)) {
- /* config file was missing or had an error, warn about it */
- if (verbose || mode != MODE_ISSET) {
- fprintf(stderr, "Error loading config file %s\n",
- confpath);
- }
-
- /* this isnt fatal for --isset */
- if (mode != MODE_ISSET)
- return 1;
- }
- }
+ if (mode != MODE_SET && mode != MODE_UNSET)
+ conf_init_file(confpath);
/* --dump mode, output the current configuration */
if (mode == MODE_DUMP) {
--
2.43.0

View File

@ -1,51 +0,0 @@
From f05af7d9924b5e455f4e750c1e8985c560784fce Mon Sep 17 00:00:00 2001
From: Olga Kornievskaia <kolga@netapp.com>
Date: Mon, 11 Dec 2023 08:50:57 -0500
Subject: [PATCH 2/6] gssd: revert commit 513630d720bd
In preparation for using rpc_gss_seccreate(), revert commit 513630d720bd
"gssd: handle KRB5_AP_ERR_BAD_INTEGRITY for machine credentials"
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
---
utils/gssd/gssd_proc.c | 16 +---------------
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c
index e5cc1d98..4fb6b72d 100644
--- a/utils/gssd/gssd_proc.c
+++ b/utils/gssd/gssd_proc.c
@@ -412,27 +412,13 @@ create_auth_rpc_client(struct clnt_info *clp,
tid, tgtname);
auth = authgss_create_default(rpc_clnt, tgtname, &sec);
if (!auth) {
- if (sec.minor_status == KRB5KRB_AP_ERR_BAD_INTEGRITY) {
- printerr(2, "WARNING: server=%s failed context "
- "creation with KRB5_AP_ERR_BAD_INTEGRITY\n",
- clp->servername);
- if (cred == GSS_C_NO_CREDENTIAL)
- retval = gssd_refresh_krb5_machine_credential(clp->servername,
- "*", NULL, 1);
- if (!retval) {
- auth = authgss_create_default(rpc_clnt, tgtname,
- &sec);
- if (auth)
- goto success;
- }
- }
/* Our caller should print appropriate message */
printerr(2, "WARNING: Failed to create krb5 context for "
"user with uid %d for server %s\n",
uid, tgtname);
goto out_fail;
}
-success:
+
/* Success !!! */
rpc_clnt->cl_auth = auth;
*clnt_return = rpc_clnt;
--
2.46.0

View File

@ -1,188 +0,0 @@
From 6a714409b17ad2cca99d497129fc944a808eb446 Mon Sep 17 00:00:00 2001
From: NeilBrown <neilb@suse.de>
Date: Mon, 27 Nov 2023 10:35:56 -0500
Subject: [PATCH] conffile: allow /usr/etc to provide any config files expected
in /etc
If any config file is configured to be in /etc, also read from /usr/etc.
This followed a growing trend of moving as much as possible out of /
and into /usr.
See https://en.opensuse.org/openSUSE:Packaging_UsrEtc
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
---
support/nfs/conffile.c | 26 +++++++++++++++-----------
support/nfsidmap/idmapd.conf.5 | 15 ++++++++++++++-
systemd/nfs.conf.man | 23 ++++++++++++++---------
systemd/nfs.systemd.man | 10 +++++++++-
utils/mount/nfsmount.conf.man | 19 ++++++++++---------
5 files changed, 62 insertions(+), 31 deletions(-)
--- a/support/nfs/conffile.c
+++ b/support/nfs/conffile.c
@@ -763,19 +763,23 @@ conf_init_file(const char *conf_file)
if (conf_file == NULL)
conf_file = NFS_CONFFILE;
- /*
- * First parse the give config file
- * then parse the config.conf.d directory
- * (if it exists)
+ /* If the config file is in /etc (normal) then check
+ * /usr/etc first. Also check config.conf.d for files
+ * names *.conf.
+ *
+ * Content or later files always over-rides earlier
+ * files.
*/
- conf_load_file(conf_file);
+ if (strncmp(conf_file, "/etc/", 5) == 0) {
+ char *usrconf = NULL;
- /*
- * When the same variable is set in both files
- * the conf.d file will override the config file.
- * This allows automated admin systems to
- * have the final say.
- */
+ if (asprintf(&usrconf, "/usr%s", conf_file) > 0 && usrconf) {
+ conf_load_file(usrconf);
+ conf_init_dir(usrconf);
+ free(usrconf);
+ }
+ }
+ conf_load_file(conf_file);
conf_init_dir(conf_file);
}
--- a/support/nfsidmap/idmapd.conf.5
+++ b/support/nfsidmap/idmapd.conf.5
@@ -37,7 +37,7 @@ Configuration file for libnfsidmap. Use
.SH DESCRIPTION
The
.B idmapd.conf
-configuration file consists of several sections, initiated by strings of the
+configuration files consists of several sections, initiated by strings of the
form [General] and [Mapping]. Each section may contain lines of the form
.nf
variable = value
@@ -398,6 +398,19 @@ LDAP_base = dc=org,dc=domain
.\" Additional sections
.\" -------------------------------------------------------------------
.\"
+.SH FILES
+.I /usr/etc/idmapd.conf
+.br
+.I /usr/etc/idmapd.conf.d/*.conf
+.br
+.I /etc/idmapd.conf
+.br
+.I /etc/idmapd.conf.d/*.conf
+.br
+.IP
+Files are read in the order listed. Later settings override earlier
+settings.
+
.SH SEE ALSO
.BR idmapd (8)
.BR svcgssd (8)
--- a/systemd/nfs.conf.man
+++ b/systemd/nfs.conf.man
@@ -2,10 +2,13 @@
.SH NAME
nfs.conf \- general configuration for NFS daemons and tools
.SH SYNOPSIS
+.I /usr/etc/nfs.conf
+.I /usr/etc/nfs.conf.d/
.I /etc/nfs.conf
+.I /etc/nfs.conf.d/
.SH DESCRIPTION
.PP
-This file contains site-specific configuration for various NFS daemons
+These files contain site-specific configuration for various NFS daemons
and other processes. Most configuration can also be passed to
processes via command line arguments, but it can be more convenient to
have a central file. In particular, this encourages consistent
@@ -314,15 +317,17 @@ See
for deatils.
.SH FILES
-.TP 10n
+.I /usr/etc/nfs.conf
+.br
+.I /usr/etc/nfs.conf.d/*.conf
+.br
.I /etc/nfs.conf
-Default NFS client configuration file
-.TP 10n
-.I /etc/nfs.conf.d
-When this directory exists and files ending
-with ".conf" exist, those files will be
-used to set configuration variables. These
-files will override variables set in /etc/nfs.conf
+.br
+.I /etc/nfs.conf.d/*.conf
+.br
+.IP
+Various configuration files read in order. Later settings override
+earlier settings.
.SH SEE ALSO
.BR nfsdcltrack (8),
.BR rpc.nfsd (8),
--- a/systemd/nfs.systemd.man
+++ b/systemd/nfs.systemd.man
@@ -27,7 +27,9 @@ any command line arguments to daemons so
behavior. In many case such configuration can be performed by making
changes to
.I /etc/nfs.conf
-or other configuration files. When that is not convenient, a
+or other configuration files (see
+.BR nfs.conf (5)).
+When that is not convenient, a
distribution might provide systemd "drop-in" files which replace the
.B ExecStart=
setting to start the program with different arguments. For example a
@@ -171,6 +173,12 @@ running, it can be masked with
/etc/nfsmount.conf
.br
/etc/idmapd.conf
+.P
+Also similar files in
+.B /usr/etc
+and in related
+.I conf.d
+drop-in directories.
.SH SEE ALSO
.BR systemd.unit (5),
.BR nfs.conf (5),
--- a/utils/mount/nfsmount.conf.man
+++ b/utils/mount/nfsmount.conf.man
@@ -115,16 +115,17 @@ All mounts to the '/export/home' export
the background (i.e. done asynchronously).
.RE
.SH FILES
-.TP 10n
+.I /usr/etc/nfsmount.conf
+.br
+.I /usr/etc/nfsmount.conf.d/*.conf
+.br
.I /etc/nfsmount.conf
-Default NFS mount configuration file
-.TP 10n
-.I /etc/nfsmount.conf.d
-When this directory exists and files ending
-with ".conf" exist, those files will be
-used to set configuration variables. These
-files will override variables set
-in /etc/nfsmount.conf
+.br
+.I /etc/nfsmount.conf.d/*.conf
+.br
+.IP
+Default NFS mount configuration files, variables set in the later file
+over-ride those in the earlier file.
.PD
.SH SEE ALSO
.BR nfs (5),

View File

@ -1,60 +0,0 @@
From 3abf6b5223af0ccf07d217d71978ee7987acce88 Mon Sep 17 00:00:00 2001
From: Olga Kornievskaia <kolga@netapp.com>
Date: Mon, 11 Dec 2023 08:52:47 -0500
Subject: [PATCH 3/6] gssd: switch to using rpc_gss_seccreate()
If available from the libtirpc library, switch to using
rpc_gss_seccreate() instead of authgss_create_default() which does not
expose gss error codes.
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
---
utils/gssd/gssd_proc.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c
index 4fb6b72d..99761157 100644
--- a/utils/gssd/gssd_proc.c
+++ b/utils/gssd/gssd_proc.c
@@ -70,6 +70,9 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <syscall.h>
+#ifdef HAVE_TIRPC_GSS_SECCREATE
+#include <rpc/rpcsec_gss.h>
+#endif
#include "gssd.h"
#include "err_util.h"
@@ -330,6 +333,11 @@ create_auth_rpc_client(struct clnt_info *clp,
struct timeval timeout;
struct sockaddr *addr = (struct sockaddr *) &clp->addr;
socklen_t salen;
+#ifdef HAVE_TIRPC_GSS_SECCREATE
+ rpc_gss_options_req_t req;
+ rpc_gss_options_ret_t ret;
+ char mechanism[] = "kerberos_v5";
+#endif
pthread_t tid = pthread_self();
sec.qop = GSS_C_QOP_DEFAULT;
@@ -410,7 +418,14 @@ create_auth_rpc_client(struct clnt_info *clp,
printerr(3, "create_auth_rpc_client(0x%lx): creating context with server %s\n",
tid, tgtname);
+#ifdef HAVE_TIRPC_GSS_SECCREATE
+ memset(&req, 0, sizeof(req));
+ req.my_cred = sec.cred;
+ auth = rpc_gss_seccreate(rpc_clnt, tgtname, mechanism,
+ rpcsec_gss_svc_none, NULL, &req, &ret);
+#else
auth = authgss_create_default(rpc_clnt, tgtname, &sec);
+#endif
if (!auth) {
/* Our caller should print appropriate message */
printerr(2, "WARNING: Failed to create krb5 context for "
--
2.46.0

View File

@ -1,115 +0,0 @@
From 46f91dc8f0d9aa31e18327cf3ad61c27551c4cfc Mon Sep 17 00:00:00 2001
From: Ahelenia Ziemiaska <nabijaczleweli@nabijaczleweli.xyz>
Date: Mon, 27 Nov 2023 10:41:04 -0500
Subject: [PATCH] fsidd: call anonymous sockets by their name only, don't fill
with NULs to 108 bytes
Since e00ab3c0616fe6d83ab0710d9e7d989c299088f7, ss -l looks like this:
u_seq LISTEN 0 5 @/run/fsid.sock@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 26989379 * 0
with fsidd pushing all the addresses to 108 bytes wide, which is deeply
egregious if you don't filter it out and recolumnate.
This is because, naturally (unix(7)), "Null bytes in the name have
no special significance": abstract addresses are binary blobs, but
paths automatically terminate at the first NUL byte, since paths
can't contain those.
So just specify the correct address length when we're using the abstract domain:
unix(7) recommends "offsetof(struct sockaddr_un, sun_path) + strlen(sun_path) + 1"
for paths, but we don't want to include the terminating NUL, so it's just
"offsetof(struct sockaddr_un, sun_path) + strlen(sun_path)".
This brings the width back to order:
-- >8 --
$ ss -la | grep @
u_str ESTAB 0 0 @45208536ec96909a/bus/systemd-timesyn/bus-api-timesync 18500238 * 18501249
u_str ESTAB 0 0 @fecc9657d2315eb7/bus/systemd-network/bus-api-network 18495452 * 18494406
u_seq LISTEN 0 5 @/run/fsid.sock 27168796 * 0
u_str ESTAB 0 0 @ac308f35f50797a2/bus/systemd-logind/system 19406 * 15153
u_str ESTAB 0 0 @b6606e0dfacbae75/bus/systemd/bus-api-system 18494353 * 18495334
u_str ESTAB 0 0 @5880653d215718a7/bus/systemd/bus-system 26930876 * 26930003
-- >8 --
Fixes: e00ab3c0616fe6d83ab0710d9e7d989c299088f7 ("fsidd: provide
better default socket name.")
Reviewed-by: NeilBrown <neilb@suse.de>
Signed-off-by: Ahelenia Ziemia?ska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Steve Dickson <steved@redhat.com>
---
support/reexport/fsidd.c | 9 ++++++---
support/reexport/reexport.c | 8 ++++++--
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/support/reexport/fsidd.c b/support/reexport/fsidd.c
index 3e62b3fc1370..8a70b78f6362 100644
--- a/support/reexport/fsidd.c
+++ b/support/reexport/fsidd.c
@@ -147,6 +147,7 @@ int main(void)
{
struct event *srv_ev;
struct sockaddr_un addr;
+ socklen_t addr_len;
char *sock_file;
int srv;
@@ -161,10 +162,12 @@ int main(void)
memset(&addr, 0, sizeof(struct sockaddr_un));
addr.sun_family = AF_UNIX;
strncpy(addr.sun_path, sock_file, sizeof(addr.sun_path) - 1);
- if (addr.sun_path[0] == '@')
+ addr_len = sizeof(struct sockaddr_un);
+ if (addr.sun_path[0] == '@') {
/* "abstract" socket namespace */
+ addr_len = offsetof(struct sockaddr_un, sun_path) + strlen(addr.sun_path);
addr.sun_path[0] = 0;
- else
+ } else
unlink(sock_file);
srv = socket(AF_UNIX, SOCK_SEQPACKET | SOCK_NONBLOCK, 0);
@@ -173,7 +176,7 @@ int main(void)
return 1;
}
- if (bind(srv, (const struct sockaddr *)&addr, sizeof(struct sockaddr_un)) == -1) {
+ if (bind(srv, (const struct sockaddr *)&addr, addr_len) == -1) {
xlog(L_WARNING, "Unable to bind %s: %m\n", sock_file);
return 1;
}
diff --git a/support/reexport/reexport.c b/support/reexport/reexport.c
index 78516586b98e..0fb49a46723c 100644
--- a/support/reexport/reexport.c
+++ b/support/reexport/reexport.c
@@ -21,6 +21,7 @@ static int fsidd_srv = -1;
static bool connect_fsid_service(void)
{
struct sockaddr_un addr;
+ socklen_t addr_len;
char *sock_file;
int ret;
int s;
@@ -33,9 +34,12 @@ static bool connect_fsid_service(void)
memset(&addr, 0, sizeof(struct sockaddr_un));
addr.sun_family = AF_UNIX;
strncpy(addr.sun_path, sock_file, sizeof(addr.sun_path) - 1);
- if (addr.sun_path[0] == '@')
+ addr_len = sizeof(struct sockaddr_un);
+ if (addr.sun_path[0] == '@') {
/* "abstract" socket namespace */
+ addr_len = offsetof(struct sockaddr_un, sun_path) + strlen(addr.sun_path);
addr.sun_path[0] = 0;
+ }
s = socket(AF_UNIX, SOCK_SEQPACKET, 0);
if (s == -1) {
@@ -43,7 +47,7 @@ static bool connect_fsid_service(void)
return false;
}
- ret = connect(s, (const struct sockaddr *)&addr, sizeof(struct sockaddr_un));
+ ret = connect(s, (const struct sockaddr *)&addr, addr_len);
if (ret == -1) {
xlog(L_WARNING, "Unable to connect %s: %m, is fsidd running?\n", sock_file);
return false;
--
2.43.0

View File

@ -1,62 +0,0 @@
From 2bfb59c6f50eb86c21f8e0c33bbf32ec53480fb8 Mon Sep 17 00:00:00 2001
From: Olga Kornievskaia <kolga@netapp.com>
Date: Mon, 11 Dec 2023 08:55:35 -0500
Subject: [PATCH 4/6] gssd: handle KRB5_AP_ERR_BAD_INTEGRITY for machine
credentials
During context establishment, when the client received
KRB5_AP_ERR_BAD_INTEGRITY error, it might be due to the server
updating its key material. To handle such error, get a new
service ticket and re-try the AP_REQ.
This functionality relies on the new API in libtirpc that
exposes the gss errors.
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
---
utils/gssd/gssd_proc.c | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c
index 99761157..29600a3f 100644
--- a/utils/gssd/gssd_proc.c
+++ b/utils/gssd/gssd_proc.c
@@ -427,13 +427,32 @@ create_auth_rpc_client(struct clnt_info *clp,
auth = authgss_create_default(rpc_clnt, tgtname, &sec);
#endif
if (!auth) {
+#ifdef HAVE_TIRPC_GSS_SECCREATE
+ if (ret.minor_status == KRB5KRB_AP_ERR_BAD_INTEGRITY) {
+ printerr(2, "WARNING: server=%s failed context "
+ "creation with KRB5_AP_ERR_BAD_INTEGRITY\n",
+ clp->servername);
+ if (cred == GSS_C_NO_CREDENTIAL)
+ retval = gssd_refresh_krb5_machine_credential(clp->servername,
+ "*", NULL, 1);
+ if (!retval) {
+ auth = rpc_gss_seccreate(rpc_clnt, tgtname,
+ mechanism, rpcsec_gss_svc_none,
+ NULL, &req, &ret);
+ if (auth)
+ goto success;
+ }
+ }
+#endif
/* Our caller should print appropriate message */
printerr(2, "WARNING: Failed to create krb5 context for "
"user with uid %d for server %s\n",
uid, tgtname);
goto out_fail;
}
-
+#ifdef HAVE_TIRPC_GSS_SECCREATE
+success:
+#endif
/* Success !!! */
rpc_clnt->cl_auth = auth;
*clnt_return = rpc_clnt;
--
2.46.0

View File

@ -1,101 +0,0 @@
From 15cd566633b1546f0808d0694ede094b4c99752d Mon Sep 17 00:00:00 2001
From: Olga Kornievskaia <kolga@netapp.com>
Date: Mon, 11 Dec 2023 08:57:28 -0500
Subject: [PATCH 5/6] gssd: handle KRB5_AP_ERR_BAD_INTEGRITY for user
credentials
Unlike the machine credential case, we can't throw away the ticket
cache and use the keytab to renew the credentials. Instead, we
need to remove the service ticket for the server that returned
KRB5_AP_ERR_BAD_INTEGRITY and try again.
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
---
utils/gssd/gssd_proc.c | 2 ++
utils/gssd/krb5_util.c | 42 ++++++++++++++++++++++++++++++++++++++++++
utils/gssd/krb5_util.h | 1 +
3 files changed, 45 insertions(+)
diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c
index 29600a3f..7629de0b 100644
--- a/utils/gssd/gssd_proc.c
+++ b/utils/gssd/gssd_proc.c
@@ -435,6 +435,8 @@ create_auth_rpc_client(struct clnt_info *clp,
if (cred == GSS_C_NO_CREDENTIAL)
retval = gssd_refresh_krb5_machine_credential(clp->servername,
"*", NULL, 1);
+ else
+ retval = gssd_k5_remove_bad_service_cred(clp->servername);
if (!retval) {
auth = rpc_gss_seccreate(rpc_clnt, tgtname,
mechanism, rpcsec_gss_svc_none,
diff --git a/utils/gssd/krb5_util.c b/utils/gssd/krb5_util.c
index f6ce1fec..6f66ef4f 100644
--- a/utils/gssd/krb5_util.c
+++ b/utils/gssd/krb5_util.c
@@ -1553,6 +1553,48 @@ gssd_acquire_user_cred(gss_cred_id_t *gss_cred)
return ret;
}
+/* Removed a service ticket for nfs/<name> from the ticket cache
+ */
+int
+gssd_k5_remove_bad_service_cred(char *name)
+{
+ krb5_creds in_creds, out_creds;
+ krb5_error_code ret;
+ krb5_context context;
+ krb5_ccache cache;
+ krb5_principal principal;
+ int retflags = KRB5_TC_MATCH_SRV_NAMEONLY;
+ char srvname[1024];
+
+ ret = krb5_init_context(&context);
+ if (ret)
+ goto out_cred;
+ ret = krb5_cc_default(context, &cache);
+ if (ret)
+ goto out_free_context;
+ ret = krb5_cc_get_principal(context, cache, &principal);
+ if (ret)
+ goto out_close_cache;
+ memset(&in_creds, 0, sizeof(in_creds));
+ in_creds.client = principal;
+ sprintf(srvname, "nfs/%s", name);
+ ret = krb5_parse_name(context, srvname, &in_creds.server);
+ if (ret)
+ goto out_free_principal;
+ ret = krb5_cc_retrieve_cred(context, cache, retflags, &in_creds, &out_creds);
+ if (ret)
+ goto out_free_principal;
+ ret = krb5_cc_remove_cred(context, cache, 0, &out_creds);
+out_free_principal:
+ krb5_free_principal(context, principal);
+out_close_cache:
+ krb5_cc_close(context, cache);
+out_free_context:
+ krb5_free_context(context);
+out_cred:
+ return ret;
+}
+
#ifdef HAVE_SET_ALLOWABLE_ENCTYPES
/*
* this routine obtains a credentials handle via gss_acquire_cred()
diff --git a/utils/gssd/krb5_util.h b/utils/gssd/krb5_util.h
index 62c91a0e..7ef87018 100644
--- a/utils/gssd/krb5_util.h
+++ b/utils/gssd/krb5_util.h
@@ -22,6 +22,7 @@ char *gssd_k5_err_msg(krb5_context context, krb5_error_code code);
void gssd_k5_get_default_realm(char **def_realm);
int gssd_acquire_user_cred(gss_cred_id_t *gss_cred);
+int gssd_k5_remove_bad_service_cred(char *srvname);
#ifdef HAVE_SET_ALLOWABLE_ENCTYPES
extern int limit_to_legacy_enctypes;
--
2.46.0

View File

@ -1,35 +0,0 @@
From 49567e7d03a5605c590be2135a24d4de8345fa3c Mon Sep 17 00:00:00 2001
From: Olga Kornievskaia <kolga@netapp.com>
Date: Mon, 11 Dec 2023 08:59:43 -0500
Subject: [PATCH 6/6] configure: check for rpc_gss_seccreate
If we have rpc_gss_sccreate in tirpc library define
HAVE_TIRPC_GSS_SECCREATE, which would allow us to handle bad_integrity
errors.
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
---
aclocal/libtirpc.m4 | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/aclocal/libtirpc.m4 b/aclocal/libtirpc.m4
index bddae022..ef48a2ae 100644
--- a/aclocal/libtirpc.m4
+++ b/aclocal/libtirpc.m4
@@ -26,6 +26,11 @@ AC_DEFUN([AC_LIBTIRPC], [
[Define to 1 if your tirpc library provides libtirpc_set_debug])],,
[${LIBS}])])
+ AS_IF([test -n "${LIBTIRPC}"],
+ [AC_CHECK_LIB([tirpc], [rpc_gss_seccreate],
+ [AC_DEFINE([HAVE_TIRPC_GSS_SECCREATE], [1],
+ [Define to 1 if your tirpc library provides rpc_gss_seccreate])],,
+ [${LIBS}])])
AC_SUBST([AM_CPPFLAGS])
AC_SUBST(LIBTIRPC)
--
2.46.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:01b3b0fb9c7d0bbabf5114c736542030748c788ec2fd9734744201e9b0a1119d
size 728280