mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2231] organize profiles a bit #1499
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#1499
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 @ghost on GitHub (Nov 2, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2231
They are so many profiles now....
maybe have subfolders for local and commonly used files.
A bit like apparmor profiles.
@SkewedZeppelin commented on GitHub (Nov 2, 2018):
Like:
/etc/firejail for firejail configs
./includes for includes (*.inc)
./common for commons (*-common.profile)
./profiles for profiles (*.profile)
I'm not sure how easy it would be to implement or to migrate existing installs/packages. and it might require extra work on the package maintainers end.
@ghost commented on GitHub (Nov 2, 2018):
One time, when i was a little boy, i had installed a bunch of dos games in a single folder, no subfolders, all their files mixed up. When my grand father saw that, he said that i shouldn't do that.... :P
@netblue30 commented on GitHub (Nov 5, 2018):
It is very easy to search for a profile if all of them are in the same directory. You have an application name, add "/etc/firejail/" in front of it, and a ".profile" at the end.
I would say it only creates problems when you go in git and edit many profiles. For now we can split them in git as suggested by @SkewedZeppelin, but at runtime we still need all of them in the same directory.
@ghost commented on GitHub (Nov 14, 2018):
and also have a /etc/firejail/local folder for local stuff. That would be very useful, you instantly see all your stuff.
Have you realized they are 567 files in /etc/firejail ?
It's not possible to deprecate the current setup and gradually move to a new one with symlinks?
@netblue30 commented on GitHub (Nov 14, 2018):
The number is going up fast, we'll have to find a solution to it.
@rusty-snake commented on GitHub (Jun 26, 2019):
>800 thats a lot, but the most will be in a profile folder so we will still have a huge folder.
but for the visual it would be helpful
@ghost commented on GitHub (Apr 20, 2020):
#3366 makes this a bit more urgent now IMO. Here are a few personal remarks on @rusty-snake's proposal:
apparmordir;commonandincludesdirs (as relevant files are already named *.inc and this would only create extra navigational clicks/pageloads) --> put those underinc;localdir;templatesdir;The above translates into the following
git repositorylayout (as @netblue30's remark on having files available under one /etc/firejail dir still stands):@netblue30 commented on GitHub (Apr 21, 2020):
I ended up with:
/etc
├── apparmor
├── inc
├── net
├── profile-a-l
├── profile-m-z
├── templates
firejail.config
firejail.users
login.users
018d75775e@ghost commented on GitHub (Apr 21, 2020):
@netblue30 That looks very tight :-) I just installed the free version of a FF add-on called octotree, which also improves navigating repo's with lost of files.