mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4424] firejail strace method for private-lib needed #2666
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#2666
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 @osevan on GitHub (Jul 26, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4424
I need firejails buildin strace method for easy private-lib line creating.
Example for firefox.
Thanks and
Best regards
@rusty-snake commented on GitHub (Jul 26, 2021):
You mean you want to run
starce --some-args /usr/bin/firefoxto get a list of all files it opens in/usr/lib,/usr/lib64, ...?@osevan commented on GitHub (Jul 26, 2021):
Exactly
@osevan commented on GitHub (Jul 27, 2021):
Or firejail buildin -trace option to figure out which librarys.
But I need librarys list already sorted and ready for profile.
@netblue30 commented on GitHub (Jul 29, 2021):
We have --build command line option where we detect using strace all kind of things such as "private-bin" and "private-etc". Let me try to add support for private-lib to it.
For simple programs (probably not firefox), if you have a valid "private-bin" in your profile, add also "private-lib". We autodetect a lot of libraries by default.
@osevan commented on GitHub (Aug 3, 2021):
I have private-bin already in Firefox,.and works fine with my list,but not with private-lib.
private-lib didn't work
@rusty-snake commented on GitHub (Aug 6, 2021):
@osevan commented on GitHub (Aug 7, 2021):
Thanks you very much .
I modified, because on old strace, commands are different.
But it works.
@osevan commented on GitHub (Aug 9, 2021):
I tested this method for buster debian and works.
But, for two other machines bullseye libs from above line arent enough
We need detailed debug option , --debug and --debug-private-lib isnt enough..
They cant spit out needed libs. :-(
We need fixes for bullseye
@rusty-snake commented on GitHub (Oct 30, 2022):
Closing as
private-libwas never really finish, has some bugs, has major performance issues, is now disabled by default and a workaround is documented here.