Commit Graph

247 Commits

Author SHA256 Message Date
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 -> 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