mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1798] hidepid prevents me from viewing firejail-started processes in e.g. htop #1219
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#1219
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 @chiraag-nataraj on GitHub (Mar 5, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1798
So I don't know if this is intended behavior. When I start a sandbox, sometimes the resulting processes do not show up in process monitors like
top,htop, orps aux. I think it has to do with the noroot option, since the only ones that do show up are Electron apps, which I cannot usenorootwith (libnode.so not foundor whatever). Is this intended behavior and, if so, why?@chiraag-nataraj commented on GitHub (Mar 5, 2018):
Oh, and the best part is that the processes are owned by me, so they should show up.
@netblue30 commented on GitHub (Mar 6, 2018):
This happens because of --noroot. It installs a new user namespace with a new user, Even if the new user has the same name as your regular user, for the process handling code in the kernel this is a different user. Interesting, the file system still thinks is the same user, so you have access to your files.
Just use firejail --list, --top etc to list the processes. Also with hidepid you would need to be root to run firemon and firetools.