Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mps-youtube needs lua #3686

Closed
5 tasks done
m0rr1gan opened this issue Oct 23, 2020 · 5 comments
Closed
5 tasks done

mps-youtube needs lua #3686

m0rr1gan opened this issue Oct 23, 2020 · 5 comments

Comments

@m0rr1gan
Copy link

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.
@m0rr1gan
Copy link
Author

Permission denied to make a PR, have one ready.

@glitsj16
Copy link
Collaborator

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

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

@rusty-snake
Copy link
Collaborator

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.

@m0rr1gan
Copy link
Author

@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.

@m0rr1gan
Copy link
Author

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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants