mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5004] signal-desktop fails with Wayland Ozone platform #2851
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#2851
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 @onny on GitHub (Mar 3, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5004
Description
signal-desktopwont launch when Wayland Ozone backend is enabled, it only works when environment variableLC_ALL=Cis set.Steps to Reproduce
Steps to reproduce the behavior
firejail /nix/store/hhr5nvk3f8cpxsp7i1zvqvj89shg969l-signal-desktop-5.30.0/bin/signal-desktop --enable-features=UseOzonePlatform --ozone-platform=waylandsignal-desktopfails to runExpected behavior
signal-desktopshould run with Wayland Ozone backend enabledActual behavior
Program crashes or wont run
Behavior without a profile
Same behavior
Additional context
When running the command with
LC_ALL=Cprefixed, it works:LC_ALL=C firejail /nix/store/hhr5nvk3f8cpxsp7i1zvqvj89shg969l-signal-desktop-5.30.0/bin/signal-desktop --enable-features=UseOzonePlatform --ozone-platform=waylandEnvironment
firejail --version).git rev-parse HEAD).Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
Output of
firejail /nix/store/hhr5nvk3f8cpxsp7i1zvqvj89shg969l-signal-desktop-5.30.0/bin/signal-desktop --enable-features=UseOzonePlatform --ozone-platform=waylandOutput of
LC_ALL=C firejail /nix/store/hhr5nvk3f8cpxsp7i1zvqvj89shg969l-signal-desktop-5.30.0/bin/signal-desktop --enable-features=UseOzonePlatform --ozone-platform=waylandOutput of
firejail --debug /nix/store/hhr5nvk3f8cpxsp7i1zvqvj89shg969l-signal-desktop-5.30.0/bin/signal-desktop --enable-features=UseOzonePlatform --ozone-platform=waylandOutput of
LC_ALL=C firejail --debug /nix/store/hhr5nvk3f8cpxsp7i1zvqvj89shg969l-signal-desktop-5.30.0/bin/signal-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland@ghost commented on GitHub (Mar 3, 2022):
Seeing that /usr/share/locale is already whitelisted in whitelist-usr-share-common.inc I wonder if something is missing from private-etc. Can you bring signal-desktop up when adding
--ignore=private-etc? If so, try--private-etc=locale,locale.alias,locale.confnext to return the sandbox to the same hardening level.@onny commented on GitHub (Mar 4, 2022):
Hey @glitsj16, unfortunately even with
--ignore=private-etcit doesn't work. I guess NixOS is a bit special here because standard paths like/usr/share/localedoes not exist.Maybe I have to whitelist other paths too?
@ghost commented on GitHub (Mar 4, 2022):
Probably, but difficult for me to judge from here. You could use the
--trace=~/Downloads/signal-desktop.logoption to produce a list of open/access calls to ease this kind of debugging.@rusty-snake commented on GitHub (Mar 4, 2022):
Maybe related: #4887
Does
--profile=noprofilework?@rusty-snake commented on GitHub (Jun 8, 2022):
I'm closing here due to inactivity, please fell free to request to reopen if you still have this issue.