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
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
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
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
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
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
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
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
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
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
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