this post was submitted on 30 Sep 2023
217 points (99.5% liked)

Linux

48008 readers
931 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] enkille 99 points 1 year ago (2 children)

Hopefully both of the people using snaps can recover from this.

[–] [email protected] 32 points 1 year ago (1 children)

Canonical make it hard not to use snaps so only those who took extra steps are not using them.

[–] [email protected] 35 points 1 year ago (3 children)

For a while now the best way to experience Ubuntu is by using something based on it.

[–] [email protected] 27 points 1 year ago (2 children)

Linux Mint is amazing if you want Ubuntu with less bad choices.

[–] [email protected] 15 points 1 year ago

Pop!_OS is another great alternative!

[–] [email protected] 5 points 1 year ago

Reminds me to donate, been a while since I last did that. Thanks.

[–] [email protected] 15 points 1 year ago

Why downstream when you can go upstream?

[–] [email protected] 11 points 1 year ago (1 children)

Sadly that is not true, see snap vs flatpak usage in debian.

Keep criticizing snap (But do it in a way that is trustworthy and valuable), if somebody wants to use snap due to some advantage that is fine but he should make an informed decision

[–] [email protected] 70 points 1 year ago* (last edited 1 year ago) (4 children)

Good thing I can just install applications from apt instead...

user@pc:~$: sudo apt install app
The following additional packages will be installed:
    snapd

....oh.

[–] danielfgom 23 points 1 year ago (2 children)

This. This is what really pissed me off about Ubuntu. I even uninstalled (or thought I did) the entire snapd system. But then I went to install something and.....it reinstalled snapd. 🤦

So I moved to Linux Mint which was an excellent experience. And just the other day I replaced that with LMDE 6 (Linux Mint Debian Edition) and I couldn't be happier.

It's the ideal distro for anyone who wants apt but not Ubuntu and doesn't want the pain of manually installing Debian.

[–] [email protected] 2 points 1 year ago (1 children)

I did a debian install this weekend, and it seemed pretty mild. It asked if I wanted separate partitions for /tmp and /home and if I wanted to encrypt my lvm. Then I chose my desktop environment from a list and that was it. It even installed grub for me.

load more comments (1 replies)
[–] MyCodeZero 1 points 1 year ago (1 children)
[–] danielfgom 5 points 1 year ago (2 children)

No way. That's another Corporation backed distro. Most of the Devs are also Red Hat employees

[–] MyCodeZero 4 points 1 year ago

DNF is pretty good, snap i wouldn't touch with a 100 meter pole

[–] [email protected] 4 points 1 year ago

That might not be true any more. Red Hat has made some interesting decisions lately.

[–] [email protected] 11 points 1 year ago* (last edited 1 year ago) (1 children)

The reason why I'll switch to Debian soon.

[–] [email protected] 3 points 1 year ago

IMO Linux Mint is a great replacement, too, although it does not come with the default-Gnome desktop layout

[–] [email protected] 10 points 1 year ago (1 children)

Yea, not with firefox, at least not without switching to some third party repo.

[–] MasterBlaster 12 points 1 year ago (4 children)

I use the ppa because the snap version does not let me use the keypass XC Plug-In or my VPN plug in.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I have the issue that the snap version can't browse files whose path includes a hidden dot file/directory in my home directory. It doesn't seem there's any clean way for me say "no, I give you explicit permission to read these files." My workaround was to sudo mount --bind ~/.foo ~/bar and then browse from ~/bar instead. I'm not sure what they think they were preventing me from doing but they failed.

load more comments (3 replies)
[–] [email protected] 5 points 1 year ago (1 children)

Canonical's changes to apt could be considered malicious in and of themselves because it installs from a source you didn't request for, sure seems malicious to me.

[–] [email protected] 6 points 1 year ago

Agreed. Switching out .deb packages in the package manager for snap stubs was a bridge too far, and I went back to Debian.

[–] [email protected] 50 points 1 year ago (1 children)

This is the major reason why maintainers matter. Any method of software distribution that removes the maintainer is absolutely guaranteed to have malware. (Or if you don't consider 99% software on Google Play Store the App Store to be "malware", it's at the very least hostile to and exploitative of users). We need package maintainers.

[–] [email protected] 14 points 1 year ago

The root of the problem i think is that the store is closed source, i don't think you will find a lot of people willing to work for a closed source store for some for profit company.

[–] inspxtr 33 points 1 year ago (3 children)

As much as I despise snap, this instance bring some questions into how other popular cross-linux platform app stores like flathub and nix-channels/packages provide guardrails against malwares.

I’m aware flathub has a “verified” checks for packages from the same maintainers/developers, but I’m unsure about nix-channels. Even then, flathub packages are not reviewed by anyone, are they?

[–] [email protected] 14 points 1 year ago* (last edited 1 year ago) (1 children)

Nixpkgs submissions work through GitHub PRs which have to be reviewed, and packages usually build from source (or download binaries from the official site if no source is available, and verifying it against a checksum). It’s a much safer model since every user has a reproducible script to build the binary, especially if Flathub doesn’t have any reviews as you say.

[–] [email protected] 4 points 1 year ago

Same as flatpak, it's quite strict...

[–] [email protected] 2 points 1 year ago

Wouldn't it go noticed quickly if a super popular flatpak distribution app is compromised? I love flatpacks for my 5 desktop apps that I actually use everyday, but it is definitely not suitable for general apps I install on a whim.

[–] [email protected] 30 points 1 year ago (2 children)

As a snap package maintainer i find it weird that there weren't any guardrails in place to avoid situations like this, considering that the main snap consumer are Ubuntu users and Ubuntu is from canonical.

I guess I should've set my expectations a bit lower

[–] [email protected] 7 points 1 year ago (1 children)

I've been... baffled... that all of Canonical's different products don't work better together.

[–] [email protected] 3 points 1 year ago

It's not that they don't work better in conjunction, it's canonical's lack of moderation in the snapcraft store.

This could've avoided day one by adding a manual review process (like what they are temporarily doing right now)

I don't know how flathub handles new package submissions, but I think that they definitely need to have a process similar to what other distros have in place for native packages (heck, even Ubuntu's own repos have a review process)

[–] [email protected] 4 points 1 year ago (2 children)

you confuse canonical with fedora or rhel standard... which... is sad... but at least flatpak is the savior in the end. haha..

[–] [email protected] 9 points 1 year ago

Red Had has 20x the employees as Canonical, I hope their product is better

[–] [email protected] 3 points 1 year ago

Yeah, my bad 😅

I've forgotten that Canonical is not like Fedora or Red Hat

...but at least flatpak is the savior in the end.

Flatpak definitely has a potential, I use them daily. Haven't had any issues so far

[–] GustavoM 17 points 1 year ago (1 children)

What do we learned today, kids?

No user control = more malicious possibilities of infecting/screwing up your PC.

load more comments (1 replies)
[–] [email protected] 17 points 1 year ago

Wooow Ubuntu didnt expect that huh...

Having a proprietary store ran by a single Company has nothing to do with Linuxes security model

[–] [email protected] 16 points 1 year ago (3 children)

This is the best summary I could come up with:


Stemming from reports of several fake crypto apps appearing in Canonical's Snap Store that aimed to steal user funds, temporary restrictions have been put in place while Canonical investigates the security matter.

A temporary manual review requirement has also been put in place on new Snap registrations.

This manual review is intended to thwart bad actors from registering names of legitimate applications (or at least legitimate sounding names) and using that as an avenue for pushing malicious Snaps to users.

"If you try to register a new snap while the requirement is active, you will be prompted to “request reserved name”.

Upon a successful manual review from the Snap Store staff, the name will be registered.

We want to thoroughly investigate this incident without introducing any noise into the system, and more importantly, we want to make sure our users have a safe and trusted experience with the Snap Store.


The original article contains 240 words, the summary contains 150 words. Saved 38%. I'm a bot and I'm open source!

load more comments (3 replies)
[–] danielfgom 13 points 1 year ago (3 children)

I wonder if there is a way to spot this, even when vetting an app? Do the Maintainers of most distros manually read the code to discover whether an app is malware? Or do they have automated tools like opensuse's testing tools which can detect malware. (Not sure if opensuse's tool can test for malware or only app functionality).

Either way we need to have an automated programme that can checks all apps. It's simply too much for humans given the massive number of apps, libraries etc.

[–] Aux 8 points 1 year ago

No one is really doing anything. Repos have been poisoned multiple times over the decades, even original source code repos of big projects have been poisoned. If you don't check the end binary on your system yourself, you're at risk.

[–] [email protected] 5 points 1 year ago

It's pretty easy, you make sure the manifest is referencing the upstream project

[–] [email protected] 10 points 1 year ago* (last edited 1 year ago)

When will we learn? (Drew DeVault, May 2022)

This isn't even the first such incident with snap. https://github.com/canonical/snapcraft.io/issues/651

[–] sronweb 8 points 1 year ago

And from "Ubuntu Software" I don't see a way to report a suspected app.

[–] [email protected] 8 points 1 year ago
[–] [email protected] 6 points 1 year ago

Ah hahaha! Take that Canonical and your stupid snap store!

load more comments
view more: next ›