mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1342] firejail {--tree|--list} not listing anything #924
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#924
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 @rieje on GitHub (Jun 21, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1342
I am running my Firefox instances in sandboxes and neither
firejail --treenor firejail --listare listing anything in the output, with or withoutsudo` privileges. I'm using latest version of Arch Linux and Firejail. I recall using these commands without problems in the past.How can I diagnose this issue to provide more relevant information?
@curiosity-seeker commented on GitHub (Jun 22, 2017):
Please start the task manager of your choice and select tree view or use htop. Is Firefox displayed as a child process of Firejail?
@rieje commented on GitHub (Jun 22, 2017):
@curiosity-seeker Hmm, seems not. I installed htop and filtered for "firefox" and I don't see firejail anywhere. I have a wrapper script for firejail + firefox so to test another application I did
firejail zathurahtop still doesn't show anything for firejail.pidof firejailshows nothing.When I execute
firejail zathura, this is what's displayed at the terminal before zathura launches:What's the next step?
@netblue30 commented on GitHub (Jun 22, 2017):
This is how you test it: open a terminal and run "firejail", then open another terminal and run "firejail --tree" or "firejail --list". The information for --tree and --list is extracted from /proc directory. If /proc is in any way restricted, the information will not be available. Question: when you mount /proc (probably this happens in /etc/fstab), are you using "hidepid" option?
@rieje commented on GitHub (Jun 23, 2017):
@netblue30 Ahh, that was it. I removed
hidepid=2,gid=proc(which I had for security reasons) from/etc/fstab, rebooted, and now I'm getting expected output. So I guess this is a trade-off then?@netblue30 commented on GitHub (Jun 23, 2017):
Maybe it is because "gid=proc" in your mount option? I am on a 4.9 kernel (Debian stretch):
@netblue30 commented on GitHub (Jun 23, 2017):
Definitely something to do with gid=proc (kernel 4.9):
The correct one, at leaset on 4.9 kernel seems to be:
1000 is the id of my group:
@rieje commented on GitHub (Jul 3, 2017):
Do you use this yourself? I noticed with it I can't log into X and needed t comment it out from /etc/fstab then restart the system. My line is:
with 1000 being the id of my group.