mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #764] python-wand not starting with /sbin blacklisted #514
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#514
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 @filippog on GitHub (Sep 5, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/764
hi,
python-wand fails to start with firejail and
--blacklist=/sbin, initially discovered as part of https://gerrit.wikimedia.org/r/#/c/308542/@Fred-Barclay commented on GitHub (Sep 5, 2016):
Hi filippog. If I could hazard a guess (I don't have python-wand installed) it's because either python or python-wand is in /sbin, or requires something in /sbin. So this isn't a bug, but simply firejail doing what it's supposed to do (I think).
What happens when /sbin is not blacklisted?
@netblue30 commented on GitHub (Sep 5, 2016):
I am on Debian stable, python 2.7, wand installed. In a separate terminal I run "sudo firemon". This monitors all exec and fork calls for processes inside the sandbox. If I start the test program from http://docs.wand-py.org/en/0.4.3/ and I get:
It tries to run /sbin/ldconfig and it fails. You would need to remove the "blacklist /sbin" from your profile, or you can use --noblacklist=/sbin on firejail command line:
@filippog commented on GitHub (Sep 6, 2016):
thanks @netblue30 and @Fred-Barclay for your help! It indeed looks like it is python ctypes calling
/sbin/ldconfig, from my POV this issue is resolved, unless you want to add ctypes / sbin issue somewhere in the documentation (?)@netblue30 commented on GitHub (Sep 6, 2016):
You're welcome.