Commit Graph

116 Commits

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