mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5907] telegram: program asks to relogin on every launch #3127
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#3127
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 @aphyav on GitHub (Jul 18, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5907
Description
Telegram desktop(v 4.8.3) on debian bookworm asks to relogin every time when launching with firejail(v 0.9.72).
Steps to Reproduce
Steps to reproduce the behavior
Launch telegram as usual, without firejail:
mkdir /tmp/tg1
/opt/Telegram/Telegram -many -workdir /tmp/tg1
Login by entering confirmation code from other device. Close the app.
Launch telegram without firejail again, to ensure that it loads created profile correctly and deosn't ask to login again:
/opt/Telegram/Telegram -many -workdir /tmp/tg1
Close the app.
Launch telegram with firejail:
LC_ALL=C firejail --profile=/etc/firejail/telegram.profile /opt/Telegram/Telegram -many -workdir /tmp/tg1
Expected behavior
When launching Telegram with firejail:
LC_ALL=C firejail --profile=/etc/firejail/telegram.profile /opt/Telegram/Telegram -many -workdir /tmp/tg1
it must be already logined in.
Log
Workaround
To make it work as it must I use firejail profile for telegram from bullseye version with some changes, here it is:
@rusty-snake commented on GitHub (Jul 18, 2023):
Launch with one of the following commands if you want to share
/tmp{,/tg1}.