mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2792] Wiki: Frequently Asked Questions #1747
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#1747
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 @matu3ba on GitHub (Jun 22, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2792
The text on support/FAQ is an ideal candidate to for the wiki.
Edit:
New FAQ page here: https://github.com/netblue30/firejail/wiki/Frequently-Asked-Questions
@matu3ba commented on GitHub (Jun 22, 2019):
content to add for FAQ: #1385, #2046, #2387
[TODO:review]
@matu3ba commented on GitHub (Jun 22, 2019):
(keyword "help" and "tip", searching for open issues)Tips to add for FAQ: #404, #1652
GUI stuff: #2707
[mark as outdated]
@rusty-snake commented on GitHub (Jun 22, 2019):
more to add:
@rusty-snake commented on GitHub (Jun 22, 2019):
done
I started translating the FAQ to Markdown: https://gist.github.com/rusty-snake/3b62c4c433320415dee6f1f836887d5f
EDIT: I also add some comments (
<!--TODO:) about the content.@rusty-snake commented on GitHub (Jun 23, 2019):
Note: Update the FAQ link in the README when this is Finish.done@netblue30 commented on GitHub (Jun 24, 2019):
I'll move it in the wiki today!
@netblue30 commented on GitHub (Jun 24, 2019):
New wiki page, thanks @rusty-snake, start editing! I'm not sure what I'll do with the one on the web page, probably I'll redirect it to wiki.
@rusty-snake commented on GitHub (Jun 24, 2019):
done
TODOs I noted in https://gist.githubusercontent.com/rusty-snake/3b62c4c433320415dee6f1f836887d5f/raw/6b3f8cada23e8fa839f239d774c3329e441a7d3c/FAQ.md
--ignore=noroot--ignore=nonewprivs… ?--privatewill lose everything, consider an other solution:--private=~/second-fffirejail firefox -P "SecondFFprofile" --no-remoteSecondFFprofile must first be created on about:profiles
> Patched security profiles for are available for Firejail versions 0.9.38.x (LST) and 0.9.52. You can find them in our profile fixes section. Another option is to install Firejail 0.9.54.
Add a link, maybe we should also add/move the instruction.
"s/–/--/g"@netblue30 commented on GitHub (Jun 24, 2019):
@rusty-snake - go for it!
@Fred-Barclay commented on GitHub (Jun 25, 2019):
For the PulseAudio FAQ https://github.com/netblue30/firejail/wiki/Frequently-Asked-Questions#pulseaudio-7080-issue it says
Since this issue is only present for pulseaudio 7 or 8, and currently on Arch pulseaudio is at version 12.2, any reason to leave Arch in the list?
@netblue30 commented on GitHub (Jun 26, 2019):
Arch removed from PulseAudio issue!
@matu3ba commented on GitHub (Jun 27, 2019):
#404 defines improved strace hint, which belongs to the guide and does not make sense to seperate#1652 is a gnome guide for xephyr, does anybody use that frequently/is that not already discussed in a guide?
#2707 used a reference to overlayfs, which is described in another guide
@matu3ba commented on GitHub (Jun 27, 2019):
@rusty-snake https://github.com/netblue30/firejail/projects/1 explains several things. Do you want me to write some tests on that for explanation?
I do not get exactly what the use cases are and would likely write maybe 1 sentence to each functionality.
Regarding https://github.com/netblue30/firejail/issues?&q=is%3Aissue+label%3Aquestion, https://github.com/netblue30/firejail/issues?&q=is%3Aissue+label%3Ainformation would it maybe not easier to tag them as FAQ or hint a proper searching for the user on github?
Copy-pasting loads of text for uncertain gain does not look super interesting to me.
@rusty-snake commented on GitHub (Jun 27, 2019):
I think only the Usage section is good for the FAQ, the other are better for a own page.
that was rather meant that if you have time / energy you can go through it to see which of them are suitable
#404 Found. 🤣
@matu3ba commented on GitHub (Jun 27, 2019):
> > https://github.com/netblue30/firejail/projects/1 explains several thingsWill look into that.
> that was rather meant that if you have time / energy you can go through it to see which of them are suitable > I did request a search option for duplicates in github and will do it by that means. Aside hopefully soon the related options are searchable/usable to group issues.xD
@matu3ba commented on GitHub (Jun 27, 2019):
@netblue30
What do you want to do with all the questions/comments on the support page?
Are there tools for extracting the comments and importing them into another github repo?
Or do you think it is even worth the effort?
@matu3ba commented on GitHub (Jun 27, 2019):
@rusty-snake I was thinking of explaining one profile, but after a while I realized
that it is more useful to integrate that into the profile creation (for the part Usage).
So the overall idea is to change name of "Wiki: creating profile" to "Wiki: Usage and Profiles".
I have several duplicate stuff already and generally the shell parameters are quite the same as the profile options.
dirty idea thingy to be integrated:
https://gist.github.com/matu3ba/2fe10dc599d1f0671a23cce8aeb0a975
What do you think?
@rusty-snake commented on GitHub (Jun 27, 2019):
i think that creating profiles should contain all information that makes writing your own profiles easier, so what about spliting a small usage out of your Idea and add it to FAQ and the rest to Creating profiels
@netblue30 commented on GitHub (Jun 28, 2019):
Maybe we can extract some of the questions/solutions they come up with, but other than that is not worth the trouble importing them.
@netblue30 commented on GitHub (Jun 30, 2019):
https://github.com/netblue30/firejail/issues/2812
Quite a common question, I'll added to the FAQ.
@matu3ba commented on GitHub (Jul 1, 2019):
>I did write the usage to the Wiki:Create profile in #2748.
Could you elaborate which points are useful to explicitly mention besides the README.md regarding the command line?
TODO-list
FAQ questions
Symlink fixing (installation path in /usr/local ie #1995, #2629
Apparmor activation/deactivation/integration testing #1987,
Allowing specific profiles #2097,
Whitelist and Blacklist bugs?`#2419
maybe (User could easily search for that in FAQ)/other place might be better
Running inside Docker not supported #1956,
#404 defines improved strace hint, which belongs to the guide and does not make sense to seperate
#1652 is a gnome guide for xephyr, does anybody use that frequently/is that not already discussed in a guide?
[Mark as outdated]
@matu3ba commented on GitHub (Jul 1, 2019):
> * (not all) https://github.com/netblue30/firejail/issues?&q=is%3Aissue+label%3Ainformation > > * #2795 TODO: #2812 tor browser fix, should be already done, but I do not see that (yet) #2795 firefox mailto, #1718 mailto for chromium, #2579 #692 adding information of incompability of running firejail inside docker (no virtualization as goal of firejail) #2291 apparmor local customizations (fixing apparmor) #1521 root permission crash/using firejail on root users server (seperate guideline?) #833 read-only well known inconsistency, #402 #158maybe (elsewhere)
#2480 is related to read-only (missing tests and documentation)
#1569 whitelist blacklist discussion
#593 cgroup guideline
#1600 wlan interfaces with firejail guideline?
[Mark as outdated]
@SkewedZeppelin commented on GitHub (Jul 1, 2019):
I don't like recommending this, nor have I seen it necessary. Where is it from?
@rusty-snake commented on GitHub (Jul 1, 2019):
@SkewedZeppelin from the wordpress FAQ.
line 135: https://github.com/netblue30/firejail/wiki/Frequently-Asked-Questions/_compare/edf31690da5d6fe123482a3b7d21aef013f53b54
I add only
--ignore=noroot --ignore=nogroups --ignore=nonewprivs.@matu3ba commented on GitHub (Jul 1, 2019):
FAQ killing process
ip tables filter (better guideline, no FAQ)
Did you identify any further useful FAQs?
[Mark as Outdated]
@SkewedZeppelin commented on GitHub (Jul 1, 2019):
Netflix (Widevine CDM) should only need
browser-allow-drm yes.The only time ptrace is used with with Widevine CDM under Chromium in certain edge cases iirc.
and I thought
ignore norootwas all that was needed for NVIDIA proprietary drivers?I haven't tested AMDGPU PRO in a while but I don't think it uses any SUID binaries like the NVIDIA ones, so it can be removed from there.
@matu3ba commented on GitHub (Jul 2, 2019):
Last update of tasks 2019-07-02
Last update of work 2019-07-08
FAQ
information
#2812 tor browser fix#2795 firefox mailto, #1718 mailto for chromium,#2579 #692 adding information of incompability of running firejail inside docker (no virtualization as goal of firejail)#2291 apparmor local customizations (fixing apparmor)#833 read-only well known inconsistency, #402 #158#1521 root permission crash/using firejail on root users server ((new) server guideline, hint)question
Apparmor activation/deactivation/integration testing #1987Symlink fixing (installation path in /usr/local ie #1995, #2629 [common problem]Allowing specific profiles #2097
Whitelist and Blacklist bugs? #2419
elsewhere
information
#2480 is related to read-only#1569 whitelist blacklist discussion [add infos to profiles]
#593 cgroup guideline [new guideline]
#1600 wlan interfaces with firejail [new guideline]
questions
Running inside Docker not supported #1956,#404 defines improved strace hint [add infos to guideline or/and move guideline from website]
#1652 is a gnome guide for xephyr [??? lately no bug requests on xephyr]
FAQ killing process [addition of example to FAQ?]ip tables filter (better guideline, no FAQ) [new/better guideline]
Outdated and apparmor should be sufficiently explained in man page.
@matu3ba commented on GitHub (Jul 8, 2019):
Last update of tasks 2019-07-02
Last update of work 2019-07-09
Common problem
1.Symlink fixing(installation path in /usr/local #1995 #26292. whitelist and blacklist #2419 whitelist-blacklist discussion #1569
3. allowing specific profiles #2097
Guidelines
Xephyr ??? #1652@SkewedZeppelin commented on GitHub (Jul 8, 2019):
Can we please not use the hide/resolve comment feature?
I know it can be handy, but evil GitHub prevents non-logged in users from reading hidden comments (even ones that aren't spam and are simply outdated/resolved) for whatever crazy reason.
Commenting here since this issue has the most hidden comments.
@matu3ba commented on GitHub (Jul 9, 2019):
@SkewedZeppelin
Summary
```js const x = 1 ```explained in here could be used or can you think of a better way?
I dont like the need to write the annoying tags, so I requested a github functionality for this.
@rusty-snake commented on GitHub (Jul 9, 2019):
@matu3ba
Easyer: GH allow all users to show the comments.
@SkewedZeppelin OK, that's real evil from GH. I will not use it for now, but one questions. Do you mean that also for the profile request issue or just for the wiki issues?
@matu3ba commented on GitHub (Jul 9, 2019):
TODO
1.allowing specific profiles #2097
2. LD_PRELOAD, once finished
@rusty-snake commented on GitHub (Jul 11, 2019):
@matu3ba I don't really understand what your new "A program does not start with firejail" point is about. starts the program fine, but not in firejail or firejail breaks the program from starting.
@matu3ba commented on GitHub (Jul 13, 2019):
@rusty-snake It is the description of the problem.
Do you have a better idea how to reformulate?
Or shall I leave it out?
@rusty-snake commented on GitHub (Jul 13, 2019):
@matu3ba that makes no sense, because
firejail PROGRAM_WITHOUT_PROFILEwill load the default profile.@rusty-snake commented on GitHub (Sep 9, 2019):
#2953#2880
@rusty-snake commented on GitHub (Jan 25, 2020):
#3173
#3185
@matu3ba commented on GitHub (Apr 10, 2020):
#3224 zombies
#3100 common signalling problems in applications
@rusty-snake commented on GitHub (Jul 9, 2020):
@NetSysFire
There is a huge difference between running
firecfgas root andsudo firecfg:firecfg does only perform a desktop-file fix-up if it is started with sudo.
IMHO: The explicit note for
firejail /opt/foo/barwas easier for unskilled users.@NetSysFire commented on GitHub (Jul 31, 2020):
For some reason I did not see this.
Fixed:
a45691b053...bc30985c2e@NetSysFire commented on GitHub (Aug 16, 2020):
I made some relatively small changes to the page.
One thing that is still missing imo is a section or even a page on how to debug errors.
@matu3ba commented on GitHub (Aug 17, 2020):
@NetSysFire You find this here.
Probably the name should be Debugging Tips instead of Developing Firejailrenamed, since there was no activity on that wiki page for a long time@NetSysFire commented on GitHub (Aug 18, 2020):
This will not help the average user to debug common issues, like a broken profile. I would like to add something like this:
--profile=default)--debug*argumentsI will probably add this to the debugging page later but the list is not complete yet.
Hints on how to debug a specific error message would also be very useful.
Error: proc 30891 cannot sync with peer: unexpected EOFfor example is not that easy to understand.@rusty-snake commented on GitHub (Aug 24, 2020):
We need to change all the dbus stuff.
@kmk3 commented on GitHub (Mar 5, 2021):
@SkewedZeppelin commented on Jul 8, 2019:
The loginwall is very unfortunate indeed.
I just checked if it also affects Pull Request threads marked as "resolved",
and fortunately it doesn't.
@rusty-snake commented on GitHub (Aug 4, 2021):
https://github.com/netblue30/firejail/discussions/4446