mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3279] Teamspeak3 doesn't work #2056
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2056
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Mar 15, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3279
Linux Mint 19.3
I can't get Teamspeak3 to run through firejail. I downloaded the 64-bit linux client from here https://www.teamspeak.com/en/downloads/# and verified the sha256 hash. I ran the installer and extracted the files to /home/user/TeamSpeak3-Client-linux_amd64. I ran ts3client_runscript.sh and Teamspeak3 opens but it's not firejailed, confirmed by running htop and filtering by the word "firejail". So then I closed Teamspeak and tried something else that didn't work:
$ cd /home/user/TeamSpeak3-Client-linux_amd64
$ firejail ./ts3client_runscript.sh
Reading profile /usr/local/etc/firejail/default.profile
Reading profile /usr/local/etc/firejail/disable-common.inc
Reading profile /usr/local/etc/firejail/disable-passwdmgr.inc
Reading profile /usr/local/etc/firejail/disable-programs.inc
** Note: you can use --noprofile to disable default.profile **
Parent pid 16015, child pid 16016
Warning: cleaning all supplementary groups
Child process initialized in 76.49 ms
QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
Parent is shutting down, bye...
then a Teamspeak error pops up: TeamSpeak 3 cannot write to the configuration file: /home/user/.ts3client/settings.db You can use TeamSpeak 3, but all settings will be lost!" with options Abort or Ignore.
Any ideas?
@rusty-snake commented on GitHub (Mar 16, 2020):
If you use a custom installation in your home-directory with a special starter script, you must specify a profile and allow execution in $HOME:
firejail '--ignore=noexec ${HOME}' --profile=teamspeak3 ./ts3client_runscript.sh@ghost commented on GitHub (Mar 16, 2020):
Is there a different way to install Teamspeak? I use the official installer. I see a different error now
firejail --version
firejail version 0.9.63
user@box:~/TeamSpeak3-Client-linux_amd64$ ls -la | grep ts3client
drwxrwxr-x 5 user user 4096 Mar 15 16:36 .ts3client
-rwx------ 1 user user 19227736 Aug 25 2019 ts3client_linux_amd64
-rwx------ 1 user user 1328 Aug 25 2019 ts3client_runscript.sh
user@box:~/TeamSpeak3-Client-linux_amd64$ firejail '--ignore=noexec ${HOME}' --profile=teamspeak3 ./ts3client_runscript.sh
Reading profile /usr/local/etc/firejail/teamspeak3.profile
Reading profile /usr/local/etc/firejail/disable-common.inc
Reading profile /usr/local/etc/firejail/disable-devel.inc
Reading profile /usr/local/etc/firejail/disable-exec.inc
Reading profile /usr/local/etc/firejail/disable-interpreters.inc
Reading profile /usr/local/etc/firejail/disable-passwdmgr.inc
Reading profile /usr/local/etc/firejail/disable-programs.inc
Reading profile /usr/local/etc/firejail/whitelist-common.inc
Parent pid 5380, child pid 5381
Warning: cleaning all supplementary groups
Warning: cleaning all supplementary groups
Warning: cleaning all supplementary groups
Warning: cleaning all supplementary groups
Post-exec seccomp protector enabled
Seccomp list in: !chroot, check list: @default-keep, prelist: unknown,
Child process initialized in 56.99 ms
Error: no suitable ./ts3client_runscript.sh executable found
Parent is shutting down, bye...
@rusty-snake commented on GitHub (Mar 16, 2020):
TeamSpeak3-Client-linux_amd64 need to be whitelisted:
firejail '--ignore=noexec ${HOME}' --profile=teamspeak3 '--whitelist=${HOME}/TeamSpeak3-Client-linux_amd64' ./ts3client_runscript.sh@rusty-snake commented on GitHub (Mar 16, 2020):
Only a few (mostly Arch based) distributions have teamspeak(3) in their repos [1] [2]. Therefore the most users (Fedora, Debian, Ubuntu, Mint, Gentoo, ...) will need to use the official install script or use flatpak or snap?. We should modify the relevant parts of the profile.
[1] https://repology.org/project/teamspeak/versions
[2] https://repology.org/project/teamspeak3/versions
@rusty-snake commented on GitHub (Mar 18, 2020):
@Lemm99 can you test this profile.
ts3client_runscript.sh.profile:firejail ~/TeamSpeak3-Client-linux_amd64/ts3client_runscript.sh