Debian Patches

Status for nfs-utils/1:1.3.4-6

Patch Description Author Forwarded Bugs Origin Last update
21-no-more-var-run.patch 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).
Steve Langasek <vorlon@debian.org> no
01-sm-notify-in-sbin.patch no
03-handle-mtab-symlink.patch no
17-multiarch-kerberos-paths.patch no
19-iscsiadm-path.patch =================================================================== no
24-systemd-pipefs_in_run.patch systemd: Mount rpc_pipefs in /run instead of /var/lib/nfs/
diff --git a/systemd/nfs-blkmap.service b/systemd/nfs-blkmap.service
index ddbf4e9..69a8970 100644
Martin Pitt <martin.pitt@ubuntu.com> no
25-systemd-daemon-paths.patch Adjust program paths in systemd units
===================================================================
Martin Pitt <martin.pitt@ubuntu.com> no
27-systemd-enable-with-systemctl-statd.patch 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.

diff --git a/systemd/nfs-client.target b/systemd/nfs-client.target
index 8a8300a..55f82ee 100644
Didier Roche <didrocks@ubuntu.com> no
unbreak-blkmapd-rpc_pipefs-run.patch 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).


diff --git a/utils/blkmapd/device-discovery.c b/utils/blkmapd/device-discovery.c
index 69f00fa..7b00c90 100644
Christoph Hellwig <hch@lst.de> no debian
unbreak-gssd-rpc_pipefs-run.patch 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
Andreas Henriksson <andreas@fatal.se> no debian
28-nfs-utils_env-location.patch diff -u a/systemd/nfs-config.service systemd/nfs-config.service no
29-start-statd-fd-9.patch diff --git a/utils/statd/start-statd b/utils/statd/start-statd
index 2fd6039..82715b4 100755
no
0001-rpc.c-added-include-file-so-UINT16_MAX-is-defined.patch rpc.c: added include file so UINT16_MAX is defined. Steve Dickson <steved@redhat.com> no 2017-06-22
30-remove-whitespace-service.patch Remove extra boggus whitespaces from .service files Laurent Bigonville <bigon@debian.org> no
fix-glibc2.28-ftbfs.patch =================================================================== no
0010-gssd-replace-non-thread-safe-strtok-with-strsep.patch 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().
Frank Sorenson <sorenson@redhat.com> yes debian upstream upstream, http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commitdiff;h=5ae8be8 2019-04-05
0011-gssd-Duplicate-the-upcall-string-for-error-messages.patch 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.
Frank Sorenson <sorenson@redhat.com> yes debian upstream upstream, http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commitdiff;h=0a4f5e4 2019-04-05
nfsiostat-replace-list-reserved-word.patch nfsiostat: replace 'list' reserved word
list is a reserved word in python and should not be used as a variable
name. Changing list to devicelist for list_nfs_mounts()
Matthew Ruffell <matthew.ruffell@canonical.com> no debian http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commitdiff;h=c4c14011b70375050d7bba7c57e2eaf4c715dc7c 2019-03-28
statd-take-user-id-from-var-lib-nfs-sm.patch statd: take user-id from /var/lib/nfs/sm
Having /var/lib/nfs writeable by statd is not ideal
as there are files in there that statd doesn't need
to access.
After dropping privs, statd and sm-notify only need to
access files in the directories sm and sm.bak.
So take the uid for these deamons from 'sm'.
NeilBrown <neilb@suse.de> yes debian upstream https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=fee2cc29e888f2ced6a76990923aef19d326dc0e 2019-10-14
Allow-compilation-to-succeed-with-fno-common.patch Allow compilation to succeed with -fno-common
When compiled with -fno-common, global variables that are declared
multple times cause an error. With -fcommon (the default), they are
merged.

Declaring such variable multiple times is probably not a good idea, and
is definitely not necessary.

This patch changes all the global variables defined in include files to
be explicitly "extern", and where necessary, adds the variable
declaration to a suitable .c file.

To test, run
CFLAGS=-fno-common ./configure
make

[Salvatore Bonaccorso: Backport to 1.3.4:
- Drop changes in utils/nfsdcld/
- support/nfs/conffile.c: Drop definition of conf_path
]
NeilBrown <neilb@suse.de> no debian https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=1eafe05616b4660fb15d106e06f0b3e18983708c 2020-02-07
mountstats-Remove-a-shebang.patch mountstats: Remove a shebang
There might be an issue that the script is executed with unwanted
version of <lang>.
Steve Dickson <steved@redhat.com> no https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=caa59a30b78dedea99a2317da95bb86810360645 2017-07-27
Convert-remaining-python-scripts-to-python3.patch Convert remaining python scripts to python3
nfs-utils contains 4 python scripts, two request
/usr/bin/python3
in their shebang line, two request
/usr/bin/python

Those latter two run perfectly well with python3 and as python2 is on the
way out, change them so they requrest /usr/bin/python3.
"Signed-off-by: NeilBrown" <neilb@suse.de> no debian https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=d1683f356bd920d93f2db007902b2c46f97a2e49 2020-08-31
Removed-a-resource-leak-from-mountd-fsloc.c.patch Removed a resource leak from mountd/fsloc.c
mountd/fsloc.c:97: overwrite_var: Overwriting "mp" in
"mp = calloc(1UL, 16UL)" leaks the storage that "mp" points to.
Steve Dickson <steved@redhat.com> no debian https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=26b84f73adc2ff9011bea307c47a4c0cdf4a3031 2019-04-26

All known versions for source package 'nfs-utils'

Links