this post was submitted on 23 Oct 2023
63 points (88.0% liked)

Linux Gaming

15459 readers
129 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

Bottles and it's developers are very much in favour of upstream packaging and flatpaks especially after the situation they dealt with because of broken outdated packaging coming from Fedora Linux

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

For servers there’s Docker/Kubernetes/Podman, which is well-established and serves a similar purpose as Flatpak on the desktop

Originally, containerization was for security sandboxing, so if one service gets exploited, the attacker would only have access to the underprivileged container runtime, not the wider system, and simplifying deployment was a nice side-effect. I have serious concerns that the shift to containers means security updates will be applied less frequently because it needs to be done for a lot more services.

For example, the app I work on gets delayed security updates because we have to make similar changes for each of our microservices, which is a fair amount of effort and a relatively low-priority task. If we had a cluster of similarly-configured servers, it would be as simple as updating system libraries, but since everything is wrapped in a container, those each need to be rebuilt and redeployed. As it stands, our SW stack has a number of security advisories flagged by our container hosting service (none seem realistically exploitable), but they are still largely being ignored because of the amount of effort required to keep them updated.

Flatpak/containers are very similar to the old discussion around static vs dynamic linking, except there's a level of containerization to mitigate exploits escaping the sandbox.

Once I reinstall my home server, all its server software will be containerised

Same. However, that's because I care a bit more about ease of (re)deployment and less about exploits, because my home server isn't particularly critical, and certainly not a big target for attackers. I am more likely to migrate to new hardware than to need to pass a security audit.

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

@sugar_in_your_tea @fossisfun It's also just straight-up more daunting to update an application running inside a container, and a lot harder to troubleshoot when it goes wrong.

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

Yeah, I can see that, especially for an end-user. But as a developer deploying my code somewhere, it's not that much different, provided logging is configured.

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

The fact that apps can be deployed at different paces definitely is a real double edged sword. On one hand it prevent an app who prioritizes a fix low on the list from slowing down other apps on the same system, meaning everything should be able to update ASAP. It also means that the slower updating ones have less community/business pressure telling them to get fixed.