Open CocoR55 opened 2 years ago
I've never used tutanota but it might be an issue stemming from private-etc
. Things you can try right now to see if they fix the issue:
ignore private-etc
to your local overrideprivate-etc mime.types,xdg
to your local overrideBut these are longshots and without knowing what exactly is in your ~/.config/firejail/tutanota-desktop.profile
this is stabbing in the dark. Can you post that file here please? Also post electron override if you have that, as the tutanota-desktop.profile includes that one.
Thank you for your message To check a possible interaction, I have completely uninstalled Flatpak from my PC. I still have the problem.
I'm not sure I understand. I typed either firejail ignore private-etc and the command is not found or firejail --ignore private-etc and Error: invalid --ignore command line optio
tutanota-desktop.profile is the same like https://github.com/netblue30/firejail/pull/3870/commits/70ef3de4b62ddb9577083d9656732a679a43a7c8
I'm not sure I understand. I typed either firejail ignore private-etc and the command is not found or firejail --ignore private-etc and Error: invalid --ignore command line optio
For CLI:
--ignore=private-etc
--private-etc=mime.types,xdg
For .profile or .local:
ignore private-etc
private-etc mime.types,xdg
If ~/.config/firejail/tutanota-desktop.local doesn't exist (and you don't have it in /etc/firejail either), you'll have to create it.
Following your instruction, inside /etc/firejail:
$ cat tutanota-desktop.profile
?HAS_APPIMAGE: ignore private-dev
ignore private-etc
private-etc mime.types,xdg
private-etc alternatives,ca-certificates,crypto-policies,fonts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,machine-id,nsswitch.conf,pki,resolv.conf,ssl
private-opt tutanota-desktop
$ firejail --ignore=private-etc --private-etc=mime.types,xdg --appimage \
--profile=/etc/firejail/tutanota-desktop.profile \
/home/Leloup/Tutanota/tutanota-desktop-linux.AppImage
Result is: a window with:
The server could not be reached, you seem to be offline. Please try again later.
Linux stack trace: The package that provides /run/firejail/appimage/tutanota-desktop is not found.
With the version v3.91.3, this is the same.
Description
Bug with the last version 3.89.25 of tutanota (tutanota-desktop-linux.AppImage) under firejail However it is possible to to read messages to send messages with attached files to receive messages with attached files to download an attachment but once the file is downloaded, the tutanota application does not answer anymore... "please wait". /run/firefail/appimage/tutanota-desktop --field-trial-handle=2.....2 --disable-features=SpareRebderFor....... .. You have to kill it.
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
After file downloaded, tutanota can answer and continue to work.
Actual behavior
After file downloaded, tutanota cannot answer and does not continue to work.
Behavior without a profile
Tutanota + firejail + noprofile, no issue. However, tutanota+firejail+profile=/home/leloup/.config/firejail/tutanota-desktop.profile, the downloading issue is reproduced.
Additional context
If the file is downloaded without using the application, there is no bug. It seems to me that the problem did not exist at the beginning of its use. Tests with V3.89.20, instead of V3.89.25, give the same problem. Tutanota installed on another PC with Linux Mint Xfce instead of Cinnamon, tutanota+firejail+profile=/home/leloup/.config/firejail/tutanota-desktop.profile. In this case, a window opens each time asking which application manages the files. I enter thunar. Downloading is made without issu
Environment
Checklist
/usr/bin/vlc
) "fixes" it).https://github.com/netblue30/firejail/issues/1139
)browser-allow-drm yes
/browser-disable-u2f no
infirejail.config
to allow DRM/U2F in browsers.--profile=PROFILENAME
to set the right profile. (Only relevant for AppImages)