Blame SOURCES/kvm-iotests-108-Fix-when-missing-user_allow_other.patch

29b115
From 447bca651c9156d7aba6b7495c75f19b5e4ed53f Mon Sep 17 00:00:00 2001
29b115
From: Hanna Reitz <hreitz@redhat.com>
29b115
Date: Thu, 21 Apr 2022 16:24:35 +0200
29b115
Subject: [PATCH 07/16] iotests/108: Fix when missing user_allow_other
29b115
29b115
RH-Author: Hanna Reitz <hreitz@redhat.com>
29b115
RH-MergeRequest: 96: qcow2: Improve refcount structure rebuilding
29b115
RH-Commit: [4/4] a51ab8606fc9d8dea2b6539f4e795d5813892a5c (hreitz/qemu-kvm-c-9-s)
29b115
RH-Bugzilla: 2072379
29b115
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
29b115
RH-Acked-by: Eric Blake <eblake@redhat.com>
29b115
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
29b115
29b115
FUSE exports' allow-other option defaults to "auto", which means that it
29b115
will try passing allow_other as a mount option, and fall back to not
29b115
using it when an error occurs.  We make no effort to hide fusermount's
29b115
error message (because it would be difficult, and because users might
29b115
want to know about the fallback occurring), and so when allow_other does
29b115
not work (primarily when /etc/fuse.conf does not contain
29b115
user_allow_other), this error message will appear and break the
29b115
reference output.
29b115
29b115
We do not need allow_other here, though, so we can just pass
29b115
allow-other=off to fix that.
29b115
29b115
Reported-by: Markus Armbruster <armbru@redhat.com>
29b115
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
29b115
Message-Id: <20220421142435.569600-1-hreitz@redhat.com>
29b115
Tested-by: Markus Armbruster <armbru@redhat.com>
29b115
Tested-by: Eric Blake <eblake@redhat.com>
29b115
(cherry picked from commit 348a0740afc5b313599533eb69bbb2b95d2f1bba)
29b115
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
29b115
---
29b115
 tests/qemu-iotests/108 | 2 +-
29b115
 1 file changed, 1 insertion(+), 1 deletion(-)
29b115
29b115
diff --git a/tests/qemu-iotests/108 b/tests/qemu-iotests/108
29b115
index a3090e2875..4681c7c769 100755
29b115
--- a/tests/qemu-iotests/108
29b115
+++ b/tests/qemu-iotests/108
29b115
@@ -326,7 +326,7 @@ else
29b115
 
29b115
     $QSD \
29b115
         --blockdev file,node-name=export-node,filename="$TEST_IMG" \
29b115
-        --export fuse,id=fuse-export,node-name=export-node,mountpoint="$export_mp",writable=on,growable=off \
29b115
+        --export fuse,id=fuse-export,node-name=export-node,mountpoint="$export_mp",writable=on,growable=off,allow-other=off \
29b115
         --pidfile "$TEST_DIR/qsd.pid" \
29b115
         &
29b115
 
29b115
-- 
29b115
2.31.1
29b115