mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4511] telegram-desktop: program does not shutdown #2689
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#2689
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 @asakura42 on GitHub (Sep 5, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4511
Write clear, concise and in textual form.
Bug and expected behavior
firejail doesn't exit after closing
telegram-desktopClose
telegram-desktop, firejail container closes automatically (as usual)No profile and disabling firejail
firejail --noprofile /path/to/programin a terminal?Parent is shutting down, bye.../usr/bin/vlc)?Everything is OK.
Reproduce
Steps to reproduce the behavior:
firejail telegram-desktopEnvironment
lsb_release -a,screenfetchorcat /etc/os-release)Arch Linux 5.13.12-arch1-1
firejail --version) exclusive or used git commit (git rev-parse HEAD)firejail version 0.9.66
Additional context
Other context about the problem like related errors to understand the problem.
Checklist
https://github.com/netblue30/firejail/issues/1139)--profile=PROFILENAMEis used to set the right profile.LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PROGRAMto get english error-messages.browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.Log
Lines after clicking 'Quit':
@asakura42 commented on GitHub (Sep 5, 2021):
I think I found related issue: https://github.com/netblue30/firejail/issues/928
Also,
pstree | grep telegramwhen Telegram runs in firejail:and when I quit telegram but firejail still work:
UPD: https://github.com/netblue30/firejail/issues/3949#issuecomment-777846121 this comment helped me but I won't close issue if some better option exist
@nidamanx commented on GitHub (Sep 7, 2021):
I found a possible solution.
To add in .profile the following line:
ignore dbus-user@rusty-snake,
do you think it could be better to work on
dbus-user filterP.S. In $XDG_RUNTIME_DIR I cannod find Telegram related files
@rusty-snake commented on GitHub (Sep 7, 2021):
yes
@nidamanx commented on GitHub (Sep 7, 2021):
That was exactly my thought
This works:
Add in
.config/firejail/telegram.local@rusty-snake commented on GitHub (Sep 7, 2021):
Can you test this
@nidamanx commented on GitHub (Sep 7, 2021):
@rusty-snake
In that way, it doesnt work.
The only way seems to set the bus as already set in
telegram.profile
We need:
dbus-user.own org.telegram.desktop.*And we don't need:
dbus-user.own org.telegram.desktop@kmk3 commented on GitHub (Dec 13, 2021):
@asakura42 commented on Sep 5:
That was closed by #4635. Does the issue still happen on master?
Glad it helped :)
@nidamanx commented on Sep 7:
For reference, that line was added by #4412.
@rusty-snake commented on GitHub (Jun 8, 2022):
I'm closing here due to inactivity, please fell free to request to reopen if you still have this issue.