-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
telegram-desktop 2.8.2 not starting using firejail-git #4377
Comments
This is the diff since 0.9.64.4, can you check which added/changed line causes this. diff --git a/etc/profile-m-z/telegram.profile b/etc/profile-m-z/telegram.profile
index 0e7413fc94..05c621fb28 100644
--- a/etc/profile-m-z/telegram.profile
+++ b/etc/profile-m-z/telegram.profile
@@ -12,18 +12,45 @@ include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
+include disable-passwdmgr.inc
include disable-programs.inc
+include disable-shell.inc
+include disable-xdg.inc
+mkdir ${HOME}/.TelegramDesktop
+mkdir ${HOME}/.local/share/TelegramDesktop
+whitelist ${HOME}/.TelegramDesktop
+whitelist ${HOME}/.local/share/TelegramDesktop
+whitelist ${DOWNLOADS}
+include whitelist-common.inc
+include whitelist-runuser-common.inc
+include whitelist-usr-share-common.inc
+include whitelist-var-common.inc
+
+apparmor
caps.drop all
netfilter
nodvd
+noinput
nonewprivs
noroot
notv
protocol unix,inet,inet6,netlink
seccomp
+seccomp.block-secondary
+shell none
+tracelog
disable-mnt
+#private-bin telegram,Telegram,telegram-desktop
private-cache
-private-etc alsa,alternatives,ca-certificates,crypto-policies,fonts,group,ld.so.cache,localtime,machine-id,os-release,pki,pulse,resolv.conf,ssl,xdg
+private-dev
+private-etc alsa,alternatives,ca-certificates,crypto-policies,fonts,group,ld.so.cache,localtime,machine-id,os-release,passwd,pki,pulse,resolv.conf,ssl,xdg
private-tmp
+
+dbus-user filter
+dbus-user.talk org.freedesktop.Notifications
+dbus-user.talk org.kde.StatusNotifierWatcher
+dbus-user.talk org.gnome.Mutter.IdleMonitor
+dbus-user.talk org.freedesktop.ScreenSaver
+dbus-system none |
Tracelog is the culprit. Telegram 2.8.2 works again on firejail-git commenting it. |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Archlinux, latest Telegram (2.8.2) is not starting using firejail-git compiled just now from AUR, however it does work using the stable version from the repos (0.9.64.4).
EDIT by @rusty-snake: fix code-block
The text was updated successfully, but these errors were encountered: