mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3330] Best practice for AppImage profiles #2089
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#2089
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 @albinou on GitHub (Apr 8, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3330
Hi,
I wrote a firejail profile for a proprietary AppImage (let's call it
MYAPP). For now, I installed aMYAPP.profilefile under/etc/firejailand I need to runMYAPPwith the following command:firejail --profile=MYAPP --appimage /PATH/TO/MYAPPIs there a common practice to handle this case and make the use of the firejail profile? Can
firecfghelp me do something to be able to runMYAPPdirectly without specifying the firejail profile to use?Also, should appimage profiles be submitted to the firejail project?
*: The AppImage I wrote a profile for is Blacknut (https://www.blacknut.com).
Thanks,
@ghost commented on GitHub (Apr 8, 2020):
We don't have seperate appimage profiles. Firejail supports the
--appimageflag as you mentioned. And there's a conditional?HAS_APPIMAGE:construct to specify specific needs for an application when it is used as appimage (usually ignoring private-dev).Alas not if there isn't a 'regular' (non-appimage) version of the application. But you can easily replicate what firecfg does by manually adding a symlink to /usr/bin/firejail in /usr/local/bin using the application name:
$ sudo ln -fs /usr/bin/firejail /usr/local/bin/MYAPP
@albinou commented on GitHub (Apr 9, 2020):
Thanks for your answer :-)
Hum, but this doesn't work since firejail needs the
--appimageoption.Here is what I have (/usr/bin/blacknut is the AppImage I am trying to run with firejail):
while the following works (except I also need to add the --no-sandbox for other reasons):
Am I proceeding correctly?
Thanks again
@rusty-snake commented on GitHub (Apr 9, 2020):
You can use a shell-script or a .desktop file.
https://github.com/netblue30/firejail/issues/2946#issuecomment-568425707
@rusty-snake commented on GitHub (May 6, 2020):
I'm closing here due to inactivity, please fell free to reopen if you have more questions.