-
Notifications
You must be signed in to change notification settings - Fork 346
Closed
Labels
Description
不具合の内容
[42692:0509/122607.595572:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_VOICEVRBrJKy/chrome-sandbox is owned by root and has mode 4755.
zsh: trace trap (core dumped) ~/.voicevox/VOICEVOX.AppImage
Ubuntu 24.04でリリース版例えば0.19.1を実行すると上記のエラーが出て起動できなくなっています.
これは24.04からは一般ユーザーにuser namespaceを作らせないというのをAppArmorの制御機能で行っているためで,Electron内部で使用しているchrome-sandboxが影響を受けて動かなくなるようです.
ref: electron/electron#41066
ワークアラウンドとしては--no-sandboxをつけるかsudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0するか
# vim:syntax=apparmor
#include <tunables/global>
profile VOICEVOX /home/{,**}/.voicevox/VOICEVOX.AppImage flags=(unconfined) {
userns,
}
みたいな内容のプロファイルを作って/etc/apparmor.d/に配置するかぐらいです今のところは.
全体で無効化するのは微妙な感じなので--no-sandboxつけるかプロファイルを書くのがおすすめです.
現象・ログ
再現手順
Ubuntu 24.04でリリース版のVoiceVoxを起動する.
期待動作
[42692:0509/122607.595572:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_VOICEVRBrJKy/chrome-sandbox is owned by root and has mode 4755.
zsh: trace trap (core dumped) ~/.voicevox/VOICEVOX.AppImage
のようなエラーが出ず正常に起動すること.
VOICEVOXのバージョン
0.19.1
OSの種類/ディストリ/バージョン
- Windows
- macOS
- Linux
Ubuntu 24.04 x86-64
その他
aoirint and iharuyaHiroshibaaoirint