Commit Graph

281 Commits

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