Skip to content

Commit

Permalink
Issue #1748: Enable TCP for NFS v2 and v3
Browse files Browse the repository at this point in the history
Fixes: #1748
Signed-off-by: Volker Theile <votdev@gmx.de>
  • Loading branch information
votdev committed May 24, 2024
1 parent f805692 commit 098dd43
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deb/openmediavault/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openmediavault (7.1.2-1) stable; urgency=low

*
* Issue #1748: Enable TCP for NFS v2 and v3.

-- Volker Theile <volker.theile@openmediavault.org> Fri, 24 May 2024 17:46:40 +0200

Expand Down
3 changes: 3 additions & 0 deletions deb/openmediavault/debian/openmediavault.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,9 @@ case "$1" in
if dpkg --compare-versions "$2" lt-nl "7.1.1"; then
omv_module_set_dirty nfs
fi
if dpkg --compare-versions "$2" lt-nl "7.1.2"; then
omv_module_set_dirty nfs
fi

########################################################################
# Trigger the restart of the omv-engined daemon to load and use the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[nfsd]
threads={{ grains['num_cpus'] * 4 }}
udp={{ (['2', '3'] | intersect(nfs_versions) | length > 0) | yesno }}
tcp={{ (nfs_versions | difference(['2', '3']) | length > 0) | yesno }}
tcp=yes
vers2={{ ('2' in nfs_versions) | yesno }}
vers3={{ ('3' in nfs_versions) | yesno }}
vers4={{ (['4', '4.1', '4.2'] | intersect(nfs_versions) | length > 0) | yesno }}
Expand Down

0 comments on commit 098dd43

Please sign in to comment.