Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #243582 > unrolled thread

telegram-desktop not working with firejail

Started bypiorunz <piorunz@gmx.com>
First post2022-01-02 16:10 +0100
Last post2022-01-19 22:10 +0100
Articles 3 — 1 participant

Back to article view | Back to linux.debian.user


Contents

  telegram-desktop not working with firejail piorunz <piorunz@gmx.com> - 2022-01-02 16:10 +0100
    [SOLVED] Re: telegram-desktop not working with firejail piorunz <piorunz@gmx.com> - 2022-01-19 19:20 +0100
      Re: [SOLVED] Re: telegram-desktop not working with firejail piorunz <piorunz@gmx.com> - 2022-01-19 22:10 +0100

#243582 — telegram-desktop not working with firejail

Frompiorunz <piorunz@gmx.com>
Date2022-01-02 16:10 +0100
Subjecttelegram-desktop not working with firejail
Message-ID<DBaEF-4Is-5@gated-at.bofh.it>
Hi all,

I have used telegram-desktop with firejail on Debian 10. Everything was
working fine. Two days ago, I upgraded my OS to Debian Bookworm
(testing). System is clean and everything else is working. Only
telegram-desktop is failing to work with firejail profile.

Terminal output:
$ firejail telegram-desktop
Reading profile /etc/firejail/telegram-desktop.profile
Reading profile /etc/firejail/telegram.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-shell.inc
Reading profile /etc/firejail/disable-xdg.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-runuser-common.inc
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 825717, child pid 825720
Warning: An abstract unix socket for session D-BUS might still be available.
Use --net or remove unix from --protocol set.
Warning: skipping crypto-policies for private /etc
Warning: skipping pki for private /etc
Warning fcopy: skipping /etc/pulse/client.conf.d/01-enable-autospawn.conf,
cannot find inode
Private /etc installed in 13.33 ms
Private /usr/etc installed in 0.00 ms
Child process initialized in 81.10 ms

Parent is shutting down, bye...

Something is wrong with firejail profile? Any suggestions? TIA!

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀⠀⠀

[toc] | [next] | [standalone]


#244222 — [SOLVED] Re: telegram-desktop not working with firejail

Frompiorunz <piorunz@gmx.com>
Date2022-01-19 19:20 +0100
Subject[SOLVED] Re: telegram-desktop not working with firejail
Message-ID<DHnIR-7ky-7@gated-at.bofh.it>
In reply to#243582
I forget to write to the list. At the moment, firejail's Telegram
profile is broken. I solved this by commenting out all lines and
enabling them one by one, until I found what is broken.

Edit /etc/firejail/telegram.profile file. Comment out lines:

#include disable-shell.inc
#include whitelist-usr-share-common.inc
#include whitelist-var-common.inc

Without this, Telegram Desktop will not work with firejail in Bookworm.

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀⠀⠀

[toc] | [prev] | [next] | [standalone]


#244224 — Re: [SOLVED] Re: telegram-desktop not working with firejail

Frompiorunz <piorunz@gmx.com>
Date2022-01-19 22:10 +0100
SubjectRe: [SOLVED] Re: telegram-desktop not working with firejail
Message-ID<DHqdH-fJ-1@gated-at.bofh.it>
In reply to#244222
Another solution found:

Add this line to /etc/firejail/telegram.profile:
whitelist /usr/share/TelegramDesktop

Solved that way!

-- 
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀⠀⠀

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web