Egregoros

Signal feed

Timeline

Post

Remote status

Context

2

Replies

10
@fiore Nothing about this is edge case. If you run any Gtk app sandboxed in firejail and open the file picker, the app will crash because gdk-pixbuf (more precisely glycin) can't handle being sandboxed like that. Gnome released a "fix" that was supposed to check whether the app was already sandboxed to disable bwrap, but that never worked. Gnome learned about the issue, released a fix that didn't work and didn't care beyond that.

Here's Audacity crashing, because I run it sandboxed after the whole network telemetry enabled by default thing: https://github.com/netblue30/firejail/issues/6940
@fiore I'm not even mad that they use bwrap since images are a notorious security vector. But at least put the effort to test it properly before release and fix things when it breaks especially when others report it. Even the release changelog doesn't mention that it might break when sandboxed outside build systems. It's not that unheard of to sandbox various GUI apps, especially when Flatpak heavily popularized it.

Note that this change has some potential for fallout: use of gdk-pixbuf (e.g. for pixdata conversions) will fail if bubblewrap sandboxing is not available (as is the case in many build systems). The recommendation is to simply stop using pixdata as a format for resources, and just use png.
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/releases/2.43.2