[GH-ISSUE #3925] telegram-desktop launch browser for open URL (after update to 0.9.64.2) #2455

Closed
opened 2026-05-05 09:08:27 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @13ilya-old on GitHub (Jan 29, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3925

After update to 0.9.64.2 (although I'm not sure if it has anything to do with the firejail update), telegram-desktop need reed /etc/passwd to start the browser correctly (tested on firefox in openSUSE Tumbleweed).
Otherwise it displays an error: Error getpwuid: main.c:236 init_cfg: No such file or directory.

/etc/firejail/telegram.profile
-private-etc alternatives,alsa,ca-certificates,crypto-policies,fonts,group,ld.so.cache,localtime,machine-id,os-release,pki,pulse,resolv.conf,ssl,xdg
+private-etc alternatives,alsa,ca-certificates,crypto-policies,fonts,group,ld.so.cache,localtime,machine-id,os-release,passwd,pki,pulse,resolv.conf,ssl,xdg

Originally created by @13ilya-old on GitHub (Jan 29, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/3925 After update to 0.9.64.2 (although I'm not sure if it has anything to do with the firejail update), telegram-desktop need reed /etc/passwd to start the browser correctly (tested on firefox in openSUSE Tumbleweed). Otherwise it displays an error: Error getpwuid: main.c:236 init_cfg: No such file or directory. /etc/firejail/telegram.profile -private-etc alternatives,alsa,ca-certificates,crypto-policies,fonts,group,ld.so.cache,localtime,machine-id,os-release,pki,pulse,resolv.conf,ssl,xdg +private-etc alternatives,alsa,ca-certificates,crypto-policies,fonts,group,ld.so.cache,localtime,machine-id,os-release,passwd,pki,pulse,resolv.conf,ssl,xdg
Author
Owner

@rusty-snake commented on GitHub (Jan 29, 2021):

Should be fixed, thanks for reporting.

FWIW: #2877 issue 1


BTW: You can use code-blocks for such diffs which look nicer.

Code:

```diff
-private-etc alternatives,alsa,ca-certificates,crypto-policies,fonts,group,ld.so.cache,localtime,machine-id,os-release,pki,pulse,resolv.conf,ssl,xdg
+private-etc alternatives,alsa,ca-certificates,crypto-policies,fonts,group,ld.so.cache,localtime,machine-id,os-release,passwd,pki,pulse,resolv.conf,ssl,xdg
```

Rendered:

-private-etc alternatives,alsa,ca-certificates,crypto-policies,fonts,group,ld.so.cache,localtime,machine-id,os-release,pki,pulse,resolv.conf,ssl,xdg
+private-etc alternatives,alsa,ca-certificates,crypto-policies,fonts,group,ld.so.cache,localtime,machine-id,os-release,passwd,pki,pulse,resolv.conf,ssl,xdg
<!-- gh-comment-id:769930235 --> @rusty-snake commented on GitHub (Jan 29, 2021): Should be fixed, thanks for reporting. FWIW: #2877 issue 1 ---- BTW: You can use code-blocks for such diffs which look nicer. Code: ```` ```diff -private-etc alternatives,alsa,ca-certificates,crypto-policies,fonts,group,ld.so.cache,localtime,machine-id,os-release,pki,pulse,resolv.conf,ssl,xdg +private-etc alternatives,alsa,ca-certificates,crypto-policies,fonts,group,ld.so.cache,localtime,machine-id,os-release,passwd,pki,pulse,resolv.conf,ssl,xdg ``` ```` Rendered: ```diff -private-etc alternatives,alsa,ca-certificates,crypto-policies,fonts,group,ld.so.cache,localtime,machine-id,os-release,pki,pulse,resolv.conf,ssl,xdg +private-etc alternatives,alsa,ca-certificates,crypto-policies,fonts,group,ld.so.cache,localtime,machine-id,os-release,passwd,pki,pulse,resolv.conf,ssl,xdg ```
Author
Owner

@13ilya-old commented on GitHub (Jan 29, 2021):

-delete
+add

Well. Thank you!

<!-- gh-comment-id:769948995 --> @13ilya-old commented on GitHub (Jan 29, 2021): ```diff -delete +add ``` Well. Thank you!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2455
No description provided.