mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5831] mattermost-desktop: cannot start #3106
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#3106
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 @setpill on GitHub (May 16, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5831
Description
mattermost-desktop with the default profile fails to start.
Steps to Reproduce
firejail mattermost-desktopExpected behavior
Mattermost opens
Actual behavior
Mattermost doesn't open
Behavior without a profile
It opened as expected
Additional context
Any other detail that may help to understand/debug the problem
Copying
/etc/firejail/mattermost-desktop.profileto~/.config/firejail/and commenting out the following line helped.This made mattermost run, though the tray icon was broken. This was fixed by commenting out
Environment
Arch Linux
firejail --version).firejail version 0.9.72
was compiled (
git rev-parse HEAD).Nope, using the version from arch repos.
Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)@rusty-snake commented on GitHub (May 16, 2023):
Remove
~/.config/firejail/mattermost-desktop.profileand create insteadmattermost-desktop.localwithand report back. If it works you can open a PR (following the order of the profile.template) with it.
Try to add the following to allow-bin-sh.inc too.
@setpill commented on GitHub (May 16, 2023):
Making
mattermost-desktop.localwithinclude allow-bin-sh.inchad same effect as commenting outinclude disable-shell.inc- it worked, but tray icon was broken.Creating
allow-bin-sh.localwith the listed options did not fix the tray icon. Even uncommenting thedbus-user.talk org.freedesktop.Notificationsdid not help.Also, for these two tests I switched to using the latest git version (commit
020ae58).@setpill commented on GitHub (May 17, 2023):
On that same version (commit
020ae58) I managed to find the line inelectron-common.profilethat breaks the tray icon. Commenting outprivate-tmpmade it work.@setpill commented on GitHub (May 17, 2023):
Okay, the plot thickens. Mattermost-desktop on arch is outdated ( 😱 ). Using the up-to-date mattermost-desktop-bin from the AUR works perfectly fine with the default firejail profile. It also looks like the packaging is generally of higher quality (I suspect the
allow-bin-sh.incfixed things for the default package because the.desktopfile was a shell script).@rusty-snake commented on GitHub (May 17, 2023):
The icon getting replaced with a fallback icon is a known bug with chromium programs. See https://github.com/netblue30/firejail/issues/1137#issuecomment-669496384 for more details and a workaround.
OT: If you omit the backticks around commits, they get auto-linked.
020ae58vs.020ae58