Package: apparmor-profiles-extra

Version: 1.26

Severity: normal

Tags: patch



Dear Maintainer,



The AppArmor profile prevents Totem from creating a screenshot gallery
 (Hamburger button → Create Screenshot Gallery…). In stderr I see:

    (totem:8010): Totem-WARNING **: 11:00:40.725: Error spawning 
totem-video-thumbnailer: Failed to executechild process 
“/usr/lib/x86_64-linux-gnu/totem-gallery-thumbnailer” (Permission denied)

So it is just a matter of
 allowing totem-gallery-thumbnailer to be executed. See the attached patch!
 Honestly, I'm not 100% sure about the "ix"-part, but at least it works for me.


Cheers!







-- System Information:

Debian Release: 10.7

Architecture: amd64 (x86_64)



Kernel: Linux 5.9.0-0.bpo.2-amd64 (SMP w/2 CPU cores)

Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)

Shell: /bin/sh linked to /bin/dash

Init: systemd (via /run/systemd/system)

LSM: AppArmor: enabled



Versions of packages apparmor-profiles-extra depends on:

ii  apparmor  2.13.2-10



apparmor-profiles-extra recommends no packages.



apparmor-profiles-extra suggests no packages.



-- no debconf information
--- usr.bin.totem.orig	2020-12-18 11:21:45.056000000 +0000
+++ usr.bin.totem	2020-12-18 11:22:08.212000000 +0000
@@ -20,6 +20,7 @@
 
   /usr/bin/totem r,
   /usr/bin/totem-video-thumbnailer Pix,
+  /usr/lib/x86_64-linux-gnu/totem-gallery-thumbnailer ix,
   /usr/bin/bwrap PUx,
   /usr/lib/@{multiarch}/libtotem-plparser[0-9]*/totem-pl-parser/* ix,
   /dev/sr* r,

Reply via email to