Summary: | net-im/zoom-5.11.3.3882: sh: line 1: pactl: command not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Efros <powerman-asdf> |
Component: | Current packages | Assignee: | Ulrich Müller <ulm> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | dilfridge, ionen, jstein, mva |
Priority: | Normal | Keywords: | REGRESSION |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=863623 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alex Efros
2022-08-26 07:55:30 UTC
After `chmod 04755 /opt/zoom/cef/chrome-sandbox` zoom has started. Is it required to make it SUID? If yes, then why ebuild didn't mention this? It still output errors related to pacmd. $ zoom sh: line 1: pactl: command not found Class App Lib Possible Culprit Flags resip::Connection 648 648 resip::Data 36 36 resip::DnsResult 1080 1080 resip::Headers 1 1 resip::MsgHeaderScanner 40 40 resip::SipMessage 5208 5208 resip::TransportSelector 864 864 resip::Tuple 128 128 resip::UdpTransport 1144 1144 resip::GenericIPAddress 28 28 zoom started. sh: line 1: pactl: command not found sh: line 1: pactl: command not found Class App Lib Possible Culprit Flags resip::Connection 648 648 resip::Data 36 36 resip::DnsResult 1080 1080 resip::Headers 1 1 resip::MsgHeaderScanner 40 40 resip::SipMessage 5208 5208 resip::TransportSelector 864 864 resip::Tuple 128 128 resip::UdpTransport 1144 1144 resip::GenericIPAddress 28 28 Class App Lib Possible Culprit Flags resip::Connection 648 648 resip::Data 36 36 resip::DnsResult 1080 1080 resip::Headers 1 1 resip::MsgHeaderScanner 40 40 resip::SipMessage 5208 5208 resip::TransportSelector 864 864 resip::Tuple 128 128 resip::UdpTransport 1144 1144 resip::GenericIPAddress 28 28 zoom started. zoom started. Client: Breakpad is using Single Client Mode! client fd = -1 sh: line 1: pactl: command not found [CZPClientLogMgr::LogClientEnvironment] [MacAddr: 1C:6F:65:C5:D6:D7][client: Linux][OS: Gentoo Linux x64][Hardware: CPU Core:12 Frenquency:3.7 G Memory size:32044MB CPU Brand:AMD Ryzen 9 5900X 12-Core Processor GPU Brand:][Req ID: ] sh: line 1: pactl: command not found Linux Client Version is 5.11.1 (3595) QSG_RENDER_LOOP is XDG_CURRENT_DESKTOP = ; GDMSESSION = ; XDG_SESSION_TYPE = x11 Graphics Card Info:: 0b:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] (rev a1) Zoom package arch is 64bit, runing OS arch is x86_64 AppIconMgr::systemDesktopName log Desktop Name: Class App Lib Possible Culprit Flags resip::Connection 648 648 resip::Data 36 36 resip::DnsResult 1080 1080 resip::Headers 1 1 resip::MsgHeaderScanner 40 40 resip::SipMessage 5208 5208 resip::TransportSelector 864 864 resip::Tuple 128 128 resip::UdpTransport 1144 1144 resip::GenericIPAddress 28 28 sh: line 1: pactl: command not found zoom started. Do you have CONFIG_USER_NS enabled on your kernel? It's needed for sandbox to work without SUID root. e.g. discord-bin has a CONFIG_CHECK for this, but this ebuild doesn't which it probably should fix If not that, USER_NS can be finicky in chroot if you're using that. # zgrep USER_NS /proc/config.gz CONFIG_USER_NS=y And no, I don't chroot zoom. Is this still an issue with zoom-5.11.9.4300? If yes, please report the problem upstream. This is a proprietary binary-only package, so there is little that we can do on the distro side. (In reply to Ulrich Müller from comment #5) > Is this still an issue with zoom-5.11.9.4300? If yes, please report the > problem upstream. Yes, this is still an issue with zoom-5.11.9.4300. > This is a proprietary binary-only package, so there is little that we can do > on the distro side. To me this sounds weird. If it were a bug in a Zoom app itself - you'll be right. But it's a Gentoo ebuild provide USE=-pulseaudio feature, so it's probably ebuild's responsibility to patch shell scripts starting Zoom to make sure they won't call pactl when this USE flag is disabled. And I suppose SUID issue is similar: ebuild should either mark it SUID (because it doesn't work otherwise) or at least output some warning message about how to make it work without SUID. Both issues unlikely can be solved upstream. (In reply to Alex Efros from comment #6) > But it's a Gentoo ebuild provide USE=-pulseaudio feature, so it's probably > ebuild's responsibility to patch shell scripts starting Zoom to make sure > they won't call pactl when this USE flag is disabled. Not going to happen. Report the problem upstream please. Also, looks like it is an upstream regression. Previous versions of zoom didn't have that problem. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d6c37fb8246955389f3c57544bebae341db8cbd commit 2d6c37fb8246955389f3c57544bebae341db8cbd Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2022-08-27 19:28:10 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2022-08-27 19:28:10 +0000 net-im/zoom: Check kernel configuration Bug: https://bugs.gentoo.org/866626#c2 Signed-off-by: Ulrich Müller <ulm@gentoo.org> net-im/zoom/zoom-5.11.9.4300-r2.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) > net-im/zoom: Check kernel configuration
FYI: I've all of these enabled, but it still doesn't work without SUID.
# zgrep USER_NS /proc/config.gz
CONFIG_USER_NS=y
# zgrep PID_NS /proc/config.gz
CONFIG_PID_NS=y
# zgrep NET_NS /proc/config.gz
CONFIG_NET_NS=y
# CONFIG_NET_NSH is not set
# zgrep SECCOMP_FILTER /proc/config.gz
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SECCOMP_FILTER=y
|