[GH-ISSUE #3107] whitelist-usr-share-common.inc breakage #1950

Closed
opened 2026-05-05 08:36:53 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @polyzen on GitHub (Jan 3, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3107

firejail 0.9.62

The whitelist-usr-share-common.inc inclusion is causing the following issues:

  • mpv cannot use Vulkan (amdvlk)
[vo/gpu/vulkan/libplacebo] Failed creating instance: VK_ERROR_EXTENSION_NOT_PRESENT
[vo/gpu/vulkan/libplacebo] Failed initializing vulkan instance
  • WeeChat cannot use Perl.
perl: error: Can't locate strict.pm in @INC (you may need to install the strict module) (@INC contains: /usr/lib/perl5/5.30/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.30/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.30/core_perl /usr/share/perl5/core_perl)
Originally created by @polyzen on GitHub (Jan 3, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3107 firejail 0.9.62 The `whitelist-usr-share-common.inc` inclusion is causing the following issues: - mpv cannot use Vulkan (amdvlk) ``` [vo/gpu/vulkan/libplacebo] Failed creating instance: VK_ERROR_EXTENSION_NOT_PRESENT [vo/gpu/vulkan/libplacebo] Failed initializing vulkan instance ``` - WeeChat cannot use Perl. ``` perl: error: Can't locate strict.pm in @INC (you may need to install the strict module) (@INC contains: /usr/lib/perl5/5.30/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.30/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.30/core_perl /usr/share/perl5/core_perl) ```
Author
Owner

@ghost commented on GitHub (Jan 3, 2020):

WeeChat cannot use Perl

You should be able to fix this easily by adding whitelist /usr/share/perl5 to a weechat.local file. Either in /etc/firejail or ${HOME}/.config/firejail. I'll add a fix in git master shortly.

mpv cannot use Vulkan (amdvlk)

A fix for this would be similar to the above (in mpv.local), but I haven't got a machine to quickly check what path(s) under /usr/share mpv needs access to with Vulkan. Can you check your system and report back please? In any case, thanks for reporting this here!

<!-- gh-comment-id:570458050 --> @ghost commented on GitHub (Jan 3, 2020): > WeeChat cannot use Perl You should be able to fix this easily by adding `whitelist /usr/share/perl5` to a _weechat.local_ file. Either in /etc/firejail or ${HOME}/.config/firejail. I'll add a fix in git master shortly. > mpv cannot use Vulkan (amdvlk) A fix for this would be similar to the above (in _mpv.local_), but I haven't got a machine to quickly check what path(s) under /usr/share mpv needs access to with Vulkan. Can you check your system and report back please? In any case, thanks for reporting this here!
Author
Owner

@ghost commented on GitHub (Jan 3, 2020):

@polyzen This got auto-closed due to committing a fix for weechat. Reopening to try to do the same for your mpv/Vulkan issue.

<!-- gh-comment-id:570461724 --> @ghost commented on GitHub (Jan 3, 2020): @polyzen This got auto-closed due to committing a fix for weechat. Reopening to try to do the same for your mpv/Vulkan issue.
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#1950
No description provided.