mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3113] fseccomp not found with private-bin+private-lib+seccomp #1953
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#1953
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 @reinerh on GitHub (Jan 3, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3113
While looking through errors of the test suite I noticed that
test/profiles/profiles.shwas failing while testing the ffmpegthumbnailer profile.For some reason it is not able to execute
/run/firejail/lib/fseccomp(No such file or directory) for generating the seccomp filter.I am able to reproduce it inside a container/qemu (but not on the host). Just running
firejail --profile=/etc/firejail/ffmpegthumbnailer.profile $ANYCOMMANDis failing, as it can't complete the seccomp setup.I then reduced the profile to the following lines:
All three of them are needed to trigger the issue (
seccompalone is not sufficient, it needs an argument so that a new filter actually has to be generated).Does anyone have an idea what could go wrong? Or why it fails inside a container/VM, but not on my main system?
CC @netblue30
Here is the output without
quietand with--debug(where it fails because offsec-print):@matu3ba commented on GitHub (Apr 10, 2020):
Looks like the binary is not installed on the VM.
What do you think @rusty-snake ?
@rusty-snake commented on GitHub (Apr 10, 2020):
looks like the private-bin must have an invalid argument.
@reinerh commented on GitHub (Apr 10, 2020):
ffmpegthumbnailer is not needed, as the test script is running the echo binary ("echo done").
It checks either for the output of "done", or for the error message that "echo" has not been found.
But the error I posted above is not one of the expected ones.
@rusty-snake commented on GitHub (Apr 10, 2020):
I get
It works with
--private-lib=libpcre2-8.so.0.OS: Fedora 31