mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4034] Any way to know we are inside Firejail or not? #2512
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#2512
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 @Bilb on GitHub (Mar 3, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4034
Hi,
This is not a bug report, but I did not find what I was looking in the wiki or the existing issues.
I would like to recommend my users to run my app inside Firejail, but only if that's not the case. And I would like to do that inside my app.
Is there any way to know that the app is running inside Firejail, or not?
Thanks a lot
@ghost commented on GitHub (Mar 3, 2021):
Maybe you could check
env,IIRC there should be acontainervar that equalsfirejail.@rusty-snake commented on GitHub (Mar 3, 2021):
or you check
/run/firejail(comparels -R /run/firejailwithfirejail ls -R /run/firejailand choose a file).@Bilb commented on GitHub (Mar 16, 2021):
Thanks a lot, that should work