mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4378] Telegram 2.8.0 not working #2641
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#2641
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 @dmitryvakulenko on GitHub (Jun 28, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4378
I upgraded Telegram and now It can't connect to network. Firejail version 0.9.64.4. Profile I got from issue https://github.com/netblue30/firejail/issues/4377.
Telegram write this messages to log
EDIT by @rusty-snake: fix code-block
@rusty-snake commented on GitHub (Jun 28, 2021):
Which distro do you use? Do you have any custom modifications (e.g. globals.local or telegram.local)?
Only in firejail? or is this a telegram bug? Does it work with
--noprofile?How exactly? If you mean you use the current git-master, that's wrong because it can no work (can not parse
noinput).What is your DNS setup? dnsmasq? systemd-resolved? unbound? dnscrypt-proxy? ...?
@dmitryvakulenko commented on GitHub (Jun 29, 2021):
Linux Mint 20.1 Cinnamon. Yes, I use custom usually (use private directory for Telegram). But now I copy profile from that issue.
Telegram works fine without firejail or with --noprofile.
I just remove noinput. All other the same.
systemd-resolved in default configuration. It forward dns requests to my router and that's all.
@rusty-snake commented on GitHub (Jun 29, 2021):
I still don't have a real idea what causes this. I mean if you would say all firejailed programs fail ... but only telegram, after an update. 😕 . Looks like you need to comment the profile to find the line that causes this (dbus-system none? wusc? private-etc? ...)
If you made you cahnged (e.g
private ${HOME}/telegram-home) in telegram.local (as you should) they are still included.@dmitryvakulenko commented on GitHub (Jun 29, 2021):
I try to do it yesterday but no any results. Looks like trouble more complex. One more things - after I reverted Telegram to old version it drop authorization and all settings. Maybе new version has different directory structure and firejail block access to new one.
@rusty-snake commented on GitHub (Jun 29, 2021):
It's cause by the profile (
--noprofileworks). If you comment everything, it must work as a consequence. If you now start to uncomment it line for line (and things like whitelisting at once) you could at least narrow it down (e.g. caused by whitelisting, one of the disable-*.inc includes, dbus policy, ...).That, or it just has a new config format which isn't backward-compatible. Or something else.
To check the directory structure, start it with
firejail --private --name=telegram --ignore=privte-bin telegramand runfirejail --join=telegram tree -a(orls -aR) in a second terminal.@dmitryvakulenko commented on GitHub (Jun 29, 2021):
The trouble was at
include /etc/firejail/disable-shell.incline. I'm confused...@rusty-snake commented on GitHub (Jun 29, 2021):
Try to add
include allow-bin-sh.inc.How can this stop network??! I'm confused... …I'm too.
@rusty-snake commented on GitHub (Oct 9, 2021):
I'm closing here due to inactivity, please fell free to request to reopen if you still have this issue.