From bdd7245cb7bd38579b4df5d80de5d06dc8dc02c9 Mon Sep 17 00:00:00 2001 From: lub Date: Mon, 3 Jan 2022 20:29:38 +0100 Subject: [PATCH] add fuse_set_user_groups to client conf --- update_conf.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/update_conf.sh b/update_conf.sh index 39cf8b6..fa2e254 100755 --- a/update_conf.sh +++ b/update_conf.sh @@ -6,4 +6,11 @@ for conf in $(find /ceph -name ceph.conf); do cp -a /ceph/ceph.conf "$conf" done -rm /ceph/ceph.conf \ No newline at end of file +# this prevents log spam due to a missing feature when using fuse from within docker +# https://tracker.ceph.com/issues/23446#note-2 +ceph_client_conf='/ceph/client/etc/ceph/ceph.conf' +if [ -e "$ceph_client_conf" ]; then + echo '\tfuse_set_user_groups = false' >> "$ceph_client_conf" +fi + +rm /ceph/ceph.conf