Commit Graph

359 Commits

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