mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #509] --trace creates /etc/ld.so.preload #358
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#358
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 @boite on GitHub (May 11, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/509
Apparmor denial messages are seen after using
firejail --trace. This is because:---tracecreates an empty/etc/ld.so.preloadif it doesn't already exist/etc/ld.so.preloadif if existsreadof/etc/ld.so.preloadIdeally, firejail would not create the preload file. If it's absolutely necessary then the file should be removed as soon a practically possible iff firejail created it and it's still empty.
@netblue30 commented on GitHub (May 11, 2016):
I wish I had a solution to this problem. The file created by firejail is an empty file, used as a mount point by --trace feature. There is no way I can delete it, the mount point should stay there while the sandbox is running, and there could be multiple sandboxes running.
I will document the problem, the only impact is the message generated by AppArmor. AppArmor will prevent the linker from loading the file, but it will not crash the program.
@netblue30 commented on GitHub (Jun 1, 2016):
I'll be tracking the problem on the project webpage here:
https://firejail.wordpress.com/support/known-problems/#apparmor