mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3536] Custom/local applications doesn't start #2222
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#2222
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 @tjerry on GitHub (Jul 22, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3536
I'm trying to start some custom applications, which are not installed in the system.
For instance, I'd like to start an app in /home/user/Apps.
But firejails exists with an error.
Does firejail work with custom/local applications, or do they have to be installed in the system?
@rusty-snake commented on GitHub (Jul 22, 2020):
Yes.
ignore noexec ${HOME}if disbale-exec.in isincluded.private$HOME ifprivateis used.The last point is important for you now.
@tjerry commented on GitHub (Jul 22, 2020):
OK.
So I copied an app to a private $HOME and another error came up.
I haven't been able to find anything about that error.
@rusty-snake commented on GitHub (Jul 22, 2020):
No such file or directory: Did you created /var/tmp/home?You need to add
keep-var-tmplikey thisfirejail --net=none --private=/var/tmp/home --keep-var-tmp /path/to/app.@tjerry commented on GitHub (Jul 22, 2020):
It looks like
--keep-var-tmpdid the trick.However, edraw needs some shard libraries, that my system is missing.
So I tried other apps, like
PencilorTypora.There is no error, but the application doesn't start and
firejailjust quits.Is there a way to debug this?
If this helps, I'm on
Gentooandfirejailwas compiled withchroot file-transfer globalcfg network overlayfs private-home seccomp suid userns whitelist -apparmor -contrib -debug -test -vim-syntax -x11@smitsohu commented on GitHub (Jul 23, 2020):
By default, the sandbox /var is mounted read-only and noexec. You may want to disable that with
--writable-var@tjerry commented on GitHub (Jul 24, 2020):
No, it's not it.
For the sake of simplicity I'll start it from my home directory.
So:
@rusty-snake commented on GitHub (Jul 24, 2020):
works this?
@tjerry commented on GitHub (Jul 24, 2020):
There is no error. But the Typora doesn't start. Firejail just quits.
However, the following works.
$ firejail --noprofile --net=none /home/static/Data/Software/Linux/Typora/Typora@rusty-snake commented on GitHub (Jul 25, 2020):
Then you need to write a profile for it (or request one in #1139).
@rusty-snake commented on GitHub (Sep 1, 2020):
I'm closing here due to inactivity, please fell free to request to reopen if you still have this issue.