summaryrefslogtreecommitdiffstats
path: root/debian/patches/exportfs-fsid-optional.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:52:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:52:36 +0000
commit1749bf0f4f53574b18e5c0fc679c991ffab570e4 (patch)
tree1a8e66c93085cc55a8a4fe84e307c4bbfdeb84fa /debian/patches/exportfs-fsid-optional.patch
parentAdding upstream version 1:4.13.0. (diff)
downloadresource-agents-1749bf0f4f53574b18e5c0fc679c991ffab570e4.tar.xz
resource-agents-1749bf0f4f53574b18e5c0fc679c991ffab570e4.zip
Adding debian version 1:4.13.0-1.debian/1%4.13.0-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/exportfs-fsid-optional.patch')
-rw-r--r--debian/patches/exportfs-fsid-optional.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/debian/patches/exportfs-fsid-optional.patch b/debian/patches/exportfs-fsid-optional.patch
new file mode 100644
index 0000000..9889981
--- /dev/null
+++ b/debian/patches/exportfs-fsid-optional.patch
@@ -0,0 +1,46 @@
+From 1d1481aa6d848efab4d398ad6e74d80b5b32549f Mon Sep 17 00:00:00 2001
+From: Valentin Vidic <vvidic@debian.org>
+Date: Wed, 1 Nov 2023 18:25:45 +0100
+Subject: [PATCH] exportfs: remove test for "fsid=" parameter
+
+fsid parameter is now considered optional.
+---
+ tools/ocft/exportfs | 5 -----
+ tools/ocft/exportfs-multidir | 5 -----
+ 2 files changed, 10 deletions(-)
+
+diff --git a/tools/ocft/exportfs b/tools/ocft/exportfs
+index 285a4b8e..1ec3d4c3 100644
+--- a/tools/ocft/exportfs
++++ b/tools/ocft/exportfs
+@@ -28,11 +28,6 @@ CASE "check base env"
+ Include prepare
+ AgentRun start OCF_SUCCESS
+
+-CASE "check base env: no 'OCF_RESKEY_fsid'"
+- Include prepare
+- Env OCF_RESKEY_fsid=
+- AgentRun start OCF_ERR_CONFIGURED
+-
+ CASE "check base env: invalid 'OCF_RESKEY_directory'"
+ Include prepare
+ Env OCF_RESKEY_directory=/no_such
+diff --git a/tools/ocft/exportfs-multidir b/tools/ocft/exportfs-multidir
+index 00e41f08..ac6d5c7f 100644
+--- a/tools/ocft/exportfs-multidir
++++ b/tools/ocft/exportfs-multidir
+@@ -28,11 +28,6 @@ CASE "check base env"
+ Include prepare
+ AgentRun start OCF_SUCCESS
+
+-CASE "check base env: no 'OCF_RESKEY_fsid'"
+- Include prepare
+- Env OCF_RESKEY_fsid=
+- AgentRun start OCF_ERR_CONFIGURED
+-
+ CASE "check base env: invalid 'OCF_RESKEY_directory'"
+ Include prepare
+ Env OCF_RESKEY_directory=/no_such
+--
+2.39.2
+