226
submitted 9 months ago by mr_MADAFAKA@lemmy.ml to c/linux@lemmy.ml
top 50 comments
sorted by: hot top controversial new old
[-] enkille@lemmy.world 95 points 9 months ago

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

[-] manpacket@lemmyrs.org 32 points 9 months ago

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

[-] rikudou@lemmings.world 35 points 9 months ago

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

[-] Contort3860@links.hackliberty.org 27 points 9 months ago

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

[-] HERRAX@sopuli.xyz 15 points 9 months ago

Pop!_OS is another great alternative!

[-] Caravaggio@feddit.nl 5 points 9 months ago

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

[-] caseyweederman@lemmy.ca 15 points 9 months ago

Why downstream when you can go upstream?

[-] wiki_me@lemmy.ml 11 points 9 months ago

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

load more comments (1 replies)
[-] ptz@dubvee.org 73 points 9 months ago* (last edited 9 months ago)

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@lemmy.world 23 points 9 months ago

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.

[-] tallricefarmer@sopuli.xyz 2 points 9 months ago

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)
load more comments (4 replies)
[-] Lemmchen@feddit.de 11 points 9 months ago* (last edited 9 months ago)

The reason why I'll switch to Debian soon.

[-] lord_ryvan@ttrpg.network 4 points 9 months ago

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

[-] pbjamm@beehaw.org 2 points 9 months ago

I always find myself going back to Mint.

[-] lord_ryvan@ttrpg.network 2 points 9 months ago* (last edited 9 months ago)

Same, I feel at home in the Cinnamon DE and no matter how tech savvy I am, the GUI software installer is so much more convenient than using the terminal

[-] manpacket@lemmyrs.org 10 points 9 months ago

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

[-] MasterBlaster@lemmy.world 10 points 9 months ago

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

[-] eah@kbin.social 2 points 9 months ago* (last edited 9 months 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)
[-] Draconic_NEO@lemmy.dbzer0.com 5 points 9 months ago

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.

[-] ptz@dubvee.org 5 points 9 months ago

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

[-] duncesplayed@lemmy.one 51 points 9 months ago

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.

[-] wiki_me@lemmy.ml 14 points 9 months 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@lemmy.world 31 points 9 months ago

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?

[-] 2xsaiko@discuss.tchncs.de 14 points 9 months ago* (last edited 9 months ago)

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.

[-] garam@lemmy.my.id 4 points 9 months ago

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

[-] rush@lemm.ee 2 points 9 months ago

If you want your Flatpak on Flathub.org, you'll need to open a pull request and go through review.

[-] spark947@lemm.ee 2 points 9 months 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.

[-] amycatgirl@lemmy.blahaj.zone 30 points 9 months ago

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

[-] caseyweederman@lemmy.ca 8 points 9 months ago

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

[-] amycatgirl@lemmy.blahaj.zone 3 points 9 months 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)

[-] garam@lemmy.my.id 4 points 9 months ago

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

[-] OsrsNeedsF2P@lemmy.ml 9 points 9 months ago

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

[-] amycatgirl@lemmy.blahaj.zone 3 points 9 months 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

[-] Pantherina@feddit.de 18 points 9 months ago

Wooow Ubuntu didnt expect that huh...

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

[-] GustavoM@lemmy.world 17 points 9 months ago

What do we learned today, kids?

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

load more comments (1 replies)
[-] autotldr@lemmings.world 15 points 9 months ago

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@lemmy.world 12 points 9 months ago

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@lemmy.world 8 points 9 months 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.

[-] lloram239@feddit.de 6 points 9 months ago* (last edited 9 months ago)

Do the Maintainers of most distros manually read the code to discover whether an app is malware?

No. At best you get a casual glance over the source code and at worst they won't even test that the app works. It's all held together with spit and baling wire, if an malicious entity wanted to do some damage, they could do so quite easily, it just would require some preparation.

The main benefit of classic package maintenance is really just time, as it can take months or even years before a package arrives in a distribution, and even once arrived, it has to still make it from unstable to stable, leaving plenty of room for somebody to find the issue before it even comes to packaging and making it substantially less attractive for any attacker, as they won't get any results for months.

[-] danielfgom@lemmy.world 2 points 9 months ago

Ok makes sense. Thank you for explaining that 👍

[-] OsrsNeedsF2P@lemmy.ml 5 points 9 months ago

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

[-] beyond@linkage.ds8.zone 10 points 9 months ago* (last edited 9 months 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

[-] HafizMuhammad@mastodon.social 8 points 9 months ago
[-] sronweb@lemmy.world 8 points 9 months ago

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

[-] PseudoSpock@lemmy.dbzer0.com 6 points 9 months ago

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

load more comments
view more: next ›
this post was submitted on 30 Sep 2023
226 points (99.6% liked)

Linux

45443 readers
1048 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