Comments (7)
Hi,
I found the workaround. The issue is for ALL Electron apps.
As a workaround for now, we must do sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
Here for more information:
electron/electron#41066
from desktop.
Thanks for the insight, created a ticket here: https://mattermost.atlassian.net/browse/MM-59486
from desktop.
@floviolleau Is this consistently reproducible? Are you running as root
or as a regular user?
Can you try the latest nightly build from here: https://community.mattermost.com/core/channels/desktop-builds
from desktop.
Hi,
I reproduce it all the time.
No root usage
I don't have account on mattermost community so I cannot download.
I think it is an issue with electron
from desktop.
Good find! Closing this issue for now, will re-open if there's anything needed from our end.
from desktop.
Hi,
Sorry to add a new comment but you need to reopen the issue.
As mentioned in the issue linked with electron repository, this issue is caused by apparmor's default policy, which lacks a specific profile in the /etc/apparmor.d/ directory.
Mattermost installation need to add a profile in /etc/apparmor.d/ directory.
Here is an exemple from Matrix Element app:
# This profile allows everything and only exists to give the
# application a name instead of having the label "unconfined"
abi <abi/4.0>,
include <tunables/global>
profile element-desktop /opt/Element/element-desktop flags=(unconfined) {
userns,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/element-desktop>
}
from desktop.
Going to open this as HW as we probably won't get to work on this internally anytime soon. If anyone is open to making changes to get this working (perhaps writing a script to drop the profile where it needs to be) I can help guide/merge the changes :)
from desktop.
Related Issues (20)
- Under Wayland, Mattermost should not draw extra window decorations if the compositor encourages client-side decorations
- [Bug]: linux x64 (non-arm) AppImage is missing (mattermost-desktop-5.8.0-linux-x86_64.AppImage) HOT 4
- [Bug]: Part of app window is showing on second monitor HOT 7
- [Bug]: No Sound alert and notification popup on Windows 10/Server 2016 v1607 (pre-creators update) HOT 6
- [Bug]: Notification banners and sound are not played on macOS when FocusStatus permission is denied HOT 2
- [Bug]: Windows top bar (including 3 icons to minimize/increase size and close buttons) is showing css instead HOT 2
- [Bug]: Mattermost window keeps resizing each time after relaunch HOT 1
- [Bug]: Some download links are down for v5.8.1 HOT 2
- [bug]:Jitsi Meet does not have microphone and camera permissions in embedded mode, but it works fine in Chrome/Safari. HOT 5
- [Bug]: Layout issues when running under wayland HOT 1
- [Bug]: Desktop App can reside off-screen HOT 1
- [Bug]: Window can not be moved after startup HOT 2
- [Bug]: No window controls HOT 3
- [Crash]: Cannot use mattermost desktop after upgrading to Ubuntu 24.04 HOT 1
- [Bug]: Handelable exception thrown as runtime error. (Server selection) HOT 1
- [Bug]: Minor UX: Update downloader does not indicate active download + can crash on repeated click HOT 1
- [Bug]: Mattermost App freezes when opening a file from downloads dialog (Linux/wlroots) HOT 1
- [Crash]: TypeError: s.nativeImage.createThumbnailFromPath is not a function HOT 1
- [Bug]: Minimize button doesn't work in 5.9.0 on Kubuntu 24.04 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desktop.