Sharing a 'small' inconvenience I had to fix with #opensuse #slowroll (I suspect #tumbleweed is the same) - I couldn't launch snaps (spotify, bitwarden) after update - error was: ` cannot
from thegreybeardofthetree@fosstodon.org to linux@lemmy.ml on 12 May 2024 01:45
https://fosstodon.org/users/thegreybeardofthetree/statuses/112425585909988835

@linux Sharing a ‘small’ inconvenience I had to fix with #opensuse #slowroll (I suspect #tumbleweed is the same) - I couldn’t launch snaps (spotify, bitwarden) after update - error was: cannot determine seccomp compiler version in generateSystemKey fork/exec /usr/lib/snapd/snap-seccomp: no such file or directory

The fix (I first tried re-installing, didn’t work) was to:
a. locate snap-seccomp - was in /usr/libexec/snapd
b. symlink: ln -s /usr/libexec/snapd /usr/lib/snapd

#linux #snap

#linux #opensuse #slowroll #snap #tumbleweed

threaded - newest

pastermil@sh.itjust.works on 12 May 2024 02:06 next collapse

Why not flatpak?

thegreybeardofthetree@fosstodon.org on 12 May 2024 02:17 collapse

@pastermil @linux I use both. There are packages where the website officially lists snap packages, no flatpaks.

Unless the project website has a link/install instruction recommending flatpak, I prefer either the distribution package where available, or snap otherwise - this is more from a supply-chain perspective - since snap requires the original developers of the package to package snaps.

If the developers have officially listed flatpak on their site, that however, is good enough for me.

pastermil@sh.itjust.works on 12 May 2024 03:24 collapse

I would take this with a grain of salt. For me, as long as the package is available and functional for my prefered installation method, I’d go with that.

Take cerbot for example. For some reason, the cerbot developers uses snap in their installation guide. I’ve been using apt on all my projects that requires https, both personal and professional (yes, I get paid to do this, among others). Never had any issue with it.

thegreybeardofthetree@fosstodon.org on 12 May 2024 03:48 collapse

@pastermil @linux the attack surface for something that isn't officially maintained by the developers, and that doesn't have more vetting (e.g. distribution packages) opens up room for malicious actors.

e.g. #arch / #aur recommends verifying scripts manually before installing, and malicious scripts have been found and removed.

There are actors like #jiatan out there. An unofficial #flatpak needs manual verification before install - that's why I just go with #snap if the flatpak isn't official

Bitrot@lemmy.sdf.org on 12 May 2024 03:55 next collapse

Are you sure snapcraft requires the original developer publish snaps? This seems unlikely, but they may have updated their policies.

Edit: they aren’t, Signal for example is an unofficial snap not published by the Signal developers but rather “snapcrafters” - snapcraft.io/signal-desktop. This is very similar to how Flathub handles unofficial packages, except Flathub seems to have more gatekeeping (Snapcrafters doesn’t allow just anyone, but you don’t have to be part of that group to publish).

Snapcraft has hosted multiple malicious applications, so I wouldn’t exactly call it a safe place either.

thegreybeardofthetree@fosstodon.org on 12 May 2024 04:05 collapse

@Bitrot @linux interesting, thank you for that information: I had been under the impression they did do manual verification of authors.

I did some checking: the closest I found to verification was this (so you're right- no need to be the original author, but a bit of vetting does seem involved).

https://forum.snapcraft.io/t/manual-review-of-all-new-snap-name-registrations/39440

My takeaway here is to use whatever the software authors recommend ( on their website.. assuming trusted authors)!

pastermil@sh.itjust.works on 12 May 2024 04:43 next collapse

the attack surface for something that isn’t officially maintained by the developers, and that doesn’t have more vetting (e.g. distribution packages) opens up room for malicious actors.

There are actors like #jiatan out there.

Funny that Jia Tan was an official maintainer of xz until he was found to be problematic.

Speaking of verifying, you know you can’t really verify anything on the snap server since they’re proprietary, right? On the contrary everything on flathub is laid to bare for anyone to look at.

In the end, you’re free to choose. Since you’ve kindly provided your argument, I’ve provided mine in hope you’d reconsider.

alxlg@mastodon.social on 12 May 2024 08:47 collapse

@thegreybeardofthetree @pastermil @linux

FYI FlatHub uses GitHub Actions, you can check how they build their apps and some of them support reproducible builds, just in case you want to verify GitHub isn't acting maliciously.

FlatHub and AUR can't really be compared in terms of security. Flatpak apps also don't modify the host OS, while AUR packages can.

Personally, I only trust distro packages and FlatHub.

ryannathans@aussie.zone on 12 May 2024 06:45 next collapse

Not being able to launch snaps seems like a good feature

Vendetta9076@sh.itjust.works on 12 May 2024 09:00 next collapse

But snap is cringe

bravemonkey@lemmy.ca on 12 May 2024 15:27 collapse

This is why I prefer using Distrobox on my personal computer. No package for Signal-Desktop? No problem, run it through a Debian container using Distrobox.