Zoom failing to install on Tuxedo OS 3 (Ubuntu 22.04)

> sudo snap install zoom-client 
error: cannot perform the following tasks:
- Run configure hook of "zoom-client" snap if present (run hook "configure": 
-----
/usr/share/fonts: caching, new cache contents: 0 fonts, 6 dirs
/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 3 dirs
/usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, new cache contents: 89 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cMap: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/opentype: caching, new cache contents: 0 fonts, 2 dirs
/usr/share/fonts/opentype/noto: caching, new cache contents: 30 fonts, 0 dirs
/usr/share/fonts/opentype/urw-base35: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/truetype: caching, new cache contents: 1 fonts, 18 dirs
/usr/share/fonts/truetype/Metropolis: caching, new cache contents: 5 fonts, 0 dirs
/usr/share/fonts/truetype/dejavu: caching, new cache contents: 22 fonts, 0 dirs
/usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/hack: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/kacst: caching, new cache contents: 15 fonts, 0 dirs
/usr/share/fonts/truetype/kacst-one: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/lao: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lato: caching, new cache contents: 18 fonts, 0 dirs
/usr/share/fonts/truetype/liberation: caching, new cache contents: 16 fonts, 0 dirs
/usr/share/fonts/truetype/liberation2: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/libreoffice: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs
/usr/share/fonts/truetype/noto: caching, new cache contents: 308 fonts, 0 dirs
/usr/share/fonts/truetype/open-sans: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-khmeros-core: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/ubuntu: caching, new cache contents: 14 fonts, 0 dirs
/usr/share/fonts/truetype/ubuntu-title: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/vlgothic: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/type1: caching, new cache contents: 0 fonts, 2 dirs
/usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/type1/urw-base35: caching, new cache contents: 35 fonts, 0 dirs
/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11: skipping, looped directory detected
/usr/share/fonts/cMap: skipping, looped directory detected
/usr/share/fonts/cmap: skipping, looped directory detected
/usr/share/fonts/opentype: skipping, looped directory detected
/usr/share/fonts/truetype: skipping, looped directory detected
/usr/share/fonts/type1: skipping, looped directory detected
/usr/share/fonts/X11/encodings: skipping, looped directory detected
/usr/share/fonts/X11/misc: skipping, looped directory detected
/usr/share/fonts/X11/util: skipping, looped directory detected
/usr/share/fonts/opentype/noto: skipping, looped directory detected
/usr/share/fonts/opentype/urw-base35: skipping, looped directory detected
/usr/share/fonts/truetype/Metropolis: skipping, looped directory detected
/usr/share/fonts/truetype/dejavu: skipping, looped directory detected
/usr/share/fonts/truetype/freefont: skipping, looped directory detected
/usr/share/fonts/truetype/hack: skipping, looped directory detected
/usr/share/fonts/truetype/kacst: skipping, looped directory detected
/usr/share/fonts/truetype/kacst-one: skipping, looped directory detected
/usr/share/fonts/truetype/lao: skipping, looped directory detected
/usr/share/fonts/truetype/lato: skipping, looped directory detected
/usr/share/fonts/truetype/liberation: skipping, looped directory detected
/usr/share/fonts/truetype/liberation2: skipping, looped directory detected
/usr/share/fonts/truetype/libreoffice: skipping, looped directory detected
/usr/share/fonts/truetype/msttcorefonts: skipping, looped directory detected
/usr/share/fonts/truetype/noto: skipping, looped directory detected
/usr/share/fonts/truetype/open-sans: skipping, looped directory detected
/usr/share/fonts/truetype/ttf-khmeros-core: skipping, looped directory detected
/usr/share/fonts/truetype/ubuntu: skipping, looped directory detected
/usr/share/fonts/truetype/ubuntu-title: skipping, looped directory detected
/usr/share/fonts/truetype/vlgothic: skipping, looped directory detected
/usr/share/fonts/type1/gsfonts: skipping, looped directory detected
/usr/share/fonts/type1/urw-base35: skipping, looped directory detected
/usr/share/fonts/X11/encodings/large: skipping, looped directory detected
/var/snap/zoom-client/common/fontconfig: cleaning cache directory
/var/cache/fontconfig: not cleaning unwritable cache directory
/snap/zoom-client/228/gnome-platform/usr/bin/fc-cache: succeeded
cp: cannot open '/var/lib/snapd/hostfs/usr/lib/os-release' for reading: Permission denied

> sudo ls /var/lib/snapd/hostfs/usr/lib/os-release
ls: cannot access '/var/lib/snapd/hostfs/usr/lib/os-release': No such file or directory

> snap --version
snap    2.63
snapd   2.63
series  16
tuxedo  22.04
kernel  6.5.0-10040-tuxedo

Any ideas?

cc @ogra

He is the maintainer of zoom

Run the following on the host: ls -l /etc/os-release /usr/lib/os-release and paste the output.

>  ls -l /etc/os-release /usr/lib/os-release
lrwxrwxrwx 1 root root 21 Feb 24 15:32 /etc/os-release -> ../usr/lib/os-release
lrwxrwxrwx 1 root root 26 Mar 19 10:01 /usr/lib/os-release -> ../share/tuxedo/os-release

Well that won’t work then. os-release is supposed to be a file under /usr/lib/os-release and /etc/os-release is a symlink to that file. Since the locations are known and fixed sandbox allows reading both. /usr/share/tuxedo/os-release is unexpected and accessing it won’t be possible within the sandbox.

Why zoom cares about the content of os-release is another question though that I do not know an answer to.

Zoom uses that info (falsely) to determine if the distro runs wayland, so it can take a different code path for screen sharing… (it is quite a bad implementation, but well, it is closed source, not much i can do about it on the packaging side)

Any suggestions on a solution for my issue?

Not recommended, but change the /usr/lib/os-release to /usr/lib/os-release.bak and copy the /usr/share/tuxedo/os-release to /usr/lib/os-release, thus it’ll become a real file

And maybe file a bug for the maintainers to implement the fix in the distro.

2 Likes

I think apparmor should allow to read files where the symlink of it is allowed

LOL they’ll just say to use the Flatpak version :smiley:

Heh, this is funny, given the flatpak version is actually a re-pack of my snap but with all confinement and most security bits dropped …

(Unless that recently changed)

1 Like

seems like they won’t fix it

one of the main features of TUXEDO OS is to not support Snap at all.

Oh my…

Comment was updated

one of the main features of TUXEDO OS is to not support Snap at all. Thanks for noticing the issue with the release file, we will look into it.

Quick damage control, eh?

I get why they removed Snap by default, but I’m glad they decided not to be overly hostile about it.

I willingly unblocked mine :slight_smile: