this post was submitted on 11 Jan 2025
508 points (91.6% liked)

linuxmemes

21779 readers
1098 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 2 years ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] communist@lemmy.frozeninferno.xyz 3 points 1 day ago (1 children)

    Can you explain any of those things? I've never understood the appeal and was just kinda hoping they'd let snap die.

    [–] lengau@midwest.social 4 points 18 hours ago (2 children)

    Ubuntu Core works by having everything on the system, kernel included, be a snap. Or, as another way of describing the same thing, everything on the system is installed by mounting a squashfs image (which by its nature is read-only) and applying groups to the processes in those images. This applies all the way down to the level of the kernel, although a kernel snap, on install or upgrade, does write out to a boot partition.

    The net result is that you get many of the benefits of immutability, but also many of the benefits of traditional distros. For example, you can replace the kernel snap (and even build your own kernel snap if you choose) without replacing the rest of the base system, since the kernel is installed separately from the base. This is especially important for non-x86 systems that may need different (mutually incompatible) kernel builds for different SOCs, but even on x86 an example of replacing parts like that is NVIDIA drivers. But you don't need a separate version of cups just because you have an Nvidia GPU. And because cups is in its own snap, it's isolated too. You get the same benefits of confinement that applies to desktop apps, but for services, where it can be even stricter. After all, cups doesn't need to even know that you have a GPU, so an attack vector of hacking cups and then using it to attack your GPU gets foiled in a way that an immutable base with unconfined services doesn't.

    [–] Jesus_666@lemmy.world 3 points 10 hours ago (1 children)

    And that's one of the annoying things about snap: It's fundamentally a nice system with neat capabilities but it's spoiled by Canonical's proprietary backend.

    [–] lengau@midwest.social 2 points 8 hours ago

    There was an open backend for a while. A complete lack of interest killed it.

    [–] communist@lemmy.frozeninferno.xyz 1 points 10 hours ago (1 children)

    that is very interesting, however, why can't that be done wth flatpak?

    [–] lengau@midwest.social 1 points 7 hours ago (1 children)

    That's pretty fundamentally not how flatpak works. It could theoretically be modified to do all of that, but by that point you're recreating snapd and it would likely be easier and more straightforward to start with the current snapd and change what you dislike about it.

    the problem with snap is that it's proprietary, which really can't be changed, and while i'm sure it would be a lot of work, what kind of work would need to be done, is really what i'm curious about.