!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

545 Members
About system administration for running NixOS systems in production. Declaratively manage your operations. | Room recommendations: #networking:nixos.org145 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
15 Mar 2025
@hurdpublic:pub.solar@hurdpublic:pub.solar left the room.04:11:21
@rasmus:fricloud.dk@rasmus:fricloud.dk joined the room.13:02:55
@agausmann:matrix.orgagausmann joined the room.22:42:54
16 Mar 2025
@super_fluffy:matrix.orgsuper_fluffy joined the room.10:19:31
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their display name from This Federico Damián is licensed under the terms of the he/him or they/them pronouns, at your choice to This LEGO® Worm™ is licensed under the terms of the he/him or they/them pronouns, at your choice.15:12:04
@rattboi24:matrix.orgrattboi joined the room.21:25:59
18 Mar 2025
@schromp:echsen.clubSchromp joined the room.15:56:45
19 Mar 2025
@steveej0:matrix.orgsteveejis anyone here interested in rootless nixos-containers?10:04:27
@elvishjerricco:matrix.orgElvishJerricco steveej: I definitely would be 10:05:26
@elvishjerricco:matrix.orgElvishJerricco

oh, wait a sec, from systemd-nspawn's man page section on unprivileged operation:

Only disk image based containers are supported (i.e. --image=). Directory based ones (i.e. --directory=) are not supported.

When running in unprivileged mode, some needed functionality is provided via systemd-mountfsd.service(8) and systemd-nsresourced.service(8).

that sucks

10:07:20
@elvishjerricco:matrix.orgElvishJerriccoand it's really weird because you wouldn't need mountfsd (and the authentication craziness it entails) if you did directory based containers10:10:22
@steveej0:matrix.orgsteveejmaybe the systemd folks are open to implementing the gap. i'd be surprised as there doesn't seem to be much demand for systemd-nspawn in general10:14:53
@elvishjerricco:matrix.orgElvishJerriccosystemd-nspawn and systemd-vmspawn were designed first and foremost as tools to test an OS with, not so much a proper containerization / virtualization framework10:16:16
@elvishjerricco:matrix.orgElvishJerriccoof course nspawn has evolved a lot since10:16:37
@elvishjerricco:matrix.orgElvishJerricco But yea I don't really understand why directory based nspawn isn't possible unprivileged. That really does seem like the easier thing to do unprivileged 10:17:46
@elvishjerricco:matrix.orgElvishJerriccoso I bet it just wasn't the priority of whoever implemented unprivileged operation so they didn't do it10:18:08
@magic_rb:matrix.redalder.orgmagic_rbWouldnt it be better to just use runc for this? I do use nspawn but like, runc exists10:18:48
@elvishjerricco:matrix.orgElvishJerriccowell, if you wanna rewrite the nixos containers system with runc then be my guest :)10:19:42
@magic_rb:matrix.redalder.orgmagic_rb:) might try tbh, when i finish my bachelor. I do kind of want a better system which would be declarative but not really. (Split the eval into parts but make sure everything updates in tandem)10:20:46
@steveej0:matrix.orgsteveeji'm up for integrating a rust-based container runtime with nixos-containers, just in case i had to change something about it.10:21:14

Show newer messages


Back to Room ListRoom Version: 10