mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #254] [Discuss] Improve profiles #178
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#178
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 @genodeftest on GitHub (Jan 22, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/254
While support for more and more applications is added, they are getting more complex. Some profiles use outdated features. When #225 is being implemented, profiles should be reworked, this should include some documentation.
I suggest creating a more hierarchical structure.
Motivation: reduce duplicated configuration options. Ideally, each software type (Toolkit: Gtk/Qt/…, category: Browser/PDF Reader/…, programming language: python/java/…, …) gets its own template so all of these applications can be "fixed" at once. I'd like to reuse the "old" file extensions
.profileand.incif you don't mind.A hierarchy could look like this:
I'd do the work (except someone else wants to), but I posted here to enable a discussion if necessary. Thoughts? Comments?
@yjftsjthsd-g commented on GitHub (Jan 22, 2016):
I wonder if media players should be divided into audio only and audio+video? For some it might come out in the wash, but I expect that MOC needs less access than VLC, for instance.
@genodeftest commented on GitHub (Jan 22, 2016):
Hm, interesting thought. What is the difference? I'll call them music player for e.g. amarok, clementine, banshee, exaile, … and media player for e.g. vlc, totem, mplayer.
Both, music player and media player need access to sound devices.
Music player don't need access to videos, media player might need access to music files, so there is no good way to distinguish.
Media player need access to OpenGL devices for video rendering, music players might need that too, e.g. for visualizations. Without a deeper look into this topic I don't see enough differences between those categories to have a separate profile. Do you? Btw: what is MOC?
@yjftsjthsd-g commented on GitHub (Jan 22, 2016):
Ah, sorry, I'd forgotten about visualizations. Yes, given that, there probably isn't a difference.
MOC, Music On Console, is a ncurses music player; it doesn't need X, OpenGL, or anything else except music files and audio out, which is what I was thinking of when I separated audio and video players.
@genodeftest commented on GitHub (Mar 6, 2016):
@netblue30 Can you please explain why you closed this issue? Is it because you don't see any need for discussion or this is the wrong place or you don't need this?
@netblue30 commented on GitHub (Mar 7, 2016):
I think we are going in the wrong direction. Just classifying each application will not help. You have player using X11, and players without X11. Some go out on the network, others run locally.