firejail/etc/inc
Kelvin M. Klann facaa03df9
profiles: wusc: add /usr/share/xkeyboard-config-2 (#6775)
With xkeyboard-config 2.45, many programs fail to start, such as:
Firefox, Thunderbird, Gajim, KeepassXC, GoldenDict, and Zathura.
Example[1]:

    Reading profile /etc/firejail/zathura.profile
    [...]
    Reading profile /etc/firejail/whitelist-usr-share-common.inc
    Reading profile /etc/firejail/whitelist-var-common.inc
    firejail version 0.9.75

    [...]
    Child process initialized in 197.83 ms
    xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb
    xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb

    Parent is shutting down, bye...

It seems that in xkeyboard-config 2.45 the path was changed from:

* /usr/share/X11/xkb

To:

* /usr/share/xkeyboard-config-2

With the former now being a symlink to the latter and with the goal of
using a versioning scheme for the directories, in order to introduce new
file formats with breaking changes while keeping backwards compatibility
in the current file format[2] [3].

Fixes #6773.

Thanks to @oddfellow for finding the root cause and the relevant commit.

[1] https://github.com/netblue30/firejail/issues/6773#issue-3130459006
[2] https://github.com/netblue30/firejail/issues/6773#issuecomment-2956384127
[3] fd1d8d2d4f

Reported-by: @myrslint
Reported-by: @aminvakil
Reported-by: @oddfellow
Reported-by: @reagentoo
2025-06-11 23:18:06 +00:00
..
allow-bin-sh.inc Revert "move whitelist/blacklist to allow/deny" 2021-07-18 20:39:14 -03:00
allow-common-devel.inc VSCodium: Fix developing Arduino (#5991) 2023-09-06 20:47:45 +00:00
allow-gjs.inc Revert "move whitelist/blacklist to allow/deny" 2021-07-18 20:39:14 -03:00
allow-java.inc Revert "move whitelist/blacklist to allow/deny" 2021-07-18 20:39:14 -03:00
allow-lua.inc profiles: use only /usr/share/lua* (#6150) 2024-01-08 11:56:27 +00:00
allow-nodejs.inc allow-nodejs.inc: add nvm support 2022-03-20 06:41:55 +00:00
allow-opengl-game.inc profiles: clarify and add opengl-game to profile.template (#6300) 2024-04-05 12:09:04 +00:00
allow-perl.inc Noblacklist rxvt in allow-perl.inc 2022-01-10 17:06:59 +01:00
allow-php.inc Revert "move whitelist/blacklist to allow/deny" 2021-07-18 20:39:14 -03:00
allow-python2.inc block local python (#5826) 2023-05-11 18:32:45 +00:00
allow-python3.inc block local python (#5826) 2023-05-11 18:32:45 +00:00
allow-ruby.inc Add profiles for build-systems (/package-managers) 2021-09-08 23:21:07 +02:00
allow-ssh.inc profiles: add keep-dev-tpm entries 2025-04-05 15:52:30 -03:00
disable-common.inc profiles: add more xorg paths (#6708) 2025-04-15 13:35:36 +00:00
disable-devel.inc disable-devel.inc: deduplicate g++ and gcc entries 2024-01-05 00:53:49 -03:00
disable-exec.inc disable-exec: add /run/shm 2021-10-23 02:15:09 +02:00
disable-interpreters.inc profiles: Miscellaneous cleanups (#5918) 2023-07-25 19:32:12 +00:00
disable-proc.inc clarify that duplicated blacklisting of /proc/config.gz is intentional (#5548) 2022-12-21 23:39:42 +00:00
disable-programs.inc New profile: ansel (#6751) 2025-05-19 19:36:52 +00:00
disable-shell.inc disable-shell.inc: add global shell paths from ids.config 2022-06-02 00:28:10 -03:00
disable-write-mnt.inc reorder disable-write-mnt.inc 2020-11-23 11:20:07 +00:00
disable-X11.inc feature: add warn command (#6710) 2025-04-21 10:49:27 +00:00
disable-x11.inc profiles: add more xorg paths (#6708) 2025-04-15 13:35:36 +00:00
disable-xdg.inc Revert "move whitelist/blacklist to allow/deny" 2021-07-18 20:39:14 -03:00
landlock-common.inc landlock: use PATH macro in landlock-common.inc (#6260) 2024-03-08 13:12:30 +00:00
whitelist-1793-workaround.inc Add support for changing appearance of the Qt6 apps with qt6ct (#4966) 2022-02-21 19:04:43 +00:00
whitelist-common.inc profiles: add more xorg paths (#6708) 2025-04-15 13:35:36 +00:00
whitelist-player-common.inc Revert "move whitelist/blacklist to allow/deny" 2021-07-18 20:39:14 -03:00
whitelist-run-common.inc Fix mDNS name resolution with wrc (#5541) 2022-12-21 17:49:44 +01:00
whitelist-runuser-common.inc Rework pipewire/wayland 2021-09-07 17:38:07 +02:00
whitelist-usr-share-common.inc profiles: wusc: add /usr/share/xkeyboard-config-2 (#6775) 2025-06-11 23:18:06 +00:00
whitelist-var-common.inc whitelisting /var/games by default 2024-04-28 21:29:26 -04:00