diff options
author | Vincent Lefevre <vincent@vinc17.net> | 2022-01-07 03:25:03 +0100 |
---|---|---|
committer | Vincent Lefevre <vincent@vinc17.net> | 2022-01-07 03:25:03 +0100 |
commit | ed5c259fcc106b8b07f056f65e828c680fec9562 (patch) | |
tree | a6aea2ec0c6bb28e1f6071e32960c7e0c4c77f2c | |
parent | Merge pull request #4830 from glitsj16/ordering-fixes (diff) | |
download | firejail-ed5c259fcc106b8b07f056f65e828c680fec9562.tar.gz firejail-ed5c259fcc106b8b07f056f65e828c680fec9562.tar.zst firejail-ed5c259fcc106b8b07f056f65e828c680fec9562.zip |
Blacklist rxvt after the blacklist of Perl.
rxvt needs Perl modules, thus does not work. And its blacklist is
needed so that Firefox can run applications with Terminal=true in
their .desktop file (depending on what is installed).
-rw-r--r-- | etc/inc/disable-interpreters.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/inc/disable-interpreters.inc b/etc/inc/disable-interpreters.inc index 804869e2a..ca43e5ed9 100644 --- a/etc/inc/disable-interpreters.inc +++ b/etc/inc/disable-interpreters.inc | |||
@@ -40,6 +40,15 @@ blacklist /usr/lib/perl* | |||
40 | blacklist /usr/lib64/perl* | 40 | blacklist /usr/lib64/perl* |
41 | blacklist /usr/share/perl* | 41 | blacklist /usr/share/perl* |
42 | 42 | ||
43 | # rxvt needs Perl modules, thus does not work. In particular, blacklisting | ||
44 | # it is needed so that Firefox can run applications with Terminal=true in | ||
45 | # their .desktop file (depending on what is installed). The reason is that | ||
46 | # this is done via glib, which currently uses a hardcoded list of terminal | ||
47 | # emulators: | ||
48 | # https://gitlab.gnome.org/GNOME/glib/-/issues/338 | ||
49 | # And in this list, rxvt comes before xterm. | ||
50 | blacklist ${PATH}/rxvt | ||
51 | |||
43 | # PHP | 52 | # PHP |
44 | blacklist ${PATH}/php* | 53 | blacklist ${PATH}/php* |
45 | blacklist /usr/lib/php* | 54 | blacklist /usr/lib/php* |