Commit Graph

158 Commits

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