this post was submitted on 29 Jul 2023
86 points (90.6% liked)

Linux

45595 readers
641 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
 

Appimages, snaps and flatpaks, which one do you prefer and why?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 11 months ago (1 children)

none of them. I don't like the idea of putting security updates in the hands of the developers of each individual application I use.

Oh your app only works with an old broken insecure version of the library? Fuck you then, you can't just decide to install and use the insecure version.

[–] [email protected] 4 points 11 months ago (2 children)

Interesting idea, didn't think about this before. Still you could argue because of the sandboxed nature, those outdated libraries should'nt be much of a problem?

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

example, suppose there was a bug in openssl's prime number generation code. It will generate insecure keys.

No amount of sandboxing can help with that. The bug is discovered and the next day I run 'pacman -Syu' (I use arch, btw) and the problem is gone systemwide, except for any flatpaks or appimages etc. Those will only get updates (and stop leaking my data) if and only if its maintainer actually gives a fuck, is still alive and active. If not, you're sol

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

I am very certain the most appropriate person to update the software would be the developer itself. So when suddenly for flatpaks & co the responsibility of updating libraries is put on the flatpak package maintainer for ANYTHING used in that container... it doesn't sound optimal.

Still your example is a very edge-case scenario, because it would create a static vulnerability.

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

Containers are a form of static linking. just because they are different files inside the image, doesn't mean they're not effectively statically linked, if they can only be upgraded together

If I update my shared libraries, that application uses its own 'statically linked' libraries and doesn't pick up the changes. Exactly like what happens with a normal statically linked binary.

I avoid static linking like the plague.

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

sandboxing protects apps from each other. If there's a bug in some library that somehow leaks some security keys or something, sandboxing doesn't help.

[–] [email protected] 1 points 11 months ago

"leaks security keys of the app itself", it can't leak anything outside of the container?