Screenshot doesn’t even show half.
There are many reasons one could choose to hate Snap packages, and this not one of them. It’s like hating a webbrowser because it spawns 20 processes that (the horror) you would all see when you run
ps
. It’s just a part of how container technologies work.This is truly why I also hate snaps though. The
snapd
people and themount
people need to work out how to hide these by default.
This is an interesting way to show your fstab
😂
Ya, I think I goofed on my terminology XD
Try it in enterprise where you have automated systems that deploy alert sensors and they instantly go off because each mount is 100% full.
Pretty much every alerting system I know also has a filter option to only apply automated discovery rules to certain filesystem types.
But yes, most don’t first squashfs or mounted read-only snapshots by default and it sucks.
I think Snap has the potential to be better than Flatpak. It’s a real sandbox instead of the half-assed shit Flatpak has going on. The problem I have with Snap is that Canonical keeps the Server closed-source. I don’t want a centralized app store where Canonical can just choose to remove apps they don’t like. So as long as the Server is closed-source, I will stay on Flatpak
How is Snap’s sandbox better than Flatpak’s?
Removed by mod
That and these damn annoying loop devices.
Go restart your browser in the middle of the day because snap just updated it in the background.
I don’t know if sideloading snap apps is a thing, but it has been proven that creating a snap repo isn’t particularly difficult. Snap server being closed isn’t really an issue Imho.
You can create a snap store proxy, but that still has to register and pull from Canonical’s source.
Isn’t the issue that snap doesn’t even support third party repos to begin with? So you’d have to patch the client before you can even access any other servers. Unless they have fixed that in the meantime.
On the plus side, snaps also crap your system log full of petty little AppArmor events. And when snap gets its permissions wrong, you can easily fix it with SnapSeal.
(If Flatpak would just fucking stop rewriting every file path as /var/run/1000/blah, it would be the unquestionably superior package tech)
Friction between Snap and AppArmor is to be expected. The corporate sponsor of Snap, Canonical, is well known for their icy relationship with the corporate sponsor of AppArmor, Canonical.
As another commentor pointed out, you can just use flatseal to give the app full access to whatever dirs you need.
That’s why I moved to fedora recently…didn’t like to see 30 or so mounted filesystems every time I did an fdisk -l to mount some disk
Luckily Debian is upstream of Ubuntu.
Fedora is actually my main on my other machines. This is my server though. I’ve tried fedora server in the past, but it wasnt quite working for what I needed it for at the time. And now, I don’t have time to rebuild =\
Sure…I wouldnt choose fedora for a server…maybe RHEL…I chose debian for my home server…can’t go wrong with debian in the server 😅
Why would you server fedora when RHEL exists? Still, debian is prolly a better choice.
and why would you use rhel when you can have rocky :D
I’m not necessarily endorsing Fedora Server, but I’m running it on my Plex server since Fedora is the other distro officially supported by Plex (besides Ubuntu) and after I had some issues with Ubuntu Server + Plex I switched to it. Haven’t had any issues since.
@fernandu00 @terminhell I mean a simple grep to filter them out could have sufficed and then that could be aliased but yeah makes sense. Also zsys and their half assed ZFS integration made no sense.
You’re right… But I don’t have an ssd in my machine and didn’t want tons of mounted filesystems in my 10 year old machine…I’m far from an expert but seems to me that is simpler to have all my packages from dnf or apt …I’ve changed to fedora because dnf seemed better than apt resolving dependencies …not just because of the snap thing
deleted by creator
Leave ubuntu behind. Their snap fixation is toxic.
Switching to Gentoo has been the best. If I don’t want something I just blacklist it in my make.conf. getting errors from an odd package? Blacklist. Don’t want systemd or gnome software? Blacklist. It’s great. My shit runs insanely fast and my system only breaks when I explicitly do something stupid, and it’s usually just one minor adjustment away from getting fixed.
Sigh, I was a sysadmin on my own system from 1999-2008 and on a busy server from 2008-2012… then essentially quit. Now with flatpak and snaps it seems I have no idea what I am doing.
Flatpaks aren’t very relevant for servers if I am not wrong but Canonical definitely tties to push Snaps for that usecase, I feel like other container technologies like Docker or Podman are a lot more relevant in that context and containerization in general is really nice especially for server use and not that hard to wrap your head around! ;)
Yeah, that’s really what I haven’t used that seems significant these days - Docker. I used to use VMs a fair bit including the premade ones from MS for IE testing, which I think (?) are the same concept.
Well not really, Docker dose run another Linux system but on your actual hardware so you don’t have the overhead of emulation, it’s really cool for a lot of things!
Huh, okay. I thought it was a quick way to set up a VM - that’s how much I don’t know! I should probably look into it, thanks.
Docker requires management and some setup. A server snap just works, it’s updated automatically and rolls back when necessary.
It’s just a breeze. I use it for nextcloud and I’m safe for years with no maintenance from my side at all.
I won’t use it myself because I don’t think it’s a good idea to give Canonical or any other company that much power and don’t think it’s centralized nature should be how such package systems work but I don’t think it’s a bad system at all! The sandboxing has it’s hurtles but it’s really good and I am a huge fan of proper sandboxing so if it works for you it’s certainly a good option!
Auto updates are not an option for anything mission critical. Every update must be tested in isolation first or you might fuck things up beyond repair.
Updates are atomic and if something goes wrong it rolls back automatically
Not everything that goes wrong might be counted as wrong by the developers. Automatic updates is a no-no.
Don’t use it - vote with your feet :)
I take the unconditional and mandatory creation of
~/snap
as a middle finger to all users. Fuck snapdeleted by creator
deleted by creator
I haven’t used Ubuntu since the pre-snap era, but from discussions online I think that every program is stored in a different squashfs that is mounted at boot.
thats why i prefer/like flatpak
They also kill performance if you’re still using a hard drive as your system drive. I know we should all be using SSDs, it’s 2023, but sometimes it’s not always possible
Thankfully the OS/app drive is an SSD. The rest are spinners though. Just for low bandwidth storage.