Source: gnome-desktop3
Version: 3.33.91-1
Severity: normal
Tags: patch

The path /etc/alternatives must be added to the list of bwrap bind mounts 
because it is needed for thumbnailers that use imagemagick (e.g. the 
thumbnailer in geogebra-gnome). The attached patch fixes this issue for the 
latest version in experimental.

Could you please fix this issue also in current Debian stable (buster)? We are 
supporting may schools that use Debian and are now missing the thumbnails of 
their GeoGebra files.

Regards

Ronny Standtke

From 7dbf4c22983680a76ccc038c2ea894e2bfa48fb1 Mon Sep 17 00:00:00 2001
From: Ronny Standtke <ronny.stand...@gmx.net>
Date: Sun, 1 Sep 2019 12:39:07 +0200
Subject: [PATCH] added /etc/alternatives to bind mounts because it is needed
 for thumbnailers that use imagemagick (e.g. the thumbnailer in
 geogebra-gnome)

---
 libgnome-desktop/gnome-desktop-thumbnail-script.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libgnome-desktop/gnome-desktop-thumbnail-script.c b/libgnome-desktop/gnome-desktop-thumbnail-script.c
index 0aa26444..f2550401 100644
--- a/libgnome-desktop/gnome-desktop-thumbnail-script.c
+++ b/libgnome-desktop/gnome-desktop-thumbnail-script.c
@@ -540,6 +540,7 @@ add_bwrap (GPtrArray   *array,
   add_args (array,
 	    "bwrap",
 	    "--ro-bind", "/usr", "/usr",
+	    "--ro-bind", "/etc/alternatives", "/etc/alternatives",
 	    "--ro-bind", "/etc/ld.so.cache", "/etc/ld.so.cache",
 	    NULL);
 
-- 
2.20.1

Reply via email to