Running chromium as normal I get the following awesome stderr feedback: Failed to create secure directory (/var/run/user/1000/pulse): Operation not permitted ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.9/work/alsa-lib-1.1.9/src/dlmisc.c:285:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so ((null): /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so: cannot open shared object file: Operation not permitted) [28908:28908:1110/112026.374936:ERROR:alsa_util.cc(204)] PcmOpen: default,No such device or address Obvious culprit is sandbox and indeed chromium --no-sandbox resolves the problem. It appears upstream already has a solution at https://chromium-review.googlesource.com/c/chromium/src/+/1827296 but this does not apply cleanly to ~amd64 chromium (unless someone beat me to it since I treesync'ed). I will take a look at backporting the patch but for now I'm chicken-and-egg'ed as I'm using the affected browser to post my bug :) (thinking ahead! I should try it sometime!)
(In reply to Greg Turner from comment #0) > Running chromium as normal I get I should have mentioned here, I do not get any audio. > the following awesome stderr feedback: TBC, above "awesome" is not sarcasm, I really did like it :)
Hmm, OK those patches don't apply because they are already in there. So... ¯\_(ツ)_/¯
The upstream change allows /run/user/<userid>/pulse, but your chromium build tries to access /var/run/user/<userid>/pulse. You could try to patch this and see if it helps.
(In reply to Stephan Hartmann from comment #3) > The upstream change allows /run/user/<userid>/pulse, but your chromium build > tries to access /var/run/user/<userid>/pulse. You could try to patch this > and see if it helps. A keen observation, thank you! I guess this makes it a pa bug? Gentoo is fully on board with the /var/run -> /run thing, no?
Created attachment 595694 [details, diff] pa-run-var-run-whatever.patch (In reply to Greg Turner from comment #4) > (In reply to Stephan Hartmann from comment #3) > > The upstream change allows /run/user/<userid>/pulse, but your chromium build > > tries to access /var/run/user/<userid>/pulse. You could try to patch this > > and see if it helps. > > A keen observation, thank you! I guess this makes it a pa bug? Gentoo is > fully on board with the /var/run -> /run thing, no? While such philosophical questions are being considered, the attached work-around worked for me.
This should be the fix for M79 and should be included in next beta channel: https://chromium.googlesource.com/chromium/src/+/986ceaa29203bd7e0ed6a7a32ee3ec4da4941c9c
*** Bug 699978 has been marked as a duplicate of this bug. ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70261a3a702bc629e84cf563f7d752d4da5049be commit 70261a3a702bc629e84cf563f7d752d4da5049be Author: Stephan Hartmann <stha09@googlemail.com> AuthorDate: 2019-11-14 14:19:17 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-11-17 20:15:16 +0000 www-client/chromium: beta channel bump to 79.0.3945.36 Bug: https://bugs.gentoo.org/699776 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Stephan Hartmann <stha09@googlemail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/13653 www-client/chromium/Manifest | 2 +- .../{chromium-79.0.3945.29.ebuild => chromium-79.0.3945.36.ebuild} | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
Can someone confirm that it works again with current beta channel?
Works with 79.0.3945.36
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63e5fbd254535ca8902ae4456b733f782e8cde73 commit 63e5fbd254535ca8902ae4456b733f782e8cde73 Author: Stephan Hartmann <stha09@googlemail.com> AuthorDate: 2019-11-20 20:24:39 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-11-22 20:08:50 +0000 www-client/chromium: dev channel bump to 80.0.3970.5 Closes: https://bugs.gentoo.org/699776 Closes: https://bugs.gentoo.org/699978 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Stephan Hartmann <stha09@googlemail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org> www-client/chromium/Manifest | 2 +- ...0.3962.2.ebuild => chromium-80.0.3970.5.ebuild} | 4 +++ .../chromium/files/chromium-80-gcc-blink.patch | 27 +++++++++++++++++++ .../chromium/files/chromium-80-gcc-quiche.patch | 30 ++++++++++++++++++++++ .../chromium/files/chromium-80-include.patch | 13 ++++++++++ 5 files changed, 75 insertions(+), 1 deletion(-)