mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5049] docs: users are told to include main .profile in .local profile #2863
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#2863
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 @zithro on GitHub (Mar 14, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5049
Originally assigned to: @netblue30 on GitHub.
Hello, it's not a software bug I'm reporting, rather a documentation one (so I didn't use the template).
I followed "documentation-2/building-custom-profiles/" to build a vlc custom profile, as this:
But when running
firejail vlc, I enter in an include loop :Removing the include solves it.
Is it because I'm running the latest version (0.9.68) and the documentation was written using an older version ?
@rusty-snake commented on GitHub (Mar 15, 2022):
include /etc/firejail/vlc.profileis not needed (at wrong) if you use a .local.If you use
/home/zithro/.config/firejail/vlc.local(as you should with newer versions of firejail)net noneis all you need.@kmk3 commented on GitHub (Mar 15, 2022):
@zithro commented on Mar 14:
/etc/firejail/vlc.profile contains:
On every include command, firejail will first look for the file in
~/.config/firejail. If it does not exist, it will look for the file in
/etc/firejail.
If both vlc.profile and vlc.local include each other, then you have an infinite
inclusion loop.
@zithro commented on GitHub (Mar 16, 2022):
Hey guys, thanks for the clarification, so I think the docs need an update ;)
"documentation-2/building-custom-profiles/" meant in fact "https://firejail.wordpress.com/documentation-2/building-custom-profiles/"
Excerpt :
@ghost commented on GitHub (Mar 16, 2022):
Indeed they do. All the examples in that section are inclusion loops. Not sure who actually maintains https://firejail.wordpress.com/ to correct them.
@zithro commented on GitHub (Mar 16, 2022):
@netblue30 is the author, look at the website comments.
@rusty-snake commented on GitHub (Mar 16, 2022):
No, because the suggest to create
vlc.profilenotvlc.local.FTR: Nowadays you should create a
vlc.localwithoutinclude /etc/firejal/vlc.profile.@netblue30 commented on GitHub (Mar 24, 2022):
I wasn't aware of the .local functionality. We just need to document the difference between .local and .profile for files in ~/.config/firejail directory.
@rusty-snake commented on GitHub (Mar 24, 2022):
FTR
https://github.com/netblue30/firejail/wiki/Creating-overrides
https://github.com/netblue30/firejail/wiki/Creating-Profiles
@zithro commented on GitHub (Apr 7, 2022):
Should I close this issue ?
The github wiki is up-to-date but the wordpress page is still using
.profileeverywhere@rusty-snake commented on GitHub (Apr 7, 2022):
No