[GH-ISSUE #3247] discord 0.10 seccomp #2036

Closed
opened 2026-05-05 08:42:23 -06:00 by gitea-mirror · 9 comments
Owner

Originally created by @arrowgent on GitHub (Feb 25, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3247

latest discord update breaks the discord-common.profile

launching with
firejail --ignore=seccomp discord
fixes the issue...
however, this disables seccomp

this must be related to recent updates in chromium/electron releases....

it doesnt help i cant find any discord release notes anywhere....
not going to join their discord for a release note/changelog...

Originally created by @arrowgent on GitHub (Feb 25, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3247 latest discord update breaks the discord-common.profile launching with `firejail --ignore=seccomp discord` fixes the issue... however, this disables seccomp this must be related to recent updates in chromium/electron releases.... it doesnt help i cant find any discord release notes anywhere.... not going to join their discord for a release note/changelog...
Author
Owner

@oxplay2 commented on GitHub (Feb 26, 2020):

we have problem with Discord (recent update too):
/usr/share/Modules/init/bash: line 36: /usr/bin/tclsh: There is no such file or directory

Command: firejail --profile="Discord" --whitelist="/usr/bin/tclsh" /opt/Discord/Discord
Don't resolve problem.

<!-- gh-comment-id:591325710 --> @oxplay2 commented on GitHub (Feb 26, 2020): we have problem with Discord (recent update too): /usr/share/Modules/init/bash: line 36: /usr/bin/tclsh: There is no such file or directory Command: firejail --profile="Discord" --whitelist="/usr/bin/tclsh" /opt/Discord/Discord Don't resolve problem.
Author
Owner

@rusty-snake commented on GitHub (Feb 27, 2020):

@arrowgent to find the blocked syscall: journalctl --grep=SECCOMP
Likely it is chroot (161), then try with firejail '--seccomp=!chroot' discord

@oxplay2 can you try firejail --private-bin=tclsh discord

<!-- gh-comment-id:592023250 --> @rusty-snake commented on GitHub (Feb 27, 2020): @arrowgent to find the blocked syscall: `journalctl --grep=SECCOMP` Likely it is chroot (161), then try with `firejail '--seccomp=!chroot' discord` @oxplay2 can you try `firejail --private-bin=tclsh discord`
Author
Owner

@oxplay2 commented on GitHub (Feb 28, 2020):

@rusty-snake

it helped with previous error.

But it still doesnt work (with no specific error)

...
Warning fcopy: skipping /etc/alternatives/print, cannot find inode
Warning fcopy: skipping /etc/alternatives/nmap, cannot find inode
Warning fcopy: skipping /etc/alternatives/mkisofs, cannot find inode
Warning fcopy: skipping /etc/alternatives/mta-newaliases, cannot find inode
Warning: skipping ca-certificates for private /etc
Warning: skipping password for private /etc
Private /etc installed in 17.37 ms
Child process initialized in 344.47 ms

Parent is shutting down, bye...

<!-- gh-comment-id:592418582 --> @oxplay2 commented on GitHub (Feb 28, 2020): @rusty-snake it helped with previous error. But it still doesnt work (with no specific error) > ... > Warning fcopy: skipping /etc/alternatives/print, cannot find inode > Warning fcopy: skipping /etc/alternatives/nmap, cannot find inode > Warning fcopy: skipping /etc/alternatives/mkisofs, cannot find inode > Warning fcopy: skipping /etc/alternatives/mta-newaliases, cannot find inode > Warning: skipping ca-certificates for private /etc > Warning: skipping password for private /etc > Private /etc installed in 17.37 ms > Child process initialized in 344.47 ms > > Parent is shutting down, bye...
Author
Owner

@rusty-snake commented on GitHub (Feb 28, 2020):

@oxplay2 anything in the journal? Does it work with --noprofile?

<!-- gh-comment-id:592437918 --> @rusty-snake commented on GitHub (Feb 28, 2020): @oxplay2 anything in the journal? Does it work with `--noprofile`?
Author
Owner

@oxplay2 commented on GitHub (Feb 29, 2020):

@rusty-snake still dont work

$ firejail --noprofile --private-bin=tclsh /opt/Discord/Discord
Parent pid 4176, child pid 4177
2 programs installed in 25.39 ms
Child process initialized in 40.03 ms
execvp: No such file or directory

Parent is shutting down, bye...

<!-- gh-comment-id:592918965 --> @oxplay2 commented on GitHub (Feb 29, 2020): @rusty-snake still dont work $ firejail --noprofile --private-bin=tclsh /opt/Discord/Discord Parent pid 4176, child pid 4177 2 programs installed in 25.39 ms Child process initialized in 40.03 ms execvp: No such file or directory Parent is shutting down, bye...
Author
Owner

@rusty-snake commented on GitHub (Feb 29, 2020):

I mean firejail --noprofile /opt/Discord/Discord, sorry.

<!-- gh-comment-id:592920421 --> @rusty-snake commented on GitHub (Feb 29, 2020): I mean `firejail --noprofile /opt/Discord/Discord`, sorry.
Author
Owner

@oxplay2 commented on GitHub (Feb 29, 2020):

@rusty-snake Thanks! it works fine, but does it make higher security risk without profile?

<!-- gh-comment-id:592924666 --> @oxplay2 commented on GitHub (Feb 29, 2020): @rusty-snake Thanks! it works fine, but does it make higher security risk without profile?
Author
Owner

@rusty-snake commented on GitHub (Feb 29, 2020):

Let me quote @Vincent43 https://github.com/netblue30/firejail/issues/3092#issuecomment-576336896

--noprofile is very close to not using firejail at all.


Shows journalctl --follow/journalctl --pager-end anything like blocked syscall as reported by OP?

<!-- gh-comment-id:592925888 --> @rusty-snake commented on GitHub (Feb 29, 2020): Let me quote @Vincent43 https://github.com/netblue30/firejail/issues/3092#issuecomment-576336896 > `--noprofile` is very close to not using firejail at all. --- Shows `journalctl --follow`/`journalctl --pager-end` anything like blocked syscall as reported by OP?
Author
Owner

@arrowgent commented on GitHub (Mar 1, 2020):

firejail discord
syslog

Mar  1 10:11:15 Origin-EON-17S kernel: [65777.405050] audit: type=1326 audit(1583086275.798:44): auid=4294967295 uid=1000 gid=1000 ses=4294967295 pid=8324 comm="Discord" exe="/usr/share/discord/Discord" sig=31 arch=c000003e syscall=161 compat=0 ip=0x7f07778a2839 code=0x0
Mar  1 10:11:15 Origin-EON-17S kernel: [65777.406497] traps: Discord[8320] trap int3 ip:558b60edceaa sp:7fffd0088c90 error:0 in Discord[558b5d9cc000+53ad000]

testing
firejail '--seccomp=!chroot' discord
launches correctly.

<!-- gh-comment-id:593127034 --> @arrowgent commented on GitHub (Mar 1, 2020): firejail discord syslog ``` Mar 1 10:11:15 Origin-EON-17S kernel: [65777.405050] audit: type=1326 audit(1583086275.798:44): auid=4294967295 uid=1000 gid=1000 ses=4294967295 pid=8324 comm="Discord" exe="/usr/share/discord/Discord" sig=31 arch=c000003e syscall=161 compat=0 ip=0x7f07778a2839 code=0x0 Mar 1 10:11:15 Origin-EON-17S kernel: [65777.406497] traps: Discord[8320] trap int3 ip:558b60edceaa sp:7fffd0088c90 error:0 in Discord[558b5d9cc000+53ad000] ``` testing `firejail '--seccomp=!chroot' discord` launches correctly.
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#2036
No description provided.