[PR #6555] [MERGED] profiles: ensure allow-lua where mpv is allowed #6058

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/6555
Author: @kmk3
Created: 11/25/2024
Status: Merged
Merged: 11/29/2024
Merged by: @kmk3

Base: masterHead: profiles-mpv-lua


📝 Commits (1)

  • eaa75ad profiles: ensure allow-lua where mpv is allowed

📊 Changes

5 files changed (+15 additions, -0 deletions)

View changed files

📝 etc/profile-a-l/firefox-common-addons.profile (+3 -0)
📝 etc/profile-m-z/QMediathekView.profile (+3 -0)
📝 etc/profile-m-z/mediathekview.profile (+3 -0)
📝 etc/profile-m-z/rtv-addons.profile (+3 -0)
📝 etc/profile-m-z/smtube.profile (+3 -0)

📄 Description

mpv crashes if luajit is blocked:

$ firejail --quiet --noprofile \
  --include=/etc/firejail/disable-interpreters.inc /usr/bin/mpv
/usr/bin/mpv: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: Permission denied

So make sure that allow-lua.inc is always included when mpv paths (such
as ~/.config/mpv) are allowed.

Environment: luajit 2.1.1727870382-1, mpv 1:0.39.0-3 on Artix Linux.

Related commits:


🔄 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/6555 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 11/25/2024 **Status:** ✅ Merged **Merged:** 11/29/2024 **Merged by:** [@kmk3](https://github.com/kmk3) **Base:** `master` ← **Head:** `profiles-mpv-lua` --- ### 📝 Commits (1) - [`eaa75ad`](https://github.com/netblue30/firejail/commit/eaa75add74822940820affac33ca8509000505fc) profiles: ensure allow-lua where mpv is allowed ### 📊 Changes **5 files changed** (+15 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `etc/profile-a-l/firefox-common-addons.profile` (+3 -0) 📝 `etc/profile-m-z/QMediathekView.profile` (+3 -0) 📝 `etc/profile-m-z/mediathekview.profile` (+3 -0) 📝 `etc/profile-m-z/rtv-addons.profile` (+3 -0) 📝 `etc/profile-m-z/smtube.profile` (+3 -0) </details> ### 📄 Description mpv crashes if luajit is blocked: $ firejail --quiet --noprofile \ --include=/etc/firejail/disable-interpreters.inc /usr/bin/mpv /usr/bin/mpv: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: Permission denied So make sure that allow-lua.inc is always included when mpv paths (such as ~/.config/mpv) are allowed. Environment: luajit 2.1.1727870382-1, mpv 1:0.39.0-3 on Artix Linux. Related commits: * db2bdaadd ("add lua support for mpv (#3243)", 2020-02-24) / PR #3243 * d6a6fb905 ("Allow Lua for mpv in dolphin.profile", 2020-04-18) / issue #3363 * f3585e539 ("fixes, closes, enhances, improvements, and so on", 2020-11-09) / issue #3686 * 3ec523f11 ("profiles: anki: allow lua", 2024-11-14) / PR #6545 --- <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:49:57 -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#6058
No description provided.