Add apparmor rule to fix thumbnails (ubuntu/latest)
Desktop Icons NG uses libgnome-shell to generate thumbnails. Internally, it uses bwrap to execute the thumbnailer inside a container. Unfortunately, this no loger works directly due to the security changes done in Ubuntu 23.10, which disables, by default, user namespaces, and requires specific rule files for each application that needs it.
More info in https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces
This patch adds an apparmor exception file to ensure that it works. Without it, the thumbnailer just fails.
Closes: https://gitlab.com/rastersoft/desktop-icons-ng/-/issues/325
Relates to: https://bugs.launchpad.net/bugs/2064849
Edited by Sergio Costas