mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3996] celluloid: error while loading shared libraries: liblua5.2.so.5.2 #2497
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2497
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rsramkis on GitHub (Feb 17, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3996
When trying to run the Celluloid video player I am getting the same error reported in defect 3698:
"celluloid: error while loading shared libraries: liblua5.2.so.5.2: cannot open shared object file: Permission denied."
I reviewed the "/etc/firejail/celluloid.profile" and noticed that the fix of adding the configuration line "noblacklist /usr/lib/liblua*" was missing from the profile.
Adding the configuration "noblacklist /usr/lib/liblua*" manually fixed the error when launching Celluloid.
My current version of firejail is "0.9.64-2" (build date 10-27-2020) in Manjaro Linux.
Previous Defect - Update celluloid.profile #3698
https://github.com/netblue30/firejail/pull/3698/
@ghost commented on GitHub (Feb 17, 2021):
As you saw in #3698 this is already fixed so there's not much else you can do right now but add the below to your celluloid.local override until you can upgrade:
I don't know if Manjaro Linux is aware of the recently disclosed security vulnerability in older firejail versions, but 0.9.64 is affected. Needless to say it is important that you upgrade as soon as possible. If you cannot install the Arch Linux firejail package (which carries fixes), at least edit /etc/firejail/firejail.config and set
overlayfs no.@rsramkis commented on GitHub (Feb 18, 2021):
@glitsj16 Thanks for the feedback.
Question
(1) Is the "celluloid.local" the "/etc/firejail/celluloid.profile" file?
(2) After I update the " etc/firejail/firejail.config" and set "overlayfs no", do I need to do anything else to implement the change (e.g. run "sudo firecfg")
Looks like the issue is Manjaro's Community repository (and the miss that they needed to get the updated build which was mentioned in Jan 2021. I posted the found issue to their stable forum:
https://forum.manjaro.org/t/stable-update-2021-02-09-kernels-gnome-40-alpha-kde-apps-20-12-2-systemd-mesa-libreoffice/52659/212
Thanks.
@ghost commented on GitHub (Feb 18, 2021):
No those are different files serving a different goal. The *.profile files in /etc/firejail are specifically designed for each supported application. In general they cover most if not all functionality the app offers. But as we cannot know the particular workflow of each user there is a way to override a *.profile and that are the *.local files. They don't exist until you create one and put it in a dedicated location so firejail knows how to mix options of both files to a desirable sandbox. You can put local override files in either /etc/firejail (system-wide and used for all users on the machine) OR in ${HOME}/.config/firejail (per user options). The latter directory also needs to be created by the user. These .local files are never touched by installing/upgrading or removing firejail. Hopefully that's enough info to get you going with the celluloid issue you have. Just bare in mind that once you do upgrade to a firejail version that already has the fixed profile for celluloid, the local override can be removed. See the wiki for details.
No. The new configuration will be picked up by firejail automatically on each invocation. The best thing to do after making such a change is to either logout/login or restart your firejailed applications that are still running.
Thanks for posting to the Manjaro forum. Hopefully someone will cut a fresh PKGBUILD that makes it into their repositories soonish.