[GH-ISSUE #3737] There is no sound in telegram via alsa (needs "alsa" and "group" for the "private-etc" option). #2358

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

Originally created by @13ilya-old on GitHub (Nov 10, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3737

Please add to your telegram profile, "alsa" and "group" for the "private-etc" option.
telegram.profile
-private-etc ca-certificates,crypto-policies,fonts,ld.so.cache,localtime,machine-id,pki,pulse,resolv.conf,ssl
+private-etc alsa,ca-certificates,crypto-policies,fonts,group,ld.so.cache,localtime,machine-id,pki,pulse,resolv.conf,ssl

Yes, oddly enough, but telegram via alsa needs /etc/group, presumably to make sure that the current user is a member of the audio group.
Without /etc/group, when trying to play sound, it gives an error:
ALSA lib pcm_direct.c:2014:(snd1_pcm_direct_parse_open_conf)
The field ipc_gid must be a valid group (create group audio)..

Originally created by @13ilya-old on GitHub (Nov 10, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3737 Please add to your telegram profile, "alsa" and "group" for the "private-etc" option. telegram.profile -private-etc ca-certificates,crypto-policies,fonts,ld.so.cache,localtime,machine-id,pki,pulse,resolv.conf,ssl +private-etc alsa,ca-certificates,crypto-policies,fonts,group,ld.so.cache,localtime,machine-id,pki,pulse,resolv.conf,ssl Yes, oddly enough, but telegram via alsa needs /etc/group, presumably to make sure that the current user is a member of the audio group. Without /etc/group, when trying to play sound, it gives an error: ALSA lib pcm_direct.c:2014:(snd1_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)..
Author
Owner

@ghost commented on GitHub (Nov 10, 2020):

Thanks!

<!-- gh-comment-id:725010719 --> @ghost commented on GitHub (Nov 10, 2020): Thanks!
Author
Owner

@13ilya-old commented on GitHub (Nov 11, 2020):

:Thank you! :-)

<!-- gh-comment-id:725219573 --> @13ilya-old commented on GitHub (Nov 11, 2020): :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#2358
No description provided.