Package: nfs-utils / 1:1.3.4-2.5

Metadata

Package Version Patches format
nfs-utils 1:1.3.4-2.5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
21 no more var run.patch | (download)

systemd/nfs-blkmap.service | 2 1 + 1 - 0 !
utils/blkmapd/device-discovery.c | 2 1 + 1 - 0 !
utils/statd/sm-notify.c | 4 2 + 2 - 0 !
utils/statd/statd.c | 2 1 + 1 - 0 !
utils/statd/statd.man | 2 1 + 1 - 0 !
5 files changed, 6 insertions(+), 6 deletions(-)

 pid files should be in /run, not /var/run
 Now that the /run transition is a stable release behind us, we should always
 use /run, not /var/run, for PID files.  This improves our out-of-the-box
 compatibility with /var being on a separate filesystem (possibly even an
 NFS mount itself).
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1157171


01 sm notify in sbin.patch | (download)

utils/statd/statd.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
03 handle mtab symlink.patch | (download)

utils/mount/fstab.c | 2 1 + 1 - 0 !
utils/mount/fstab.h | 1 1 + 0 - 0 !
utils/mount/mount.c | 7 7 + 0 - 0 !
3 files changed, 9 insertions(+), 1 deletion(-)

---
17 multiarch kerberos paths.patch | (download)

aclocal/kerberos5.m4 | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

---
19 iscsiadm path.patch | (download)

utils/osd_login/osd_login | 6 2 + 4 - 0 !
1 file changed, 2 insertions(+), 4 deletions(-)

---
24 systemd pipefs_in_run.patch | (download)

systemd/nfs-blkmap.service | 4 2 + 2 - 0 !
systemd/nfs-idmapd.service | 4 2 + 2 - 0 !
systemd/rpc-gssd.service | 4 2 + 2 - 0 !
systemd/rpc-svcgssd.service | 4 2 + 2 - 0 !
systemd/run-rpc_pipefs.mount | 9 9 + 0 - 0 !
systemd/var-lib-nfs-rpc_pipefs.mount | 10 0 + 10 - 0 !
6 files changed, 17 insertions(+), 18 deletions(-)

 systemd: mount rpc_pipefs in /run instead of /var/lib/nfs/
25 systemd daemon paths.patch | (download)

systemd/rpc-statd-notify.service | 2 1 + 1 - 0 !
systemd/rpc-statd.service | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 adjust program paths in systemd units
27 systemd enable with systemctl statd.patch | (download)

systemd/nfs-client.target | 4 1 + 3 - 0 !
systemd/nfs-server.service | 3 1 + 2 - 0 !
systemd/rpc-statd-notify.service | 3 3 + 0 - 0 !
systemd/rpc-statd.service | 5 4 + 1 - 0 !
4 files changed, 9 insertions(+), 6 deletions(-)

 let sysadmins enable/disable statd services
 As the admin was able to control under upstart the statd services with
 NEED_STATD in default conffiles, mirror this funcationality under systemd
 by letting the user systemctl enable/disable statd services.
unbreak blkmapd rpc_pipefs run.patch | (download)

utils/blkmapd/device-discovery.c | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 nfs-common: move of rpc_pipefs mountpoint to /run breaks blkmapd

commit ba649fa4 ("Migrate the rpc_pipefs mount out of /var/lib to /run, to
better support /var on NFS.") in the Debian packaging repo completely
broke blkmapd, which still looks for rpc_pipefs in the old place.
From looking in the BTS gssd also seems to have the same problem (#632141).

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828826

unbreak gssd rpc_pipefs run.patch | (download)

utils/gssd/gssd.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 move of rpc_pipefs mountpoint to /run breaks gssd

This is a followup patch for gssd also needing to know about the new
rpc_pipefs location, as mentioned in https://bugs.debian.org/828826

Bug-Debian: https://bugs.debian.org/632141


28 nfs utils_env location.patch | (download)

nfs-config.service | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
29 start statd fd 9.patch | (download)

utils/statd/start-statd | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

---
0001 rpc.c added include file so UINT16_MAX is defined.patch | (download)

support/nsm/rpc.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 rpc.c: added include file so uint16_max is defined.

Signed-off-by: Steve Dickson <steved@redhat.com>

30 remove whitespace service.patch | (download)

systemd/nfs-server.service | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 remove extra boggus whitespaces from .service files
fix glibc2.28 ftbfs.patch | (download)

utils/blkmapd/device-discovery.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

---
0010 gssd replace non thread safe strtok with strsep.patch | (download)

utils/gssd/gssd_proc.c | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 gssd: replace non-thread-safe strtok with strsep

gssd uses the non-thread-safe strtok() function, which
can lead to incorrect program behavior.

Replace strtok() with the thread-safe strsep().

Signed-off-by: Frank Sorenson <sorenson@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>

0011 gssd Duplicate the upcall string for error messages.patch | (download)

utils/gssd/gssd_proc.c | 17 13 + 4 - 0 !
1 file changed, 13 insertions(+), 4 deletions(-)

 gssd:  duplicate the upcall string for error messages

strsep() modifies the input string, so error messages
may output only part of the upcall string.

Make a copy of the upcall string, and use that in any
error messages.

Signed-off-by: Frank Sorenson <sorenson@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>