firejail/etc
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
..
apparmor firejail-local: be less restrictive with torbrowser-launcher 2024-03-16 15:49:07 +00:00
inc profiles: wusc: add /usr/share/xkeyboard-config-2 (#6775) 2025-06-11 23:18:06 +00:00
net fix nolocal netfilter 2022-10-25 14:33:56 -04:00
profile-a-l New profile: ansel (#6751) 2025-05-19 19:36:52 +00:00
profile-m-z profiles: wine: allow python to fix Epic Games Launcher (#6763) 2025-05-31 12:38:00 +00:00
templates feature: add warn command (#6710) 2025-04-21 10:49:27 +00:00
firejail.config profiles: Miscellaneous cleanups (#5918) 2023-07-25 19:32:12 +00:00
ids.config disable-common.inc: blacklist sudo/doas paths in /etc 2023-07-14 08:08:47 -03:00
login.users