[PR #6775] [MERGED] profiles: wusc: add /usr/share/xkeyboard-config-2 #6160

Closed
opened 2026-05-05 10:51:51 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/6775
Author: @kmk3
Created: 6/10/2025
Status: Merged
Merged: 6/11/2025
Merged by: @kmk3

Base: masterHead: profiles-fix-xkeyboard-config


📝 Commits (1)

  • 344f8de profiles: wusc: add /usr/share/xkeyboard-config-2

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 etc/inc/whitelist-usr-share-common.inc (+1 -0)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/6775 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 6/10/2025 **Status:** ✅ Merged **Merged:** 6/11/2025 **Merged by:** [@kmk3](https://github.com/kmk3) **Base:** `master` ← **Head:** `profiles-fix-xkeyboard-config` --- ### 📝 Commits (1) - [`344f8de`](https://github.com/netblue30/firejail/commit/344f8deb33bdba23bff18af498a5440462a42832) profiles: wusc: add /usr/share/xkeyboard-config-2 ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `etc/inc/whitelist-usr-share-common.inc` (+1 -0) </details> ### 📄 Description 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] https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/commit/fd1d8d2d4f07ac494109b1a9e72d7fe777f6757a Reported-by: @myrslint Reported-by: @aminvakil Reported-by: @oddfellow Reported-by: @reagentoo --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:51:51 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#6160
No description provided.