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

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