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