On Sat, Jan 15, 2022 at 11:07:30AM +0800, Mad Horse wrote: > I do not have any custom setup on my pipewire, nor custom firejail profile > for chromium.
Do I understand it correctly that you are also using pipewire? > Started within firejail, chromium reported: > > > [10:46:0115/104317.720203:ERROR:bus.cc(397)] Failed to connect to the > > bus: Failed to connect to socket /run/firejail/mnt/dbus/system: > > Permission denied > > libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed > > [56:56:0115/104317.772250:ERROR:sandbox_linux.cc(378)] > > InitializeSandbox() called with multiple threads in process gpu-process. > > [10:85:0115/104317.887055:ERROR:bus.cc(397)] Failed to connect to the > > bus: Failed to connect to socket /run/firejail/mnt/dbus/system: > > Permission denied > > [10:85:0115/104317.887112:ERROR:bus.cc(397)] Failed to connect to the > > bus: Failed to connect to socket /run/firejail/mnt/dbus/system: > > Permission denied > > [10:85:0115/104317.887169:ERROR:bus.cc(397)] Failed to connect to the > > bus: Failed to connect to socket /run/firejail/mnt/dbus/system: > > Permission denied > > [10:85:0115/104317.887206:ERROR:bus.cc(397)] Failed to connect to the > > bus: Failed to connect to socket /run/firejail/mnt/dbus/system: > > Permission denied > > [10:85:0115/104317.887235:ERROR:bus.cc(397)] Failed to connect to the > > bus: Failed to connect to socket /run/firejail/mnt/dbus/system: > > Permission denied > /run/firejail/mnt/dbus/system do have permission 600, owned by root. I think they are not related. I see these messages as well, but sound is working for me. > When trying to play sound, chromium in firejail reported: > > > Failed to create secure directory (/run/user/1000/pulse): Operation not > > permitted > > ALSA lib dlmisc.c:337:(snd_dlobj_cache_get0) Cannot open shared library > > libasound_module_pcm_pulse.so > > (/usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so: > > cannot open shared object file: Permission denied) > > [307:307:0115/104404.402900:ERROR:alsa_util.cc(204)] PcmOpen: default,No > > such device or address > > ALSA lib dlmisc.c:337:(snd_dlobj_cache_get0) Cannot open shared library > > libasound_module_pcm_pulse.so > > (/usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so: > > cannot open shared object file: Permission denied) > > [307:307:0115/104404.404678:ERROR:alsa_util.cc(204)] PcmOpen: > > plug:default,No such device or address > > but there is a unix domain socket /run/user/1000/pulse/native, owned by UID > 1000, with permission 666, > and the permission of > /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so is > root,644. > Both were inspected inside firejail for chromium. > > Do you have any idea about these? Assuming that you are using pipewire, can you please add the following to your chromium.profile (or chromium.local): > whitelist ${RUNUSER}/pipewire-? > whitelist /usr/share/pipewire Kind regards, Reiner
signature.asc
Description: PGP signature