Bug#1003206: firefox: opening an unsupported text/* file with Emacs silently fails

Vincent Lefevre vincent at vinc17.net
Fri Jan 7 03:11:04 GMT 2022


Control: reassign -1 libglib2.0-0 2.70.2-1
Control: retitle -1 libglib2.0-0: the terminal for desktop files with Terminal=true should be configurable
Control: tags -1 upstream
Control: forwarded -1 https://gitlab.gnome.org/GNOME/glib/-/issues/338
Control: affects firefox

On 2022-01-07 10:25:36 +0900, Mike Hommey wrote:
> On Fri, Jan 07, 2022 at 02:23:44AM +0100, Vincent Lefevre wrote:
> > On 2022-01-07 10:18:11 +0900, Mike Hommey wrote:
> > > Firefox starts whatever glib tells it is in the desktop file. If the
> > > command in the desktop file ends up running urxvt, it's not Firefox's
> > > fault. If the desktop file says "Terminal=true" and glib tells Firefox
> > > to run urxvt, it's not Firefox's fault.
> > 
> > OK, so the bug would be in libglib2.0-0 (which uses a hardcoded
> > list of terminals as said in the reddit post I've mentioned in
> > my other message)?
> 
> Apparently yes.

So reassigning.

Concerning the urxvt failure, this is due to the fact that firejail
blacklists Perl for security reasons and urxvt needs Perl modules.
As a workaround, firejail should also blacklist rxvt in this case,
so that glib won't see it and won't try to run it (so it will run
xterm instead). I've submitted a pull request for firejail:

  https://github.com/netblue30/firejail/pull/4831

and also reported a bug for Debian:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003259

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the pkg-gnome-maintainers mailing list