!UUqahLbShAYkkrXmKs:matrix.org

DevOS

35 Members
Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga10 Servers

Load older messages


SenderMessageTime
15 Oct 2021
@timdeh:matrix.org@timdeh:matrix.org Maybe, or maybe this project was abandoned 3 years ago for a reason? 😅 20:56:15
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @timdeh:matrix.org
It is at risk of being horribly outdated though it seems
I assume because a better solution exists, already.
20:56:21
@timdeh:matrix.org@timdeh:matrix.orgI hope you are right20:56:31
@timdeh:matrix.org@timdeh:matrix.org🤞20:56:35
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @timdeh:matrix.org
Maybe, or maybe this project was abandoned 3 years ago for a reason? 😅
I think it was attempted for a reason. :sm
20:57:21
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @timdeh:matrix.org
Maybe, or maybe this project was abandoned 3 years ago for a reason? 😅
* I think it was attempted for a reason. :smile:
20:57:27
@timdeh:matrix.org@timdeh:matrix.orgOh yeah definitely20:57:43
@timdeh:matrix.org@timdeh:matrix.orgI would love it if NixOS containers were OCI compliant, for obvious, work reasons 😛 And I'm sure I'm not the only one. 20:58:11
@blaggacao:matrix.orgDavid Arnold (blaggacao)Doesn't seem too outdated: https://github.com/projectatomic/oci-systemd-hook/releases/tag/v0.2.021:00:16
@timdeh:matrix.org@timdeh:matrix.orgThere have been 6 or 7 systemd releases since then though, and given how little they seem to care for backwards compat at times, that may be an issue21:02:52
@blaggacao:matrix.orgDavid Arnold (blaggacao)What's the benefit of using nixos containers then, at all?21:03:27
@timdeh:matrix.org@timdeh:matrix.orgisolation I guess?21:03:42
@timdeh:matrix.org@timdeh:matrix.orgfalse sense of security maybe 😛21:03:51
@blaggacao:matrix.orgDavid Arnold (blaggacao)OCI containers have isolation, too.21:03:54
@blaggacao:matrix.orgDavid Arnold (blaggacao)so the only delta is systemd.21:04:02
@blaggacao:matrix.orgDavid Arnold (blaggacao)which nobody needs or wants when running containers.21:04:12
@timdeh:matrix.org@timdeh:matrix.orgyeah exactly, but if you don't want to resuse the NixOS module ecosystem, then you really don't have to care too much21:04:38
@timdeh:matrix.org@timdeh:matrix.orgIt's only if you do21:04:43
@blaggacao:matrix.orgDavid Arnold (blaggacao)yeah, the nix-os module system's config database.21:05:29
@blaggacao:matrix.orgDavid Arnold (blaggacao)Otoh, a container would typically run only a binary...21:05:57
@blaggacao:matrix.orgDavid Arnold (blaggacao)or translated to the nixos module system: each systemd unit would sit in it's own container.21:06:30
@blaggacao:matrix.orgDavid Arnold (blaggacao)So the interop of services is even up to the operator if nixos modules are used to run those services as containers...21:07:25
@kraftnix:matrix.org@kraftnix:matrix.org it does some isolation, but isolation is not considered to be for security (at least according to the notes of the old nixos-containers) 21:07:30
@kraftnix:matrix.org@kraftnix:matrix.orgfor me it's that my nspawn containers are just mini nixos' and i can redeploy a basically identical config to bare metal. while in containers i can control inter-container networking + outside networking more than just running as regular processes on a single nixos box.21:07:30
@blaggacao:matrix.orgDavid Arnold (blaggacao)Yeah, I think they make great sense if the goal is to run a NixOs system as container.21:08:05
@timdeh:matrix.org@timdeh:matrix.org Maybe we could do it the other way around? Figure out a way to wrap any ExecStart binary from a systemd service in an OCI container. Although that may not be much simpler 21:09:01
@kraftnix:matrix.org@kraftnix:matrix.orgthe security aspect is why i'm looking into firecracker/cloud-hypervisor microvms, with nspawn you are really relying on systemd security for container workloads :/21:10:20
@kraftnix:matrix.org@kraftnix:matrix.org
In reply to @timdeh:matrix.org
Maybe we could do it the other way around? Figure out a way to wrap any ExecStart binary from a systemd service in an OCI container. Although that may not be much simpler
so many modules use systemd specific notation in those ExecStarts + scripts
21:10:53
@timdeh:matrix.org@timdeh:matrix.orgyeah, it might be even more complicated actually 😅21:11:23
@kraftnix:matrix.org@kraftnix:matrix.orgsystemd is so embedded into nixos, it very possibly might be the most systemd integrated os?21:11:58

Show newer messages


Back to Room ListRoom Version: 6