mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3591] firejail breaks haskell development tools cabal and stack #2251
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#2251
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 @hyiltiz on GitHub (Aug 16, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3591
cabalandstackare like package managers for Haskell. They manage their local database for packages, which can be synced withxxx updatecommands, and they can install packages from online viaxxx install. The Haskell community uses both tools. For a starter, it may be useful to base their.profileon something similar likepipornpm, then fine tune.I'd give a full bug report, but profiles for them are missing and Haskell isn't even mentioned while
pipgemsluarocksetc. are mentioned, I'd wait until someone comes up with something. To start, maybe whitelist their database folders, give permissions to binaries that deal with project management for Haskell such as running parsers, compilers (GHC) etc., and also some network support (for Hackage and Stackage to download package from).@bbhtt commented on GitHub (Aug 16, 2020):
How are you running them, neither has a profile; or is this a profile request?
@hyiltiz commented on GitHub (Aug 16, 2020):
This is a profile request. When I ran
stack setuporcabal install agdafor example, they failed; however, when I ran/usr/bin/stack setupit would succeed... I am guessingstackwas just running a/usr/local/bin/stacklink with some default profile, but not sure.@bbhtt commented on GitHub (Aug 16, 2020):
which -a stackorwhich -a cabal? Andfirejail --listis it? If I'm not mistaken there's no profile forpip,npm,yarn,cabal,stack,brew,aptetc. in firejail repository.@hyiltiz commented on GitHub (Aug 16, 2020):
I have at least two binaries for each... And none seem relevant to firejail. Sorry for the trouble. Yes, there are no profiles for those, but they seem to be mentioned in
disable-common.inc; I wasn't sure if that would globally disable all those stuff once firejail is installed, unless whitelisted by specific profiles.