Skip to content

Conversation

@kmk3
Copy link
Collaborator

@kmk3 kmk3 commented Jun 10, 2025

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] #6773 (comment)
[2] #6773 (comment)
[3] https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/commit/fd1d8d2d4f07ac494109b1a9e72d7fe777f6757a

Reported-by: @myrslint
Reported-by: @aminvakil
Reported-by: @oddfellow
Reported-by: @reagentoo

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 netblue30#6773.

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

[1] netblue30#6773 (comment)
[2] netblue30#6773 (comment)
[3] https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/commit/fd1d8d2d4f07ac494109b1a9e72d7fe777f6757a

Reported-by: @myrslint
Reported-by: @aminvakil
Reported-by: @oddfellow
Reported-by: @reagentoo
@kmk3 kmk3 added the bugfix This fixes a bug label Jun 10, 2025
@kmk3 kmk3 merged commit facaa03 into netblue30:master Jun 11, 2025
3 checks passed
@kmk3 kmk3 deleted the profiles-fix-xkeyboard-config branch June 11, 2025 23:18
@github-project-automation github-project-automation bot moved this from Todo to Done in Release 0.9.76 Jun 11, 2025
@kmk3 kmk3 moved this from Done to Done (on RELNOTES) in Release 0.9.76 Jun 23, 2025
kmk3 added a commit that referenced this pull request Aug 18, 2025
This amends commit e108976 ("added signature to release 0.9.76,
updated main page, small modifs for mkasc.sh", 2025-08-17).

Relates to #6773 #6775.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix This fixes a bug

Projects

Status: Done (on RELNOTES)

Development

Successfully merging this pull request may close these issues.

xkeyboard-config 2.45: cannot start many programs (new /usr/share path)

2 participants