mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2075] Weechat /exec fails with default weechat.profile #1403
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#1403
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 @fld on GitHub (Aug 6, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2075
The /exec command in Weechat does not function properly with default weechat.profile.
Tested on debian 9.5 64bit / Linux 4.17.12 / Weechat 2.2 / Firejail 0.9.54:
Weechat shows:
It seems to "Error" with any command I threw at it
To get it working, I modified /etc/firejail/weechat.profile with:
#nonewprivs
#protocol unix,inet,inet6
#seccomp
Uncommenting any of those makes /exec's fail
@chiraag-nataraj commented on GitHub (Aug 6, 2018):
I don't think we should allow a chat client to execute random binaries by default. The predicates you highlight are eminently useful and prevent classes of vulnerabilities and should be enabled by default (unless they hamper the main function of
weechat, which is...chatting). You are, of course, more than welcome to disable the "problematic" things in the profile.@chiraag-nataraj commented on GitHub (Aug 6, 2018):
Also, you can use
/etc/firejail/weechat.localwith:to get the desired effect without modifying the files that come with
firejail(which will be overwritten on update).