[GH-ISSUE #4118] Discord Game Activity #2542

Closed
opened 2026-05-05 09:13:09 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @sillitatti on GitHub (Mar 19, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4118

How might Discord's Game Activity detection be made to work with firejail? Even if I run Discord with "firejail --noprofile Discord", this what I get:

kuva

I'm running Firejail 0.9.64 on Fedora 33. Discord build number 80041.

Originally created by @sillitatti on GitHub (Mar 19, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/4118 How might Discord's Game Activity detection be made to work with firejail? Even if I run Discord with "firejail --noprofile Discord", this what I get: ![kuva](https://user-images.githubusercontent.com/49153348/111837442-8d62cd80-8900-11eb-951e-3692198cff89.png) I'm running Firejail 0.9.64 on Fedora 33. Discord build number 80041.
gitea-mirror 2026-05-05 09:13:09 -06:00
Author
Owner

@rusty-snake commented on GitHub (Mar 19, 2021):

Even if I run Discord with "firejail --noprofile Discord", this what I get:

Try if the noprofile.profile helps. If not there is no hope.

Firejail 0.9.64

is vulnerable to CVE-2021-26910.

<!-- gh-comment-id:803110522 --> @rusty-snake commented on GitHub (Mar 19, 2021): > Even if I run Discord with "firejail --noprofile Discord", this what I get: Try if the [noprofile.profile](https://gist.github.com/rusty-snake/bb234cb3e50e1e4e7429f29a7931cc72) helps. If not there is no hope. > Firejail 0.9.64 is vulnerable to CVE-2021-26910.
Author
Owner

@sillitatti commented on GitHub (Mar 19, 2021):

Try if the noprofile.profile helps. If not there is no hope.

Thanks, I tried it. Same result 😞

<!-- gh-comment-id:803122317 --> @sillitatti commented on GitHub (Mar 19, 2021): > Try if the [noprofile.profile](https://gist.github.com/rusty-snake/bb234cb3e50e1e4e7429f29a7931cc72) helps. If not there is no hope. Thanks, I tried it. Same result 😞
Author
Owner

@reinerh commented on GitHub (Mar 21, 2021):

Some time ago I worked on an AppArmor profile for Discord and noticed in the audit log that it tries to access the process list, and even to ptrace some processes (browsers, steam, spotify, ...).

@rusty-snake mentioned in the noprofile that a new PID namespace is still being created. So Discord will not see other processes.

What you could try is to start the other processes with firejail as well and join their namespaces (--join=$pid).

<!-- gh-comment-id:803550128 --> @reinerh commented on GitHub (Mar 21, 2021): Some time ago I worked on an AppArmor profile for Discord and noticed in the audit log that it tries to access the process list, and even to ptrace some processes (browsers, steam, spotify, ...). @rusty-snake mentioned in the noprofile that a new PID namespace is still being created. So Discord will not see other processes. What you could try is to start the other processes with firejail as well and join their namespaces (`--join=$pid`).
Author
Owner

@sillitatti commented on GitHub (Mar 21, 2021):

What you could try is to start the other processes with firejail as well and join their namespaces (--join=$pid).

Thank you! It works with the examples firejail --noprofile --name=steam steam and firejail --join=steam Discord. Now I'll just need to create a good combined profile.

<!-- gh-comment-id:803637719 --> @sillitatti commented on GitHub (Mar 21, 2021): > What you could try is to start the other processes with firejail as well and join their namespaces (`--join=$pid`). Thank you! It works with the examples `firejail --noprofile --name=steam steam` and `firejail --join=steam Discord`. Now I'll just need to create a good combined profile.
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#2542
No description provided.