[GH-ISSUE #3686] mpsyt: mpv needs lua #2320

Closed
opened 2026-05-05 09:00:40 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @m0rr1gan on GitHub (Oct 23, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3686

Bug and expected behavior
mpsyt errors out when starting

No profile and disabling firejail
mpsyt works file with firejail --noprofile mpsyt

Reproduce
Steps to reproduce the behavior:

  1. Run in bash firejail mpsyt
  2. See error mpv: error while loading shared libraries: liblua5.2.so.5.2: cannot open sharefile: Permission denied followed by python Traceback

Environment
Arch Linux: 5.9.1-arch1-1
Firejail:
firejail version 0.9.64

Compile time support:
- AppArmor support is enabled
- AppImage support is enabled
- chroot support is enabled
- D-BUS proxy support is enabled
- file and directory whitelisting support is enabled
- file transfer support is enabled
- firetunnel support is enabled
- networking support is enabled
- overlayfs support is enabled
- private-home support is enabled
- SELinux support is disabled
- user namespace support is enabled
- X11 sandboxing support is enabled

Additional context
Adding "include allow-lua.inc" to /etc/firejail/mpsyt.profile fixes the issue.

Checklist

  • The upstream profile (and redirect profile if exists) have no changes fixing it.
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • Programs needed for interaction are listed in the profile.
  • A short search for duplicates was performed.
  • If it is a AppImage, --profile=PROFILENAME is used to set the right profile.
Originally created by @m0rr1gan on GitHub (Oct 23, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3686 **Bug and expected behavior** mpsyt errors out when starting **No profile and disabling firejail** mpsyt works file with `firejail --noprofile mpsyt` **Reproduce** Steps to reproduce the behavior: 1. Run in bash `firejail mpsyt` 2. See error `mpv: error while loading shared libraries: liblua5.2.so.5.2: cannot open sharefile: Permission denied` followed by python Traceback **Environment** Arch Linux: 5.9.1-arch1-1 Firejail: firejail version 0.9.64 Compile time support: - AppArmor support is enabled - AppImage support is enabled - chroot support is enabled - D-BUS proxy support is enabled - file and directory whitelisting support is enabled - file transfer support is enabled - firetunnel support is enabled - networking support is enabled - overlayfs support is enabled - private-home support is enabled - SELinux support is disabled - user namespace support is enabled - X11 sandboxing support is enabled **Additional context** Adding "include allow-lua.inc" to /etc/firejail/mpsyt.profile fixes the issue. **Checklist** - [x] The upstream profile (and redirect profile if exists) have no changes fixing it. - [x] The program has a profile. (If not, request one in `https://github.com/netblue30/firejail/issues/1139`) - [x] Programs needed for interaction are listed in the profile. - [x] A short search for duplicates was performed. - [x] If it is a AppImage, `--profile=PROFILENAME` is used to set the right profile.
Author
Owner

@m0rr1gan commented on GitHub (Oct 23, 2020):

Permission denied to make a PR, have one ready.

<!-- gh-comment-id:714871895 --> @m0rr1gan commented on GitHub (Oct 23, 2020): Permission denied to make a PR, have one ready.
Author
Owner

@ghost commented on GitHub (Oct 23, 2020):

@m0rr1gan Can you confirm it works when adding the below to the profile:

# Allow lua (blacklisted by disable-interpreters.inc)
include allow-lua.inc
<!-- gh-comment-id:714872597 --> @ghost commented on GitHub (Oct 23, 2020): @m0rr1gan Can you confirm it works when adding the below to the profile: ``` # Allow lua (blacklisted by disable-interpreters.inc) include allow-lua.inc ```
Author
Owner

@rusty-snake commented on GitHub (Oct 23, 2020):

Permission denied to make a PR, have one ready.

You should be able to make a PR. How do you tried (app, comman-line, website)?


@glitsj16

Additional context
Adding "include allow-lua.inc" to /etc/firejail/mpsyt.profile fixes the issue.

<!-- gh-comment-id:715223235 --> @rusty-snake commented on GitHub (Oct 23, 2020): > Permission denied to make a PR, have one ready. You should be able to make a PR. How do you tried (app, comman-line, website)? ---- @glitsj16 > **Additional context** > Adding "include allow-lua.inc" to /etc/firejail/mpsyt.profile fixes the issue.
Author
Owner

@m0rr1gan commented on GitHub (Oct 23, 2020):

@m0rr1gan Can you confirm it works when adding the below to the profile:

# Allow lua (blacklisted by disable-interpreters.inc)
include allow-lua.inc

Yes, it works when adding those two lines.

<!-- gh-comment-id:715316738 --> @m0rr1gan commented on GitHub (Oct 23, 2020): > @m0rr1gan Can you confirm it works when adding the below to the profile: > > ``` > # Allow lua (blacklisted by disable-interpreters.inc) > include allow-lua.inc > ``` Yes, it works when adding those two lines.
Author
Owner

@m0rr1gan commented on GitHub (Oct 23, 2020):

Permission denied to make a PR, have one ready.

You should be able to make a PR. How do you tried (app, comman-line, website)?

@glitsj16

Additional context
Adding "include allow-lua.inc" to /etc/firejail/mpsyt.profile fixes the issue.

I got permission denied when trying to push my branch.

<!-- gh-comment-id:715317149 --> @m0rr1gan commented on GitHub (Oct 23, 2020): > > Permission denied to make a PR, have one ready. > > You should be able to make a PR. How do you tried (app, comman-line, website)? > > @glitsj16 > > > **Additional context** > > Adding "include allow-lua.inc" to /etc/firejail/mpsyt.profile fixes the issue. I got permission denied when trying to push my branch.
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#2320
No description provided.